diff --git a/DESCRIPTION b/DESCRIPTION index 721a589a..ccbf6dc3 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: sdtm.oak Type: Package Title: SDTM Data Transformation Engine -Version: 0.0.0.9003 +Version: 0.0.0.9004 Authors@R: c( person("Rammprasad", "Ganapathy", role = c("aut", "cre"), email = "ganapathy.rammprasad@gene.com"), diff --git a/NAMESPACE b/NAMESPACE index 41e0d4cd..e627383e 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -9,13 +9,17 @@ export(create_iso8601) export(ct_map) export(ct_spec_example) export(ct_spec_vars) +export(derive_seq) export(derive_study_day) +export(domain_example) export(fmt_cmp) export(hardcode_ct) export(hardcode_no_ct) export(problems) export(read_ct_spec) export(read_ct_spec_example) +export(read_domain_example) +export(sbj_vars) importFrom(rlang,"%||%") importFrom(rlang,":=") importFrom(rlang,.data) diff --git a/NEWS.md b/NEWS.md index 8db329a1..6e33105a 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,9 @@ +# sdtm.oak 0.0.0.9004 (development version) + +## New Features + +* New function: `derive_seq()` for deriving a sequence number variable. + # sdtm.oak 0.0.0.9003 (development version) ## New Features diff --git a/R/derive_seq.R b/R/derive_seq.R new file mode 100644 index 00000000..2cd17078 --- /dev/null +++ b/R/derive_seq.R @@ -0,0 +1,97 @@ +#' Derive the sequence number (`--SEQ`) variable +#' +#' @description +#' [derive_seq()] creates a new identifier variable: the sequence number +#' (`--SEQ`). +#' +#' This function adds a newly derived variable to `tgt_dat`, namely the sequence +#' number (`--SEQ`) whose name is the one provided in `tgt_var`. An integer +#' sequence is generated that uniquely identifies each record within the domain. +#' +#' Prior to the derivation of `tgt_var`, the data frame `tgt_dat` is sorted +#' according to grouping variables indicated in `rec_vars`. +#' +#' @param tgt_dat The target dataset, a data frame. +#' @param tgt_var The target SDTM variable: a single string indicating the name +#' of the sequence number (`--SEQ`) variable, e.g. `"DSSEQ"`. Note that +#' supplying a name not ending in `"SEQ"` will raise a warning. +#' @param rec_vars A character vector of record-level identifier variables. +#' @param sbj_vars A character vector of subject-level identifier variables. +#' @param start_at The sequence numbering starts at this value (default is `1`). +#' +#' @returns Returns the data frame supplied in `tgt_dat` with the newly derived +#' variable, i.e. the sequence number (`--SEQ`), whose name is that passed in +#' `tgt_var`. This variable is of type integer. +#' +#' @examples +#' # A VS raw data set example +#' (vs <- read_domain_example("vs")) +#' +#' # Derivation of VSSEQ +#' rec_vars <- c("STUDYID", "USUBJID", "VSTESTCD", "VSDTC", "VSTPTNUM") +#' derive_seq(tgt_dat = vs, tgt_var = "VSSEQ", rec_vars = rec_vars) +#' +#' # An APSC raw data set example +#' (apsc <- read_domain_example("apsc")) +#' +#' # Derivation of APSEQ +#' derive_seq( +#' tgt_dat = apsc, +#' tgt_var = "APSEQ", +#' rec_vars = c("STUDYID", "RSUBJID", "SCTESTCD"), +#' sbj_vars = c("STUDYID", "RSUBJID") +#' ) +#' @export +derive_seq <- + function(tgt_dat, + tgt_var, + rec_vars, + sbj_vars = sdtm.oak::sbj_vars(), + start_at = 1L) { + admiraldev::assert_character_scalar(tgt_var) + if (!is_seq_name(tgt_var)) { + rlang::warn("Target variable name (`tgt_var`) should end in 'SEQ'.") + } + + admiraldev::assert_character_vector(rec_vars) + admiraldev::assert_character_vector(sbj_vars) + admiraldev::assert_data_frame(tgt_dat, + required_vars = rlang::syms(rec_vars), + optional = FALSE + ) + + admiraldev::assert_integer_scalar(start_at, subset = "non-negative") + + tgt_dat |> + # Ensure that no prior grouping exists that alters ordering and new + # grouping. + dplyr::ungroup() |> + dplyr::arrange(dplyr::across(.cols = dplyr::all_of(rec_vars))) |> + dplyr::group_by(dplyr::across(dplyr::all_of(sbj_vars))) |> + dplyr::mutate("{tgt_var}" := dplyr::row_number() + start_at - 1L) |> # nolint object_name_linter() + dplyr::ungroup() + } + +#' Is it a --SEQ variable name +#' +#' [is_seq_name()] returns which variable names end in `"SEQ"`. +#' +#' @param x A character vector. +#' +#' @returns A logical vector. +#' +#' @examples +#' # A valid SEQ name. +#' sdtm.oak:::is_seq_name("AESEQ") +#' +#' # Not valid sequence number (`--SEQ`) variable names. +#' # Case matters. +#' sdtm.oak:::is_seq_name("AEseq") +#' +#' # A valid name has to end in "SEQ". +#' sdtm.oak:::is_seq_name("AESEQUENCE") +#' +#' @keywords internal +is_seq_name <- function(x) { + stringr::str_detect(x, "SEQ$") +} diff --git a/R/domain_example.R b/R/domain_example.R new file mode 100644 index 00000000..f63578a6 --- /dev/null +++ b/R/domain_example.R @@ -0,0 +1,129 @@ +#' Find the path to an example SDTM domain file +#' +#' @description +#' [domain_example()] resolves the local path to a SDTM domain example file. The +#' domain examples files were imported from +#' [pharmaversesdtm](https://cran.r-project.org/package=pharmaversesdtm). See +#' Details section for available datasets. +#' +#' @details +#' Datasets were obtained from +#' [pharmaversesdtm](https://cran.r-project.org/package=pharmaversesdtm) but are +#' originally sourced from the [CDISC pilot +#' project](https://github.com/cdisc-org/sdtm-adam-pilot-project) or have been +#' constructed ad-hoc by the +#' [admiral](https://cran.r-project.org/package=admiral) team. These datasets +#' are bundled with `{sdtm.oak}`, thus obviating a dependence on +#' `{pharmaversesdtm}`. +#' +#' ### Example SDTM domains +#' +#' \describe{ +#' \item{`"ae_ophtha"`}{Ophthalmology Adverse Events Dataset.} +#' \item{`"ae"`}{Adverse Events Dataset-updated.} +#' \item{`"ce_vaccine"`}{Clinical Events Dataset for Vaccine Studies.} +#' \item{`"cm"`}{Concomitant Medication Dataset.} +#' \item{`"dm_vaccine"`}{Demographics Dataset for Vaccine Studies.} +#' \item{`"dm"`}{Demography Dataset.} +#' \item{`"ds"`}{Disposition Dataset-updated.} +#' \item{`"eg"`}{ Electrocardiogram Dataset.} +#' \item{`"ex_ophtha"`}{Ophthalmology Exposure Dataset.} +#' \item{`"ex_vaccine"`}{Exposures Dataset for Vaccine Studies.} +#' \item{`"ex"`}{Exposure Dataset.} +#' \item{`"face_vaccine"`}{Findings About Clinical Events Dataset for Vaccine Studies.} +#' \item{`"is_vaccine"`}{Immunogenicity Specimen Assessments Dataset for Vaccine Studies.} +#' \item{`"lb"`}{Laboratory Measurements Dataset.} +#' \item{`"mh"`}{Medical History Dataset-updated.} +#' \item{`"oe_ophtha"`}{Ophthalmology Adverse Events Dataset.} +#' \item{`"pc"`}{Pharmacokinetics Concentrations Dataset.} +#' \item{`"pp"`}{Pharmacokinetics Parameters Dataset.} +#' \item{`"qs_ophtha"`}{Ophthalmology Questionnaire Dataset.} +#' \item{`"rs_onco_irecist"`}{Disease Response Dataset (iRECIST).} +#' \item{`"rs_onco"`}{Disease Response Dataset.} +#' } +#' +#' @param example A string with either the basename, file name, or relative path +#' to a SDTM domain example file bundled with `{stdm.oak}`, e.g. `"cm"` +#' (Concomitant Medication) or `"ae"` (Adverse Events). +#' +#' @returns The local path to an example file if `example` is supplied, or a +#' character vector of example file names. +#' +#' @examples +#' # If no example is provided it returns a vector of possible choices. +#' domain_example() +#' +#' # Get the local path to the Concomitant Medication dataset file. +#' domain_example("cm") +#' +#' # Local path to the Adverse Events dataset file. +#' domain_example("ae") +#' +#' @source See \url{https://cran.r-project.org/package=pharmaversesdtm}. +#' +#' @seealso [read_domain_example()] +#' @export +domain_example <- function(example) { + # If no example is requested, then return all available files. + if (missing(example)) { + domain_path <- system.file("domain", package = "sdtm.oak", mustWork = TRUE) + domain_files <- list.files(domain_path, pattern = "*.rds") + domains <- tools::file_path_sans_ext(basename(domain_files)) + return(domains) + } + + # Otherwise, resolve the local path to the example requested. + admiraldev::assert_character_scalar(example, optional = TRUE) + base_name <- tools::file_path_sans_ext(basename(example)) + path <- file.path("domain", paste0(base_name, ".rds")) + local_path <- system.file(path, package = "sdtm.oak") + + if (identical(local_path, "")) { + stop( + glue::glue( + "'{example}' does not match any domain example files. Run `domain_example()` for options." + ), + call. = FALSE + ) + } else { + local_path <- + system.file(path, package = "sdtm.oak", mustWork = TRUE) + return(local_path) + } +} + +#' Read an example SDTM domain +#' +#' [read_domain_example()] imports one of the bundled SDTM domain examples +#' as a [tibble][tibble::tibble-package] into R. See [domain_example()] for +#' possible choices. +#' +#' @param example The name of SDTM domain example, e.g. `"cm"` (Concomitant +#' Medication) or `"ae"` (Adverse Events). Run `read_domain_example()` for +#' available example files. +#' +#' @returns A [tibble][tibble::tibble-package] with an SDTM domain dataset, or a +#' character vector of example file names. +#' +#' @examples +#' # Leave the `example` parameter as missing for available example files. +#' read_domain_example() +#' +#' # Read the example Concomitant Medication domain. +#' read_domain_example("cm") +#' +#' # Read the example Adverse Events domain. +#' read_domain_example("ae") +#' +#' @seealso [domain_example()] +#' @export +read_domain_example <- function(example) { + if (missing(example)) { + return(domain_example()) + } else { + admiraldev::assert_character_scalar(example) + } + + path <- domain_example(example) + readr::read_rds(file = path) +} diff --git a/R/sbj_vars.R b/R/sbj_vars.R new file mode 100644 index 00000000..96871eb1 --- /dev/null +++ b/R/sbj_vars.R @@ -0,0 +1,14 @@ +#' Subject-level key variables +#' +#' [sbj_vars()] returns the set of variable names that uniquely define +#' a subject. +#' +#' @returns A character vector of variable names. +#' +#' @examples +#' sbj_vars() +#' +#' @export +sbj_vars <- function() { + c("STUDYID", "USUBJID") +} diff --git a/_pkgdown.yml b/_pkgdown.yml index 13e86fbf..878b8998 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -13,9 +13,16 @@ reference: contents: - assign - harcode + - derive_seq - derive_study_day - assign_datetime +- title: SDTM examples + desc: SDTM domain file examples + contents: + - domain_example + - read_domain_example + - title: Controlled terminology contents: - read_ct_spec @@ -30,6 +37,10 @@ reference: - dtc_formats - problems +- title: Utils + contents: + - sbj_vars + - title: Package global state contents: - clear_cache diff --git a/data-raw/sdtm_domain_examples.R b/data-raw/sdtm_domain_examples.R new file mode 100644 index 00000000..4c58ea1d --- /dev/null +++ b/data-raw/sdtm_domain_examples.R @@ -0,0 +1,32 @@ +# Title: SDTM domain example datasets. + +library(pharmaversesdtm) +library(readr) +library(here) + +path <- here::here("inst/domain") + +vs <- tibble::tribble( + ~STUDYID, ~DOMAIN, ~USUBJID, ~VSSPID, ~VSTESTCD, ~VSDTC, ~VSTPTNUM, + "ABC123", "VS", "ABC123-375", "/F:VTLS1-D:9795532-R:2", "DIABP", "2020-09-01T13:31", NA, + "ABC123", "VS", "ABC123-375", "/F:VTLS1-D:9795532-R:2", "TEMP", "2020-09-01T13:31", NA, + "ABC123", "VS", "ABC123-375", "/F:VTLS2-D:9795533-R:2", "DIABP", "2020-09-28T11:00", 2L, + "ABC123", "VS", "ABC123-375", "/F:VTLS2-D:9795533-R:2", "TEMP", "2020-09-28T11:00", 2L, + "ABC123", "VS", "ABC123-376", "/F:VTLS1-D:9795591-R:1", "DIABP", "2020-09-20", NA, + "ABC123", "VS", "ABC123-376", "/F:VTLS1-D:9795591-R:1", "TEMP", "2020-09-20", NA +) + +apsc <- tibble::tribble( + ~STUDYID, ~RSUBJID, ~SCTESTCD, ~DOMAIN, ~SREL, ~SCCAT, + "ABC123", "ABC123-210", "LVSBJIND", "APSC", "FRIEND", "CAREGIVERSTUDY", + "ABC123", "ABC123-210", "EDULEVEL", "APSC", "FRIEND", "CAREGIVERSTUDY", + "ABC123", "ABC123-210", "TMSPPT", "APSC", "FRIEND", "CAREGIVERSTUDY", + "ABC123", "ABC123-211", "CAREDUR", "APSC", "SIBLING", "CAREGIVERSTUDY", + "ABC123", "ABC123-211", "LVSBJIND", "APSC", "SIBLING", "CAREGIVERSTUDY", + "ABC123", "ABC123-212", "JOBCLAS", "APSC", "SPOUSE", "CAREGIVERSTUDY" +) + +readr::write_rds(x = pharmaversesdtm::ae, file = file.path(path, "ae.rds"), compress = "xz") +readr::write_rds(x = pharmaversesdtm::cm, file = file.path(path, "cm.rds"), compress = "xz") +readr::write_rds(x = vs, file = file.path(path, "vs.rds"), compress = "xz") +readr::write_rds(x = apsc, file = file.path(path, "apsc.rds"), compress = "xz") diff --git a/inst/WORDLIST b/inst/WORDLIST index 538f7a2e..e047f082 100644 --- a/inst/WORDLIST +++ b/inst/WORDLIST @@ -25,3 +25,7 @@ AE AESTDY CMSTDY DM +Immunogenicity +Pharmacokinetics +iRECIST +pharmaversesdtm diff --git a/inst/domain/ae.rds b/inst/domain/ae.rds new file mode 100644 index 00000000..5b527060 Binary files /dev/null and b/inst/domain/ae.rds differ diff --git a/inst/domain/apsc.rds b/inst/domain/apsc.rds new file mode 100644 index 00000000..a8709b9e Binary files /dev/null and b/inst/domain/apsc.rds differ diff --git a/inst/domain/cm.rds b/inst/domain/cm.rds new file mode 100644 index 00000000..483e44b8 Binary files /dev/null and b/inst/domain/cm.rds differ diff --git a/inst/domain/vs.rds b/inst/domain/vs.rds new file mode 100644 index 00000000..03daf26b Binary files /dev/null and b/inst/domain/vs.rds differ diff --git a/man/derive_seq.Rd b/man/derive_seq.Rd new file mode 100644 index 00000000..ae65ceae --- /dev/null +++ b/man/derive_seq.Rd @@ -0,0 +1,62 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/derive_seq.R +\name{derive_seq} +\alias{derive_seq} +\title{Derive the sequence number (\code{--SEQ}) variable} +\usage{ +derive_seq( + tgt_dat, + tgt_var, + rec_vars, + sbj_vars = sdtm.oak::sbj_vars(), + start_at = 1L +) +} +\arguments{ +\item{tgt_dat}{The target dataset, a data frame.} + +\item{tgt_var}{The target SDTM variable: a single string indicating the name +of the sequence number (\code{--SEQ}) variable, e.g. \code{"DSSEQ"}. Note that +supplying a name not ending in \code{"SEQ"} will raise a warning.} + +\item{rec_vars}{A character vector of record-level identifier variables.} + +\item{sbj_vars}{A character vector of subject-level identifier variables.} + +\item{start_at}{The sequence numbering starts at this value (default is \code{1}).} +} +\value{ +Returns the data frame supplied in \code{tgt_dat} with the newly derived +variable, i.e. the sequence number (\code{--SEQ}), whose name is that passed in +\code{tgt_var}. This variable is of type integer. +} +\description{ +\code{\link[=derive_seq]{derive_seq()}} creates a new identifier variable: the sequence number +(\code{--SEQ}). + +This function adds a newly derived variable to \code{tgt_dat}, namely the sequence +number (\code{--SEQ}) whose name is the one provided in \code{tgt_var}. An integer +sequence is generated that uniquely identifies each record within the domain. + +Prior to the derivation of \code{tgt_var}, the data frame \code{tgt_dat} is sorted +according to grouping variables indicated in \code{rec_vars}. +} +\examples{ +# A VS raw data set example +(vs <- read_domain_example("vs")) + +# Derivation of VSSEQ +rec_vars <- c("STUDYID", "USUBJID", "VSTESTCD", "VSDTC", "VSTPTNUM") +derive_seq(tgt_dat = vs, tgt_var = "VSSEQ", rec_vars = rec_vars) + +# An APSC raw data set example +(apsc <- read_domain_example("apsc")) + +# Derivation of APSEQ +derive_seq( + tgt_dat = apsc, + tgt_var = "APSEQ", + rec_vars = c("STUDYID", "RSUBJID", "SCTESTCD"), + sbj_vars = c("STUDYID", "RSUBJID") +) +} diff --git a/man/domain_example.Rd b/man/domain_example.Rd new file mode 100644 index 00000000..c5e214ad --- /dev/null +++ b/man/domain_example.Rd @@ -0,0 +1,75 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/domain_example.R +\name{domain_example} +\alias{domain_example} +\title{Find the path to an example SDTM domain file} +\source{ +See \url{https://cran.r-project.org/package=pharmaversesdtm}. +} +\usage{ +domain_example(example) +} +\arguments{ +\item{example}{A string with either the basename, file name, or relative path +to a SDTM domain example file bundled with \code{{stdm.oak}}, e.g. \code{"cm"} +(Concomitant Medication) or \code{"ae"} (Adverse Events).} +} +\value{ +The local path to an example file if \code{example} is supplied, or a +character vector of example file names. +} +\description{ +\code{\link[=domain_example]{domain_example()}} resolves the local path to a SDTM domain example file. The +domain examples files were imported from +\href{https://cran.r-project.org/package=pharmaversesdtm}{pharmaversesdtm}. See +Details section for available datasets. +} +\details{ +Datasets were obtained from +\href{https://cran.r-project.org/package=pharmaversesdtm}{pharmaversesdtm} but are +originally sourced from the \href{https://github.com/cdisc-org/sdtm-adam-pilot-project}{CDISC pilot project} or have been +constructed ad-hoc by the +\href{https://cran.r-project.org/package=admiral}{admiral} team. These datasets +are bundled with \code{{sdtm.oak}}, thus obviating a dependence on +\code{{pharmaversesdtm}}. +\subsection{Example SDTM domains}{ + +\describe{ +\item{\code{"ae_ophtha"}}{Ophthalmology Adverse Events Dataset.} +\item{\code{"ae"}}{Adverse Events Dataset-updated.} +\item{\code{"ce_vaccine"}}{Clinical Events Dataset for Vaccine Studies.} +\item{\code{"cm"}}{Concomitant Medication Dataset.} +\item{\code{"dm_vaccine"}}{Demographics Dataset for Vaccine Studies.} +\item{\code{"dm"}}{Demography Dataset.} +\item{\code{"ds"}}{Disposition Dataset-updated.} +\item{\code{"eg"}}{ Electrocardiogram Dataset.} +\item{\code{"ex_ophtha"}}{Ophthalmology Exposure Dataset.} +\item{\code{"ex_vaccine"}}{Exposures Dataset for Vaccine Studies.} +\item{\code{"ex"}}{Exposure Dataset.} +\item{\code{"face_vaccine"}}{Findings About Clinical Events Dataset for Vaccine Studies.} +\item{\code{"is_vaccine"}}{Immunogenicity Specimen Assessments Dataset for Vaccine Studies.} +\item{\code{"lb"}}{Laboratory Measurements Dataset.} +\item{\code{"mh"}}{Medical History Dataset-updated.} +\item{\code{"oe_ophtha"}}{Ophthalmology Adverse Events Dataset.} +\item{\code{"pc"}}{Pharmacokinetics Concentrations Dataset.} +\item{\code{"pp"}}{Pharmacokinetics Parameters Dataset.} +\item{\code{"qs_ophtha"}}{Ophthalmology Questionnaire Dataset.} +\item{\code{"rs_onco_irecist"}}{Disease Response Dataset (iRECIST).} +\item{\code{"rs_onco"}}{Disease Response Dataset.} +} +} +} +\examples{ +# If no example is provided it returns a vector of possible choices. +domain_example() + +# Get the local path to the Concomitant Medication dataset file. +domain_example("cm") + +# Local path to the Adverse Events dataset file. +domain_example("ae") + +} +\seealso{ +\code{\link[=read_domain_example]{read_domain_example()}} +} diff --git a/man/is_seq_name.Rd b/man/is_seq_name.Rd new file mode 100644 index 00000000..ad39c17b --- /dev/null +++ b/man/is_seq_name.Rd @@ -0,0 +1,30 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/derive_seq.R +\name{is_seq_name} +\alias{is_seq_name} +\title{Is it a --SEQ variable name} +\usage{ +is_seq_name(x) +} +\arguments{ +\item{x}{A character vector.} +} +\value{ +A logical vector. +} +\description{ +\code{\link[=is_seq_name]{is_seq_name()}} returns which variable names end in \code{"SEQ"}. +} +\examples{ +# A valid SEQ name. +sdtm.oak:::is_seq_name("AESEQ") + +# Not valid sequence number (`--SEQ`) variable names. +# Case matters. +sdtm.oak:::is_seq_name("AEseq") + +# A valid name has to end in "SEQ". +sdtm.oak:::is_seq_name("AESEQUENCE") + +} +\keyword{internal} diff --git a/man/read_domain_example.Rd b/man/read_domain_example.Rd new file mode 100644 index 00000000..f16ad1fb --- /dev/null +++ b/man/read_domain_example.Rd @@ -0,0 +1,36 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/domain_example.R +\name{read_domain_example} +\alias{read_domain_example} +\title{Read an example SDTM domain} +\usage{ +read_domain_example(example) +} +\arguments{ +\item{example}{The name of SDTM domain example, e.g. \code{"cm"} (Concomitant +Medication) or \code{"ae"} (Adverse Events). Run \code{read_domain_example()} for +available example files.} +} +\value{ +A \link[tibble:tibble-package]{tibble} with an SDTM domain dataset, or a +character vector of example file names. +} +\description{ +\code{\link[=read_domain_example]{read_domain_example()}} imports one of the bundled SDTM domain examples +as a \link[tibble:tibble-package]{tibble} into R. See \code{\link[=domain_example]{domain_example()}} for +possible choices. +} +\examples{ +# Leave the `example` parameter as missing for available example files. +read_domain_example() + +# Read the example Concomitant Medication domain. +read_domain_example("cm") + +# Read the example Adverse Events domain. +read_domain_example("ae") + +} +\seealso{ +\code{\link[=domain_example]{domain_example()}} +} diff --git a/man/sbj_vars.Rd b/man/sbj_vars.Rd new file mode 100644 index 00000000..80f8b5b2 --- /dev/null +++ b/man/sbj_vars.Rd @@ -0,0 +1,19 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/sbj_vars.R +\name{sbj_vars} +\alias{sbj_vars} +\title{Subject-level key variables} +\usage{ +sbj_vars() +} +\value{ +A character vector of variable names. +} +\description{ +\code{\link[=sbj_vars]{sbj_vars()}} returns the set of variable names that uniquely define +a subject. +} +\examples{ +sbj_vars() + +} diff --git a/renv.lock b/renv.lock index ebc34e12..30fb9575 100644 --- a/renv.lock +++ b/renv.lock @@ -17,7 +17,7 @@ "Package": "R.cache", "Version": "0.16.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "CRAN", "Requirements": [ "R", "R.methodsS3", @@ -32,7 +32,7 @@ "Package": "R.methodsS3", "Version": "1.8.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "CRAN", "Requirements": [ "R", "utils" @@ -43,7 +43,7 @@ "Package": "R.oo", "Version": "1.26.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "CRAN", "Requirements": [ "R", "R.methodsS3", @@ -56,7 +56,7 @@ "Package": "R.utils", "Version": "2.12.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "CRAN", "Requirements": [ "R", "R.methodsS3", @@ -71,7 +71,7 @@ "Package": "R6", "Version": "2.5.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -81,7 +81,7 @@ "Package": "Rcpp", "Version": "1.0.10", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "methods", "utils" @@ -92,7 +92,7 @@ "Package": "askpass", "Version": "1.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "sys" ], @@ -102,7 +102,7 @@ "Package": "assertthat", "Version": "0.2.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "tools" ], @@ -112,7 +112,7 @@ "Package": "backports", "Version": "1.4.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -122,7 +122,7 @@ "Package": "base64enc", "Version": "0.1-3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -132,7 +132,7 @@ "Package": "bit", "Version": "4.0.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -142,7 +142,7 @@ "Package": "bit64", "Version": "4.0.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "bit", @@ -156,21 +156,21 @@ "Package": "brew", "Version": "1.0-8", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "d69a786e85775b126bddbee185ae6084" }, "brio": { "Package": "brio", "Version": "1.1.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "976cf154dfb043c012d87cddd8bca363" }, "bslib": { "Package": "bslib", "Version": "0.4.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "base64enc", @@ -190,7 +190,7 @@ "Package": "cachem", "Version": "1.0.7", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "fastmap", "rlang" @@ -201,7 +201,7 @@ "Package": "callr", "Version": "3.7.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -214,7 +214,7 @@ "Package": "checkmate", "Version": "2.1.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "backports", @@ -226,7 +226,7 @@ "Package": "cli", "Version": "3.6.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "utils" @@ -237,7 +237,7 @@ "Package": "clipr", "Version": "0.8.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "utils" ], @@ -247,21 +247,21 @@ "Package": "commonmark", "Version": "1.9.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "d691c61bff84bd63c383874d2d0c3307" }, "cpp11": { "Package": "cpp11", "Version": "0.4.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "ed588261931ee3be2c700d22e94a29ab" }, "crayon": { "Package": "crayon", "Version": "1.5.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "grDevices", "methods", @@ -273,7 +273,7 @@ "Package": "credentials", "Version": "1.3.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "askpass", "curl", @@ -287,7 +287,7 @@ "Package": "curl", "Version": "5.0.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -297,7 +297,7 @@ "Package": "desc", "Version": "1.4.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -311,7 +311,7 @@ "Package": "devtools", "Version": "2.4.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -345,7 +345,7 @@ "Package": "diffobj", "Version": "0.3.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "crayon", @@ -360,7 +360,7 @@ "Package": "digest", "Version": "0.6.31", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "utils" @@ -371,7 +371,7 @@ "Package": "downlit", "Version": "0.4.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "brio", @@ -391,7 +391,7 @@ "Package": "dplyr", "Version": "1.1.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -414,7 +414,7 @@ "Package": "ellipsis", "Version": "0.3.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "rlang" @@ -425,7 +425,7 @@ "Package": "evaluate", "Version": "0.20", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "methods" @@ -436,7 +436,7 @@ "Package": "fansi", "Version": "1.0.4", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "grDevices", @@ -448,14 +448,14 @@ "Package": "fastmap", "Version": "1.1.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "f7736a18de97dea803bde0a2daaafb27" }, "fontawesome": { "Package": "fontawesome", "Version": "0.5.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "htmltools", @@ -467,7 +467,7 @@ "Package": "fs", "Version": "1.6.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "methods" @@ -478,7 +478,7 @@ "Package": "generics", "Version": "0.1.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "methods" @@ -489,7 +489,7 @@ "Package": "gert", "Version": "1.9.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "askpass", "credentials", @@ -504,7 +504,7 @@ "Package": "gh", "Version": "1.4.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -520,7 +520,7 @@ "Package": "git2r", "Version": "0.32.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "graphics", @@ -532,7 +532,7 @@ "Package": "gitcreds", "Version": "0.1.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -542,7 +542,7 @@ "Package": "glue", "Version": "1.6.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "methods" @@ -553,7 +553,7 @@ "Package": "highr", "Version": "0.10", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "xfun" @@ -564,7 +564,7 @@ "Package": "hms", "Version": "1.1.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "lifecycle", "methods", @@ -578,7 +578,7 @@ "Package": "htmltools", "Version": "0.5.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "base64enc", @@ -595,7 +595,7 @@ "Package": "htmlwidgets", "Version": "1.6.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "grDevices", "htmltools", @@ -610,7 +610,7 @@ "Package": "httpuv", "Version": "1.6.9", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -625,7 +625,7 @@ "Package": "httr", "Version": "1.4.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -640,7 +640,7 @@ "Package": "httr2", "Version": "0.2.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -659,7 +659,7 @@ "Package": "hunspell", "Version": "3.0.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "Rcpp", @@ -671,14 +671,14 @@ "Package": "ini", "Version": "0.3.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "6154ec2223172bce8162d4153cda21f7" }, "jquerylib": { "Package": "jquerylib", "Version": "0.1.4", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "htmltools" ], @@ -688,7 +688,7 @@ "Package": "jsonlite", "Version": "1.8.4", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "methods" ], @@ -698,7 +698,7 @@ "Package": "knitr", "Version": "1.42", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "evaluate", @@ -714,7 +714,7 @@ "Package": "later", "Version": "1.3.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "Rcpp", "rlang" @@ -725,7 +725,7 @@ "Package": "lifecycle", "Version": "1.0.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -738,7 +738,7 @@ "Package": "lubridate", "Version": "1.9.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "generics", @@ -751,7 +751,7 @@ "Package": "magrittr", "Version": "2.0.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -761,7 +761,7 @@ "Package": "memoise", "Version": "2.0.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "cachem", "rlang" @@ -772,7 +772,7 @@ "Package": "mime", "Version": "0.12", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "tools" ], @@ -782,7 +782,7 @@ "Package": "miniUI", "Version": "0.1.1.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "htmltools", "shiny", @@ -794,7 +794,7 @@ "Package": "openssl", "Version": "2.0.6", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "askpass" ], @@ -804,7 +804,7 @@ "Package": "pillar", "Version": "1.9.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "cli", "fansi", @@ -821,7 +821,7 @@ "Package": "pkgbuild", "Version": "1.4.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -840,7 +840,7 @@ "Package": "pkgconfig", "Version": "2.0.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "utils" ], @@ -850,7 +850,7 @@ "Package": "pkgdown", "Version": "2.0.7", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "bslib", @@ -880,7 +880,7 @@ "Package": "pkgload", "Version": "1.3.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -900,21 +900,21 @@ "Package": "praise", "Version": "1.0.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "a555924add98c99d2f411e37e7d25e9f" }, "prettyunits": { "Package": "prettyunits", "Version": "1.1.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "95ef9167b75dde9d2ccc3c7528393e7e" }, "processx": { "Package": "processx", "Version": "3.8.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -927,7 +927,7 @@ "Package": "profvis", "Version": "0.3.7", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "htmlwidgets", @@ -939,7 +939,7 @@ "Package": "progress", "Version": "1.2.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R6", "crayon", @@ -952,7 +952,7 @@ "Package": "promises", "Version": "1.2.0.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R6", "Rcpp", @@ -967,7 +967,7 @@ "Package": "ps", "Version": "1.7.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "utils" @@ -978,7 +978,7 @@ "Package": "purrr", "Version": "1.0.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -993,7 +993,7 @@ "Package": "ragg", "Version": "1.2.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "systemfonts", "textshaping" @@ -1004,7 +1004,7 @@ "Package": "rappdirs", "Version": "0.3.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -1014,7 +1014,7 @@ "Package": "rcmdcheck", "Version": "1.4.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R6", "callr", @@ -1036,7 +1036,7 @@ "Package": "readr", "Version": "2.1.4", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -1059,7 +1059,7 @@ "Package": "rematch2", "Version": "2.1.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "tibble" ], @@ -1069,7 +1069,7 @@ "Package": "remotes", "Version": "2.5.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "CRAN", "Requirements": [ "R", "methods", @@ -1081,19 +1081,19 @@ }, "renv": { "Package": "renv", - "Version": "1.0.3", + "Version": "1.0.7", "Source": "Repository", "Repository": "RSPM", "Requirements": [ "utils" ], - "Hash": "41b847654f567341725473431dd0d5ab" + "Hash": "397b7b2a265bc5a7a06852524dabae20" }, "rlang": { "Package": "rlang", "Version": "1.1.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "utils" @@ -1104,7 +1104,7 @@ "Package": "rmarkdown", "Version": "2.21", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "bslib", @@ -1154,7 +1154,7 @@ "Package": "rprojroot", "Version": "2.0.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -1164,14 +1164,14 @@ "Package": "rstudioapi", "Version": "0.14", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "690bd2acc42a9166ce34845884459320" }, "rversions": { "Package": "rversions", "Version": "2.1.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "curl", "utils", @@ -1183,7 +1183,7 @@ "Package": "sass", "Version": "0.4.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R6", "fs", @@ -1197,7 +1197,7 @@ "Package": "sessioninfo", "Version": "1.2.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -1210,7 +1210,7 @@ "Package": "shiny", "Version": "1.7.4", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -1244,7 +1244,7 @@ "Package": "sourcetools", "Version": "0.1.7-1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -1254,7 +1254,7 @@ "Package": "spelling", "Version": "2.2.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "commonmark", "hunspell", @@ -1300,7 +1300,7 @@ "Package": "stringi", "Version": "1.7.12", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "stats", @@ -1313,7 +1313,7 @@ "Package": "stringr", "Version": "1.5.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -1349,14 +1349,14 @@ "Package": "sys", "Version": "3.4.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "34c16f1ef796057bfa06d3f4ff818a5d" }, "systemfonts": { "Package": "systemfonts", "Version": "1.0.4", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cpp11" @@ -1367,7 +1367,7 @@ "Package": "testthat", "Version": "3.1.7", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -1397,7 +1397,7 @@ "Package": "textshaping", "Version": "0.3.6", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cpp11", @@ -1409,7 +1409,7 @@ "Package": "tibble", "Version": "3.2.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "fansi", @@ -1428,7 +1428,7 @@ "Package": "tidyr", "Version": "1.3.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -1451,7 +1451,7 @@ "Package": "tidyselect", "Version": "1.2.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -1467,7 +1467,7 @@ "Package": "timechange", "Version": "0.2.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cpp11" @@ -1478,7 +1478,7 @@ "Package": "tinytex", "Version": "0.45", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "xfun" ], @@ -1488,7 +1488,7 @@ "Package": "tzdb", "Version": "0.3.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cpp11" @@ -1499,7 +1499,7 @@ "Package": "urlchecker", "Version": "1.0.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -1513,7 +1513,7 @@ "Package": "usethis", "Version": "2.1.6", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -1544,7 +1544,7 @@ "Package": "utf8", "Version": "1.2.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -1554,7 +1554,7 @@ "Package": "vctrs", "Version": "0.6.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -1568,7 +1568,7 @@ "Package": "vroom", "Version": "1.6.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "bit64", @@ -1594,7 +1594,7 @@ "Package": "waldo", "Version": "0.4.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "cli", "diffobj", @@ -1611,14 +1611,14 @@ "Package": "whisker", "Version": "0.4.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "c6abfa47a46d281a7d5159d0a8891e88" }, "withr": { "Package": "withr", "Version": "2.5.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "grDevices", @@ -1631,7 +1631,7 @@ "Package": "xfun", "Version": "0.38", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "stats", "tools" @@ -1642,7 +1642,7 @@ "Package": "xml2", "Version": "1.3.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "methods" @@ -1653,7 +1653,7 @@ "Package": "xopen", "Version": "1.0.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "processx" @@ -1664,7 +1664,7 @@ "Package": "xtable", "Version": "1.8-4", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "stats", @@ -1676,14 +1676,14 @@ "Package": "yaml", "Version": "2.3.7", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "0d0056cc5383fbc240ccd0cb584bf436" }, "zip": { "Package": "zip", "Version": "2.3.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "d98c94dacb7e0efcf83b0a133a705504" } } diff --git a/renv/activate.R b/renv/activate.R index cb5401f9..d13f9932 100644 --- a/renv/activate.R +++ b/renv/activate.R @@ -2,11 +2,13 @@ local({ # the requested version of renv - version <- "1.0.3" + version <- "1.0.7" attr(version, "sha") <- NULL # the project directory - project <- getwd() + project <- Sys.getenv("RENV_PROJECT") + if (!nzchar(project)) + project <- getwd() # use start-up diagnostics if enabled diagnostics <- Sys.getenv("RENV_STARTUP_DIAGNOSTICS", unset = "FALSE") @@ -31,6 +33,14 @@ local({ if (!is.null(override)) return(override) + # if we're being run in a context where R_LIBS is already set, + # don't load -- presumably we're being run as a sub-process and + # the parent process has already set up library paths for us + rcmd <- Sys.getenv("R_CMD", unset = NA) + rlibs <- Sys.getenv("R_LIBS", unset = NA) + if (!is.na(rlibs) && !is.na(rcmd)) + return(FALSE) + # next, check environment variables # TODO: prefer using the configuration one in the future envvars <- c( @@ -50,9 +60,22 @@ local({ }) - if (!enabled) + # bail if we're not enabled + if (!enabled) { + + # if we're not enabled, we might still need to manually load + # the user profile here + profile <- Sys.getenv("R_PROFILE_USER", unset = "~/.Rprofile") + if (file.exists(profile)) { + cfg <- Sys.getenv("RENV_CONFIG_USER_PROFILE", unset = "TRUE") + if (tolower(cfg) %in% c("true", "t", "1")) + sys.source(profile, envir = globalenv()) + } + return(FALSE) + } + # avoid recursion if (identical(getOption("renv.autoloader.running"), TRUE)) { warning("ignoring recursive attempt to run renv autoloader") @@ -108,6 +131,21 @@ local({ } + heredoc <- function(text, leave = 0) { + + # remove leading, trailing whitespace + trimmed <- gsub("^\\s*\\n|\\n\\s*$", "", text) + + # split into lines + lines <- strsplit(trimmed, "\n", fixed = TRUE)[[1L]] + + # compute common indent + indent <- regexpr("[^[:space:]]", lines) + common <- min(setdiff(indent, -1L)) - leave + paste(substring(lines, common), collapse = "\n") + + } + startswith <- function(string, prefix) { substring(string, 1, nchar(prefix)) == prefix } @@ -610,6 +648,9 @@ local({ # if the user has requested an automatic prefix, generate it auto <- Sys.getenv("RENV_PATHS_PREFIX_AUTO", unset = NA) + if (is.na(auto) && getRversion() >= "4.4.0") + auto <- "TRUE" + if (auto %in% c("TRUE", "True", "true", "1")) return(renv_bootstrap_platform_prefix_auto()) @@ -801,24 +842,23 @@ local({ # the loaded version of renv doesn't match the requested version; # give the user instructions on how to proceed - remote <- if (!is.null(description[["RemoteSha"]])) { + dev <- identical(description[["RemoteType"]], "github") + remote <- if (dev) paste("rstudio/renv", description[["RemoteSha"]], sep = "@") - } else { + else paste("renv", description[["Version"]], sep = "@") - } # display both loaded version + sha if available friendly <- renv_bootstrap_version_friendly( version = description[["Version"]], - sha = description[["RemoteSha"]] + sha = if (dev) description[["RemoteSha"]] ) - fmt <- paste( - "renv %1$s was loaded from project library, but this project is configured to use renv %2$s.", - "- Use `renv::record(\"%3$s\")` to record renv %1$s in the lockfile.", - "- Use `renv::restore(packages = \"renv\")` to install renv %2$s into the project library.", - sep = "\n" - ) + fmt <- heredoc(" + renv %1$s was loaded from project library, but this project is configured to use renv %2$s. + - Use `renv::record(\"%3$s\")` to record renv %1$s in the lockfile. + - Use `renv::restore(packages = \"renv\")` to install renv %2$s into the project library. + ") catf(fmt, friendly, renv_bootstrap_version_friendly(version), remote) FALSE @@ -1041,7 +1081,7 @@ local({ # if jsonlite is loaded, use that instead if ("jsonlite" %in% loadedNamespaces()) { - json <- catch(renv_json_read_jsonlite(file, text)) + json <- tryCatch(renv_json_read_jsonlite(file, text), error = identity) if (!inherits(json, "error")) return(json) @@ -1050,7 +1090,7 @@ local({ } # otherwise, fall back to the default JSON reader - json <- catch(renv_json_read_default(file, text)) + json <- tryCatch(renv_json_read_default(file, text), error = identity) if (!inherits(json, "error")) return(json) @@ -1063,14 +1103,14 @@ local({ } renv_json_read_jsonlite <- function(file = NULL, text = NULL) { - text <- paste(text %||% read(file), collapse = "\n") + text <- paste(text %||% readLines(file, warn = FALSE), collapse = "\n") jsonlite::fromJSON(txt = text, simplifyVector = FALSE) } renv_json_read_default <- function(file = NULL, text = NULL) { # find strings in the JSON - text <- paste(text %||% read(file), collapse = "\n") + text <- paste(text %||% readLines(file, warn = FALSE), collapse = "\n") pattern <- '["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]' locs <- gregexpr(pattern, text, perl = TRUE)[[1]] @@ -1118,14 +1158,14 @@ local({ map <- as.list(map) # remap strings in object - remapped <- renv_json_remap(json, map) + remapped <- renv_json_read_remap(json, map) # evaluate eval(remapped, envir = baseenv()) } - renv_json_remap <- function(json, map) { + renv_json_read_remap <- function(json, map) { # fix names if (!is.null(names(json))) { @@ -1152,7 +1192,7 @@ local({ # recurse if (is.recursive(json)) { for (i in seq_along(json)) { - json[i] <- list(renv_json_remap(json[[i]], map)) + json[i] <- list(renv_json_read_remap(json[[i]], map)) } } diff --git a/renv/profiles/4.2/renv.lock b/renv/profiles/4.2/renv.lock index 885895ef..a456139d 100644 --- a/renv/profiles/4.2/renv.lock +++ b/renv/profiles/4.2/renv.lock @@ -17,7 +17,7 @@ "Package": "R.cache", "Version": "0.16.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "CRAN", "Requirements": [ "R", "R.methodsS3", @@ -32,7 +32,7 @@ "Package": "R.methodsS3", "Version": "1.8.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "CRAN", "Requirements": [ "R", "utils" @@ -43,7 +43,7 @@ "Package": "R.oo", "Version": "1.26.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "CRAN", "Requirements": [ "R", "R.methodsS3", @@ -56,7 +56,7 @@ "Package": "R.utils", "Version": "2.12.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "CRAN", "Requirements": [ "R", "R.methodsS3", @@ -71,7 +71,7 @@ "Package": "R6", "Version": "2.5.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -81,7 +81,7 @@ "Package": "Rcpp", "Version": "1.0.10", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "methods", "utils" @@ -92,7 +92,7 @@ "Package": "askpass", "Version": "1.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "sys" ], @@ -102,7 +102,7 @@ "Package": "assertthat", "Version": "0.2.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "tools" ], @@ -112,7 +112,7 @@ "Package": "backports", "Version": "1.4.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -122,7 +122,7 @@ "Package": "base64enc", "Version": "0.1-3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -132,7 +132,7 @@ "Package": "bit", "Version": "4.0.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -142,7 +142,7 @@ "Package": "bit64", "Version": "4.0.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "bit", @@ -156,21 +156,21 @@ "Package": "brew", "Version": "1.0-8", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "d69a786e85775b126bddbee185ae6084" }, "brio": { "Package": "brio", "Version": "1.1.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "976cf154dfb043c012d87cddd8bca363" }, "bslib": { "Package": "bslib", "Version": "0.4.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "base64enc", @@ -190,7 +190,7 @@ "Package": "cachem", "Version": "1.0.7", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "fastmap", "rlang" @@ -201,7 +201,7 @@ "Package": "callr", "Version": "3.7.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -214,7 +214,7 @@ "Package": "checkmate", "Version": "2.1.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "backports", @@ -226,7 +226,7 @@ "Package": "cli", "Version": "3.6.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "utils" @@ -237,7 +237,7 @@ "Package": "clipr", "Version": "0.8.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "utils" ], @@ -247,21 +247,21 @@ "Package": "commonmark", "Version": "1.8.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "b6e3e947d1d7ebf3d2bdcea1bde63fe7" }, "cpp11": { "Package": "cpp11", "Version": "0.4.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "ed588261931ee3be2c700d22e94a29ab" }, "crayon": { "Package": "crayon", "Version": "1.5.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "grDevices", "methods", @@ -273,7 +273,7 @@ "Package": "credentials", "Version": "1.3.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "askpass", "curl", @@ -287,7 +287,7 @@ "Package": "curl", "Version": "5.0.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -297,7 +297,7 @@ "Package": "desc", "Version": "1.4.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -311,7 +311,7 @@ "Package": "devtools", "Version": "2.4.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -345,7 +345,7 @@ "Package": "diffobj", "Version": "0.3.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "crayon", @@ -360,7 +360,7 @@ "Package": "digest", "Version": "0.6.31", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "utils" @@ -371,7 +371,7 @@ "Package": "downlit", "Version": "0.4.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "brio", @@ -391,7 +391,7 @@ "Package": "dplyr", "Version": "1.1.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -414,7 +414,7 @@ "Package": "ellipsis", "Version": "0.3.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "rlang" @@ -425,7 +425,7 @@ "Package": "evaluate", "Version": "0.20", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "methods" @@ -436,7 +436,7 @@ "Package": "fansi", "Version": "1.0.4", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "grDevices", @@ -448,14 +448,14 @@ "Package": "fastmap", "Version": "1.1.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "f7736a18de97dea803bde0a2daaafb27" }, "fontawesome": { "Package": "fontawesome", "Version": "0.5.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "htmltools", @@ -467,7 +467,7 @@ "Package": "fs", "Version": "1.6.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "methods" @@ -478,7 +478,7 @@ "Package": "generics", "Version": "0.1.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "methods" @@ -489,7 +489,7 @@ "Package": "gert", "Version": "1.9.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "askpass", "credentials", @@ -504,7 +504,7 @@ "Package": "gh", "Version": "1.4.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -520,7 +520,7 @@ "Package": "git2r", "Version": "0.31.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "graphics", @@ -532,7 +532,7 @@ "Package": "gitcreds", "Version": "0.1.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -542,7 +542,7 @@ "Package": "glue", "Version": "1.6.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "methods" @@ -553,7 +553,7 @@ "Package": "highr", "Version": "0.10", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "xfun" @@ -564,7 +564,7 @@ "Package": "hms", "Version": "1.1.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "ellipsis", "lifecycle", @@ -579,7 +579,7 @@ "Package": "htmltools", "Version": "0.5.4", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "base64enc", @@ -596,7 +596,7 @@ "Package": "htmlwidgets", "Version": "1.6.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "grDevices", "htmltools", @@ -611,7 +611,7 @@ "Package": "httpuv", "Version": "1.6.9", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -626,7 +626,7 @@ "Package": "httr", "Version": "1.4.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -641,7 +641,7 @@ "Package": "httr2", "Version": "0.2.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -660,7 +660,7 @@ "Package": "hunspell", "Version": "3.0.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "Rcpp", @@ -672,14 +672,14 @@ "Package": "ini", "Version": "0.3.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "6154ec2223172bce8162d4153cda21f7" }, "jquerylib": { "Package": "jquerylib", "Version": "0.1.4", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "htmltools" ], @@ -689,7 +689,7 @@ "Package": "jsonlite", "Version": "1.8.4", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "methods" ], @@ -699,7 +699,7 @@ "Package": "knitr", "Version": "1.42", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "evaluate", @@ -715,7 +715,7 @@ "Package": "later", "Version": "1.3.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "Rcpp", "rlang" @@ -726,7 +726,7 @@ "Package": "lifecycle", "Version": "1.0.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -739,7 +739,7 @@ "Package": "lubridate", "Version": "1.9.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "generics", @@ -752,7 +752,7 @@ "Package": "magrittr", "Version": "2.0.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -762,7 +762,7 @@ "Package": "memoise", "Version": "2.0.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "cachem", "rlang" @@ -773,7 +773,7 @@ "Package": "mime", "Version": "0.12", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "tools" ], @@ -783,7 +783,7 @@ "Package": "miniUI", "Version": "0.1.1.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "htmltools", "shiny", @@ -795,7 +795,7 @@ "Package": "openssl", "Version": "2.0.6", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "askpass" ], @@ -805,7 +805,7 @@ "Package": "pillar", "Version": "1.8.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "cli", "fansi", @@ -822,7 +822,7 @@ "Package": "pkgbuild", "Version": "1.4.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -841,7 +841,7 @@ "Package": "pkgconfig", "Version": "2.0.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "utils" ], @@ -851,7 +851,7 @@ "Package": "pkgdown", "Version": "2.0.7", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "bslib", @@ -881,7 +881,7 @@ "Package": "pkgload", "Version": "1.3.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -901,21 +901,21 @@ "Package": "praise", "Version": "1.0.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "a555924add98c99d2f411e37e7d25e9f" }, "prettyunits": { "Package": "prettyunits", "Version": "1.1.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "95ef9167b75dde9d2ccc3c7528393e7e" }, "processx": { "Package": "processx", "Version": "3.8.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -928,7 +928,7 @@ "Package": "profvis", "Version": "0.3.7", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "htmlwidgets", @@ -940,7 +940,7 @@ "Package": "progress", "Version": "1.2.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R6", "crayon", @@ -953,7 +953,7 @@ "Package": "promises", "Version": "1.2.0.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R6", "Rcpp", @@ -968,7 +968,7 @@ "Package": "ps", "Version": "1.7.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "utils" @@ -979,7 +979,7 @@ "Package": "purrr", "Version": "1.0.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -994,7 +994,7 @@ "Package": "ragg", "Version": "1.2.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "systemfonts", "textshaping" @@ -1005,7 +1005,7 @@ "Package": "rappdirs", "Version": "0.3.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -1015,7 +1015,7 @@ "Package": "rcmdcheck", "Version": "1.4.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R6", "callr", @@ -1037,7 +1037,7 @@ "Package": "readr", "Version": "2.1.4", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -1060,7 +1060,7 @@ "Package": "rematch2", "Version": "2.1.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "tibble" ], @@ -1070,7 +1070,7 @@ "Package": "remotes", "Version": "2.5.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "CRAN", "Requirements": [ "R", "methods", @@ -1082,19 +1082,19 @@ }, "renv": { "Package": "renv", - "Version": "1.0.3", + "Version": "1.0.7", "Source": "Repository", "Repository": "RSPM", "Requirements": [ "utils" ], - "Hash": "41b847654f567341725473431dd0d5ab" + "Hash": "397b7b2a265bc5a7a06852524dabae20" }, "rlang": { "Package": "rlang", "Version": "1.1.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "utils" @@ -1105,7 +1105,7 @@ "Package": "rmarkdown", "Version": "2.20", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "bslib", @@ -1154,7 +1154,7 @@ "Package": "rprojroot", "Version": "2.0.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -1164,14 +1164,14 @@ "Package": "rstudioapi", "Version": "0.14", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "690bd2acc42a9166ce34845884459320" }, "rversions": { "Package": "rversions", "Version": "2.1.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "curl", "utils", @@ -1183,7 +1183,7 @@ "Package": "sass", "Version": "0.4.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R6", "fs", @@ -1197,7 +1197,7 @@ "Package": "sessioninfo", "Version": "1.2.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -1210,7 +1210,7 @@ "Package": "shiny", "Version": "1.7.4", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -1244,7 +1244,7 @@ "Package": "sourcetools", "Version": "0.1.7-1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -1254,7 +1254,7 @@ "Package": "spelling", "Version": "2.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "commonmark", "hunspell", @@ -1300,7 +1300,7 @@ "Package": "stringi", "Version": "1.7.12", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "stats", @@ -1313,7 +1313,7 @@ "Package": "stringr", "Version": "1.5.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -1349,14 +1349,14 @@ "Package": "sys", "Version": "3.4.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "34c16f1ef796057bfa06d3f4ff818a5d" }, "systemfonts": { "Package": "systemfonts", "Version": "1.0.4", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cpp11" @@ -1367,7 +1367,7 @@ "Package": "testthat", "Version": "3.1.7", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -1397,7 +1397,7 @@ "Package": "textshaping", "Version": "0.3.6", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cpp11", @@ -1409,7 +1409,7 @@ "Package": "tibble", "Version": "3.2.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "fansi", @@ -1428,7 +1428,7 @@ "Package": "tidyr", "Version": "1.3.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -1451,7 +1451,7 @@ "Package": "tidyselect", "Version": "1.2.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -1467,7 +1467,7 @@ "Package": "timechange", "Version": "0.2.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cpp11" @@ -1478,7 +1478,7 @@ "Package": "tinytex", "Version": "0.44", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "xfun" ], @@ -1488,7 +1488,7 @@ "Package": "tzdb", "Version": "0.3.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cpp11" @@ -1499,7 +1499,7 @@ "Package": "urlchecker", "Version": "1.0.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -1513,7 +1513,7 @@ "Package": "usethis", "Version": "2.1.6", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -1544,7 +1544,7 @@ "Package": "utf8", "Version": "1.2.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -1554,7 +1554,7 @@ "Package": "vctrs", "Version": "0.5.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -1568,7 +1568,7 @@ "Package": "vroom", "Version": "1.6.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "bit64", @@ -1594,7 +1594,7 @@ "Package": "waldo", "Version": "0.4.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "cli", "diffobj", @@ -1611,14 +1611,14 @@ "Package": "whisker", "Version": "0.4.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "c6abfa47a46d281a7d5159d0a8891e88" }, "withr": { "Package": "withr", "Version": "2.5.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "grDevices", @@ -1631,7 +1631,7 @@ "Package": "xfun", "Version": "0.37", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "stats", "tools" @@ -1642,7 +1642,7 @@ "Package": "xml2", "Version": "1.3.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "methods" @@ -1653,7 +1653,7 @@ "Package": "xopen", "Version": "1.0.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "processx" @@ -1664,7 +1664,7 @@ "Package": "xtable", "Version": "1.8-4", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "stats", @@ -1676,14 +1676,14 @@ "Package": "yaml", "Version": "2.3.7", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "0d0056cc5383fbc240ccd0cb584bf436" }, "zip": { "Package": "zip", "Version": "2.2.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "c42bfcec3fa6a0cce17ce1f8bc684f88" } } diff --git a/renv/profiles/4.3/renv.lock b/renv/profiles/4.3/renv.lock index ebc34e12..30fb9575 100644 --- a/renv/profiles/4.3/renv.lock +++ b/renv/profiles/4.3/renv.lock @@ -17,7 +17,7 @@ "Package": "R.cache", "Version": "0.16.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "CRAN", "Requirements": [ "R", "R.methodsS3", @@ -32,7 +32,7 @@ "Package": "R.methodsS3", "Version": "1.8.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "CRAN", "Requirements": [ "R", "utils" @@ -43,7 +43,7 @@ "Package": "R.oo", "Version": "1.26.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "CRAN", "Requirements": [ "R", "R.methodsS3", @@ -56,7 +56,7 @@ "Package": "R.utils", "Version": "2.12.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "CRAN", "Requirements": [ "R", "R.methodsS3", @@ -71,7 +71,7 @@ "Package": "R6", "Version": "2.5.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -81,7 +81,7 @@ "Package": "Rcpp", "Version": "1.0.10", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "methods", "utils" @@ -92,7 +92,7 @@ "Package": "askpass", "Version": "1.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "sys" ], @@ -102,7 +102,7 @@ "Package": "assertthat", "Version": "0.2.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "tools" ], @@ -112,7 +112,7 @@ "Package": "backports", "Version": "1.4.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -122,7 +122,7 @@ "Package": "base64enc", "Version": "0.1-3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -132,7 +132,7 @@ "Package": "bit", "Version": "4.0.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -142,7 +142,7 @@ "Package": "bit64", "Version": "4.0.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "bit", @@ -156,21 +156,21 @@ "Package": "brew", "Version": "1.0-8", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "d69a786e85775b126bddbee185ae6084" }, "brio": { "Package": "brio", "Version": "1.1.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "976cf154dfb043c012d87cddd8bca363" }, "bslib": { "Package": "bslib", "Version": "0.4.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "base64enc", @@ -190,7 +190,7 @@ "Package": "cachem", "Version": "1.0.7", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "fastmap", "rlang" @@ -201,7 +201,7 @@ "Package": "callr", "Version": "3.7.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -214,7 +214,7 @@ "Package": "checkmate", "Version": "2.1.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "backports", @@ -226,7 +226,7 @@ "Package": "cli", "Version": "3.6.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "utils" @@ -237,7 +237,7 @@ "Package": "clipr", "Version": "0.8.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "utils" ], @@ -247,21 +247,21 @@ "Package": "commonmark", "Version": "1.9.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "d691c61bff84bd63c383874d2d0c3307" }, "cpp11": { "Package": "cpp11", "Version": "0.4.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "ed588261931ee3be2c700d22e94a29ab" }, "crayon": { "Package": "crayon", "Version": "1.5.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "grDevices", "methods", @@ -273,7 +273,7 @@ "Package": "credentials", "Version": "1.3.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "askpass", "curl", @@ -287,7 +287,7 @@ "Package": "curl", "Version": "5.0.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -297,7 +297,7 @@ "Package": "desc", "Version": "1.4.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -311,7 +311,7 @@ "Package": "devtools", "Version": "2.4.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -345,7 +345,7 @@ "Package": "diffobj", "Version": "0.3.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "crayon", @@ -360,7 +360,7 @@ "Package": "digest", "Version": "0.6.31", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "utils" @@ -371,7 +371,7 @@ "Package": "downlit", "Version": "0.4.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "brio", @@ -391,7 +391,7 @@ "Package": "dplyr", "Version": "1.1.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -414,7 +414,7 @@ "Package": "ellipsis", "Version": "0.3.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "rlang" @@ -425,7 +425,7 @@ "Package": "evaluate", "Version": "0.20", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "methods" @@ -436,7 +436,7 @@ "Package": "fansi", "Version": "1.0.4", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "grDevices", @@ -448,14 +448,14 @@ "Package": "fastmap", "Version": "1.1.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "f7736a18de97dea803bde0a2daaafb27" }, "fontawesome": { "Package": "fontawesome", "Version": "0.5.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "htmltools", @@ -467,7 +467,7 @@ "Package": "fs", "Version": "1.6.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "methods" @@ -478,7 +478,7 @@ "Package": "generics", "Version": "0.1.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "methods" @@ -489,7 +489,7 @@ "Package": "gert", "Version": "1.9.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "askpass", "credentials", @@ -504,7 +504,7 @@ "Package": "gh", "Version": "1.4.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -520,7 +520,7 @@ "Package": "git2r", "Version": "0.32.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "graphics", @@ -532,7 +532,7 @@ "Package": "gitcreds", "Version": "0.1.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -542,7 +542,7 @@ "Package": "glue", "Version": "1.6.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "methods" @@ -553,7 +553,7 @@ "Package": "highr", "Version": "0.10", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "xfun" @@ -564,7 +564,7 @@ "Package": "hms", "Version": "1.1.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "lifecycle", "methods", @@ -578,7 +578,7 @@ "Package": "htmltools", "Version": "0.5.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "base64enc", @@ -595,7 +595,7 @@ "Package": "htmlwidgets", "Version": "1.6.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "grDevices", "htmltools", @@ -610,7 +610,7 @@ "Package": "httpuv", "Version": "1.6.9", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -625,7 +625,7 @@ "Package": "httr", "Version": "1.4.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -640,7 +640,7 @@ "Package": "httr2", "Version": "0.2.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -659,7 +659,7 @@ "Package": "hunspell", "Version": "3.0.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "Rcpp", @@ -671,14 +671,14 @@ "Package": "ini", "Version": "0.3.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "6154ec2223172bce8162d4153cda21f7" }, "jquerylib": { "Package": "jquerylib", "Version": "0.1.4", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "htmltools" ], @@ -688,7 +688,7 @@ "Package": "jsonlite", "Version": "1.8.4", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "methods" ], @@ -698,7 +698,7 @@ "Package": "knitr", "Version": "1.42", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "evaluate", @@ -714,7 +714,7 @@ "Package": "later", "Version": "1.3.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "Rcpp", "rlang" @@ -725,7 +725,7 @@ "Package": "lifecycle", "Version": "1.0.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -738,7 +738,7 @@ "Package": "lubridate", "Version": "1.9.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "generics", @@ -751,7 +751,7 @@ "Package": "magrittr", "Version": "2.0.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -761,7 +761,7 @@ "Package": "memoise", "Version": "2.0.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "cachem", "rlang" @@ -772,7 +772,7 @@ "Package": "mime", "Version": "0.12", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "tools" ], @@ -782,7 +782,7 @@ "Package": "miniUI", "Version": "0.1.1.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "htmltools", "shiny", @@ -794,7 +794,7 @@ "Package": "openssl", "Version": "2.0.6", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "askpass" ], @@ -804,7 +804,7 @@ "Package": "pillar", "Version": "1.9.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "cli", "fansi", @@ -821,7 +821,7 @@ "Package": "pkgbuild", "Version": "1.4.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -840,7 +840,7 @@ "Package": "pkgconfig", "Version": "2.0.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "utils" ], @@ -850,7 +850,7 @@ "Package": "pkgdown", "Version": "2.0.7", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "bslib", @@ -880,7 +880,7 @@ "Package": "pkgload", "Version": "1.3.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -900,21 +900,21 @@ "Package": "praise", "Version": "1.0.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "a555924add98c99d2f411e37e7d25e9f" }, "prettyunits": { "Package": "prettyunits", "Version": "1.1.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "95ef9167b75dde9d2ccc3c7528393e7e" }, "processx": { "Package": "processx", "Version": "3.8.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -927,7 +927,7 @@ "Package": "profvis", "Version": "0.3.7", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "htmlwidgets", @@ -939,7 +939,7 @@ "Package": "progress", "Version": "1.2.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R6", "crayon", @@ -952,7 +952,7 @@ "Package": "promises", "Version": "1.2.0.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R6", "Rcpp", @@ -967,7 +967,7 @@ "Package": "ps", "Version": "1.7.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "utils" @@ -978,7 +978,7 @@ "Package": "purrr", "Version": "1.0.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -993,7 +993,7 @@ "Package": "ragg", "Version": "1.2.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "systemfonts", "textshaping" @@ -1004,7 +1004,7 @@ "Package": "rappdirs", "Version": "0.3.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -1014,7 +1014,7 @@ "Package": "rcmdcheck", "Version": "1.4.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R6", "callr", @@ -1036,7 +1036,7 @@ "Package": "readr", "Version": "2.1.4", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -1059,7 +1059,7 @@ "Package": "rematch2", "Version": "2.1.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "tibble" ], @@ -1069,7 +1069,7 @@ "Package": "remotes", "Version": "2.5.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "CRAN", "Requirements": [ "R", "methods", @@ -1081,19 +1081,19 @@ }, "renv": { "Package": "renv", - "Version": "1.0.3", + "Version": "1.0.7", "Source": "Repository", "Repository": "RSPM", "Requirements": [ "utils" ], - "Hash": "41b847654f567341725473431dd0d5ab" + "Hash": "397b7b2a265bc5a7a06852524dabae20" }, "rlang": { "Package": "rlang", "Version": "1.1.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "utils" @@ -1104,7 +1104,7 @@ "Package": "rmarkdown", "Version": "2.21", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "bslib", @@ -1154,7 +1154,7 @@ "Package": "rprojroot", "Version": "2.0.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -1164,14 +1164,14 @@ "Package": "rstudioapi", "Version": "0.14", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "690bd2acc42a9166ce34845884459320" }, "rversions": { "Package": "rversions", "Version": "2.1.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "curl", "utils", @@ -1183,7 +1183,7 @@ "Package": "sass", "Version": "0.4.5", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R6", "fs", @@ -1197,7 +1197,7 @@ "Package": "sessioninfo", "Version": "1.2.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -1210,7 +1210,7 @@ "Package": "shiny", "Version": "1.7.4", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -1244,7 +1244,7 @@ "Package": "sourcetools", "Version": "0.1.7-1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -1254,7 +1254,7 @@ "Package": "spelling", "Version": "2.2.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "commonmark", "hunspell", @@ -1300,7 +1300,7 @@ "Package": "stringi", "Version": "1.7.12", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "stats", @@ -1313,7 +1313,7 @@ "Package": "stringr", "Version": "1.5.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -1349,14 +1349,14 @@ "Package": "sys", "Version": "3.4.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "34c16f1ef796057bfa06d3f4ff818a5d" }, "systemfonts": { "Package": "systemfonts", "Version": "1.0.4", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cpp11" @@ -1367,7 +1367,7 @@ "Package": "testthat", "Version": "3.1.7", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "R6", @@ -1397,7 +1397,7 @@ "Package": "textshaping", "Version": "0.3.6", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cpp11", @@ -1409,7 +1409,7 @@ "Package": "tibble", "Version": "3.2.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "fansi", @@ -1428,7 +1428,7 @@ "Package": "tidyr", "Version": "1.3.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -1451,7 +1451,7 @@ "Package": "tidyselect", "Version": "1.2.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -1467,7 +1467,7 @@ "Package": "timechange", "Version": "0.2.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cpp11" @@ -1478,7 +1478,7 @@ "Package": "tinytex", "Version": "0.45", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "xfun" ], @@ -1488,7 +1488,7 @@ "Package": "tzdb", "Version": "0.3.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cpp11" @@ -1499,7 +1499,7 @@ "Package": "urlchecker", "Version": "1.0.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -1513,7 +1513,7 @@ "Package": "usethis", "Version": "2.1.6", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -1544,7 +1544,7 @@ "Package": "utf8", "Version": "1.2.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R" ], @@ -1554,7 +1554,7 @@ "Package": "vctrs", "Version": "0.6.2", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "cli", @@ -1568,7 +1568,7 @@ "Package": "vroom", "Version": "1.6.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "bit64", @@ -1594,7 +1594,7 @@ "Package": "waldo", "Version": "0.4.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "cli", "diffobj", @@ -1611,14 +1611,14 @@ "Package": "whisker", "Version": "0.4.1", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "c6abfa47a46d281a7d5159d0a8891e88" }, "withr": { "Package": "withr", "Version": "2.5.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "grDevices", @@ -1631,7 +1631,7 @@ "Package": "xfun", "Version": "0.38", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "stats", "tools" @@ -1642,7 +1642,7 @@ "Package": "xml2", "Version": "1.3.3", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "methods" @@ -1653,7 +1653,7 @@ "Package": "xopen", "Version": "1.0.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "processx" @@ -1664,7 +1664,7 @@ "Package": "xtable", "Version": "1.8-4", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Requirements": [ "R", "stats", @@ -1676,14 +1676,14 @@ "Package": "yaml", "Version": "2.3.7", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "0d0056cc5383fbc240ccd0cb584bf436" }, "zip": { "Package": "zip", "Version": "2.3.0", "Source": "Repository", - "Repository": "RSPM", + "Repository": "repos", "Hash": "d98c94dacb7e0efcf83b0a133a705504" } } diff --git a/renv/profiles/4.4/renv.lock b/renv/profiles/4.4/renv.lock new file mode 100644 index 00000000..ec45f2c2 --- /dev/null +++ b/renv/profiles/4.4/renv.lock @@ -0,0 +1,538 @@ +{ + "R": { + "Version": "4.4.0", + "Repositories": [ + { + "Name": "CRAN", + "URL": "https://packagemanager.posit.co/cran/latest" + } + ] + }, + "Packages": { + "R6": { + "Package": "R6", + "Version": "2.5.1", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R" + ], + "Hash": "470851b6d5d0ac559e9d01bb352b4021" + }, + "admiraldev": { + "Package": "admiraldev", + "Version": "1.0.0", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "dplyr", + "hms", + "lifecycle", + "lubridate", + "magrittr", + "purrr", + "rlang", + "stringr", + "tidyr", + "tidyselect" + ], + "Hash": "4ab0476ca36f502f6cdd2080f8d0f261" + }, + "assertthat": { + "Package": "assertthat", + "Version": "0.2.1", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "tools" + ], + "Hash": "50c838a310445e954bc13f26f26a6ecf" + }, + "bit": { + "Package": "bit", + "Version": "4.0.5", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R" + ], + "Hash": "d242abec29412ce988848d0294b208fd" + }, + "bit64": { + "Package": "bit64", + "Version": "4.0.5", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "bit", + "methods", + "stats", + "utils" + ], + "Hash": "9fe98599ca456d6552421db0d6772d8f" + }, + "cachem": { + "Package": "cachem", + "Version": "1.0.8", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "fastmap", + "rlang" + ], + "Hash": "c35768291560ce302c0a6589f92e837d" + }, + "cli": { + "Package": "cli", + "Version": "3.6.2", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "utils" + ], + "Hash": "1216ac65ac55ec0058a6f75d7ca0fd52" + }, + "clipr": { + "Package": "clipr", + "Version": "0.8.0", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "utils" + ], + "Hash": "3f038e5ac7f41d4ac41ce658c85e3042" + }, + "cpp11": { + "Package": "cpp11", + "Version": "0.4.7", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R" + ], + "Hash": "5a295d7d963cc5035284dcdbaf334f4e" + }, + "crayon": { + "Package": "crayon", + "Version": "1.5.2", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "grDevices", + "methods", + "utils" + ], + "Hash": "e8a1e41acf02548751f45c718d55aa6a" + }, + "dplyr": { + "Package": "dplyr", + "Version": "1.1.4", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "R6", + "cli", + "generics", + "glue", + "lifecycle", + "magrittr", + "methods", + "pillar", + "rlang", + "tibble", + "tidyselect", + "utils", + "vctrs" + ], + "Hash": "fedd9d00c2944ff00a0e2696ccf048ec" + }, + "fansi": { + "Package": "fansi", + "Version": "1.0.6", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "grDevices", + "utils" + ], + "Hash": "962174cf2aeb5b9eea581522286a911f" + }, + "fastmap": { + "Package": "fastmap", + "Version": "1.1.1", + "Source": "Repository", + "Repository": "CRAN", + "Hash": "f7736a18de97dea803bde0a2daaafb27" + }, + "generics": { + "Package": "generics", + "Version": "0.1.3", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "methods" + ], + "Hash": "15e9634c0fcd294799e9b2e929ed1b86" + }, + "glue": { + "Package": "glue", + "Version": "1.7.0", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "methods" + ], + "Hash": "e0b3a53876554bd45879e596cdb10a52" + }, + "hms": { + "Package": "hms", + "Version": "1.1.3", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "lifecycle", + "methods", + "pkgconfig", + "rlang", + "vctrs" + ], + "Hash": "b59377caa7ed00fa41808342002138f9" + }, + "lifecycle": { + "Package": "lifecycle", + "Version": "1.0.4", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "cli", + "glue", + "rlang" + ], + "Hash": "b8552d117e1b808b09a832f589b79035" + }, + "lubridate": { + "Package": "lubridate", + "Version": "1.9.3", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "generics", + "methods", + "timechange" + ], + "Hash": "680ad542fbcf801442c83a6ac5a2126c" + }, + "magrittr": { + "Package": "magrittr", + "Version": "2.0.3", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R" + ], + "Hash": "7ce2733a9826b3aeb1775d56fd305472" + }, + "memoise": { + "Package": "memoise", + "Version": "2.0.1", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "cachem", + "rlang" + ], + "Hash": "e2817ccf4a065c5d9d7f2cfbe7c1d78c" + }, + "pillar": { + "Package": "pillar", + "Version": "1.9.0", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "cli", + "fansi", + "glue", + "lifecycle", + "rlang", + "utf8", + "utils", + "vctrs" + ], + "Hash": "15da5a8412f317beeee6175fbc76f4bb" + }, + "pkgconfig": { + "Package": "pkgconfig", + "Version": "2.0.3", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "utils" + ], + "Hash": "01f28d4278f15c76cddbea05899c5d6f" + }, + "prettyunits": { + "Package": "prettyunits", + "Version": "1.2.0", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R" + ], + "Hash": "6b01fc98b1e86c4f705ce9dcfd2f57c7" + }, + "progress": { + "Package": "progress", + "Version": "1.2.3", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "R6", + "crayon", + "hms", + "prettyunits" + ], + "Hash": "f4625e061cb2865f111b47ff163a5ca6" + }, + "purrr": { + "Package": "purrr", + "Version": "1.0.2", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "cli", + "lifecycle", + "magrittr", + "rlang", + "vctrs" + ], + "Hash": "1cba04a4e9414bdefc9dcaa99649a8dc" + }, + "readr": { + "Package": "readr", + "Version": "2.1.5", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "R6", + "cli", + "clipr", + "cpp11", + "crayon", + "hms", + "lifecycle", + "methods", + "rlang", + "tibble", + "tzdb", + "utils", + "vroom" + ], + "Hash": "9de96463d2117f6ac49980577939dfb3" + }, + "renv": { + "Package": "renv", + "Version": "1.0.7", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "utils" + ], + "Hash": "397b7b2a265bc5a7a06852524dabae20" + }, + "rlang": { + "Package": "rlang", + "Version": "1.1.3", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "utils" + ], + "Hash": "42548638fae05fd9a9b5f3f437fbbbe2" + }, + "stringi": { + "Package": "stringi", + "Version": "1.8.4", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "stats", + "tools", + "utils" + ], + "Hash": "39e1144fd75428983dc3f63aa53dfa91" + }, + "stringr": { + "Package": "stringr", + "Version": "1.5.1", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "cli", + "glue", + "lifecycle", + "magrittr", + "rlang", + "stringi", + "vctrs" + ], + "Hash": "960e2ae9e09656611e0b8214ad543207" + }, + "tibble": { + "Package": "tibble", + "Version": "3.2.1", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "fansi", + "lifecycle", + "magrittr", + "methods", + "pillar", + "pkgconfig", + "rlang", + "utils", + "vctrs" + ], + "Hash": "a84e2cc86d07289b3b6f5069df7a004c" + }, + "tidyr": { + "Package": "tidyr", + "Version": "1.3.1", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "cli", + "cpp11", + "dplyr", + "glue", + "lifecycle", + "magrittr", + "purrr", + "rlang", + "stringr", + "tibble", + "tidyselect", + "utils", + "vctrs" + ], + "Hash": "915fb7ce036c22a6a33b5a8adb712eb1" + }, + "tidyselect": { + "Package": "tidyselect", + "Version": "1.2.1", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "cli", + "glue", + "lifecycle", + "rlang", + "vctrs", + "withr" + ], + "Hash": "829f27b9c4919c16b593794a6344d6c0" + }, + "timechange": { + "Package": "timechange", + "Version": "0.3.0", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "cpp11" + ], + "Hash": "c5f3c201b931cd6474d17d8700ccb1c8" + }, + "tzdb": { + "Package": "tzdb", + "Version": "0.4.0", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "cpp11" + ], + "Hash": "f561504ec2897f4d46f0c7657e488ae1" + }, + "utf8": { + "Package": "utf8", + "Version": "1.2.4", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R" + ], + "Hash": "62b65c52671e6665f803ff02954446e9" + }, + "vctrs": { + "Package": "vctrs", + "Version": "0.6.5", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "cli", + "glue", + "lifecycle", + "rlang" + ], + "Hash": "c03fa420630029418f7e6da3667aac4a" + }, + "vroom": { + "Package": "vroom", + "Version": "1.6.5", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "bit64", + "cli", + "cpp11", + "crayon", + "glue", + "hms", + "lifecycle", + "methods", + "progress", + "rlang", + "stats", + "tibble", + "tidyselect", + "tzdb", + "vctrs", + "withr" + ], + "Hash": "390f9315bc0025be03012054103d227c" + }, + "withr": { + "Package": "withr", + "Version": "3.0.0", + "Source": "Repository", + "Repository": "CRAN", + "Requirements": [ + "R", + "grDevices", + "graphics" + ], + "Hash": "d31b6c62c10dcf11ec530ca6b0dd5d35" + } + } +} diff --git a/renv/profiles/4.4/renv/.gitignore b/renv/profiles/4.4/renv/.gitignore new file mode 100644 index 00000000..0ec0cbba --- /dev/null +++ b/renv/profiles/4.4/renv/.gitignore @@ -0,0 +1,7 @@ +library/ +local/ +cellar/ +lock/ +python/ +sandbox/ +staging/ diff --git a/renv/profiles/4.4/renv/settings.json b/renv/profiles/4.4/renv/settings.json new file mode 100644 index 00000000..74c1d4bb --- /dev/null +++ b/renv/profiles/4.4/renv/settings.json @@ -0,0 +1,19 @@ +{ + "bioconductor.version": null, + "external.libraries": [], + "ignored.packages": [], + "package.dependency.fields": [ + "Imports", + "Depends", + "LinkingTo" + ], + "ppm.enabled": null, + "ppm.ignored.urls": [], + "r.version": null, + "snapshot.type": "explicit", + "use.cache": true, + "vcs.ignore.cellar": true, + "vcs.ignore.library": true, + "vcs.ignore.local": true, + "vcs.manage.ignores": true +}