populate_local_gits: use git via BiocBBSpack::getpk to retrieve sources into a...

View source: R/coreset.R

populate_local_gitsR Documentation

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

Description

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

Usage

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

Note

Will ignore packageset elements that already have folders in gitspath.

Examples

ps = PackageSet(bioc_coreset()) # small
ps = add_dependencies(ps)
tf = tempfile("pop")
dir.create(tf)
ll = populate_local_gits(pkgset=ps, gitspath=tf)
ll

vjcitn/BiocBuildTools documentation built on March 15, 2024, 4:19 a.m.