R/coreset.R
populate_local_gits.Rd
use git via BiocBBSpack::getpk to retrieve sources into a folder
populate_local_gits(pkgset, gitspath)
instance of PackageSet
character(1) folder to be created if it does not exist
invisibly, the list of folders created under gitspath
ps = PackageSet(c("BiocFileCache", "ensembldb")) #bioc_coreset()[c(3,8)]) # two example packages
#> 'getOption("repos")' replaces Bioconductor standard repositories, see
#> '?repositories' for details
#>
#> replacement repositories:
#> CRAN: https://cloud.r-project.org
td = tempdir()
ll = populate_local_gits(ps, td)
ll
#> [1] "BiocFileCache" "downlit"
#> [3] "ensembldb" "file168b1f89c56a"
#> [5] "file168b579b5381" "libloc_195_8e2640ae0e7778e7.rds"
#> [7] "libloc_243_73e1dc07e520c1a4.rds" "parody"