Description Usage Arguments Value Note Examples
check all repos in a folder for version entry less than the one reported by BiocPkgTools::biocPkgList
1 | local_gits_behind_bioc(gitspath, biocversion = "3.11")
|
gitspath |
character(1) folder where repos for packages are cloned |
biocversion |
character(1) defaults to "3.11" |
a character vector of names of packages whose git sources are out of date
DESCRIPTION will be read from each folder in gitspath.
1 2 3 4 5 6 7 8 9 10 11 12 | ps = PackageSet(c("parody", "ensembldb")) # bioc_coreset()[c(3,8)]) # two simple packages
tf = tempfile()
dir.create(tf)
ll = populate_local_gits(ps, tf)
curd = getwd()
setwd(tf)
pd = readLines("parody/DESCRIPTION")
pd = gsub("Version.*", "Version: 1.0", pd) # version here < version in git so need to update here
writeLines(pd, "parody/DESCRIPTION")
local_gits_behind_bioc(tf)
setwd(curd)
unlink(tf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.