use git via BiocBBSpack::getpk to retrieve sources into a folder

populate_local_gits(pkgset, gitspath, ...)

Arguments

pkgset

instance of PackageSet

gitspath

character(1) folder to be created if it does not exist

...

passed to getpk (might be useful for setting RELEASE_X_XX for git clone)

Value

invisibly, the list of folders created under gitspath

Examples

ps = PackageSet(bioc_coreset()) # small
#> 'getOption("repos")' replaces Bioconductor standard repositories, see
#> '?repositories' for details
#> 
#> replacement repositories:
#>     CRAN: https://cloud.r-project.org
ps = add_dependencies(ps)
#> 'getOption("repos")' replaces Bioconductor standard repositories, see
#> '?repositories' for details
#> 
#> replacement repositories:
#>     CRAN: https://cloud.r-project.org
tf = tempfile("pop")
dir.create(tf)
ll = populate_local_gits(pkgset=ps, gitspath=tf)
ll
#> [1] "/tmp/RtmpDgwcWi/pop3b8f86f8f2c1e/BiocFileCache"
#> [2] "/tmp/RtmpDgwcWi/pop3b8f86f8f2c1e/eds"          
#> [3] "/tmp/RtmpDgwcWi/pop3b8f86f8f2c1e/parody"       
#> [4] "/tmp/RtmpDgwcWi/pop3b8f86f8f2c1e/vsn"