Closed arkid15r closed 1 year ago
After initializing renv
with
options(warn = 2)
options(repos = structure(c(
Bioconductor = "https://bioconductor.org/packages/3.6/bioc/",
BioconductorAnnotation = "https://bioconductor.org/packages/3.6/data/annotation/",
BioconductorExperiment = "https://bioconductor.org/packages/3.6/data/experiment",
CRAN = "https://cloud.r-project.org/"
)))
options(Ncpus = parallel::detectCores())
options(renv.r.version = "3.6.3")
options(renv.settings.use.cache = FALSE)
install.packages("renv")
install.packages("BiocManager")
renv::init(bioconductor = "3.6")
the dependencies can be captured by renv::snapshot(type="all")
Problem or idea
Figure out how to get custom repository packages added to
renv.lock
Solution or next step
Read
renv
documentation, experiment with a couple of packages.