getpk | R Documentation |
use HTTPS to clone a package from Bioconductor git
getpk(x, branch = "RELEASE_3_15", nuke_inst_doc = TRUE)
x |
character(1) package name expected to be a Bioconductor package in git |
branch |
character(1) "RELEASE_3_15" is default |
nuke_inst_doc |
logical(1) defaults to TRUE ... to avoid pkgbuild::build query, remove inst/doc |
result of system()
Oct 2022 added –depth 1 to git clone command
td = tempdir()
wd = getwd()
setwd(td)
lk = getpk("parody")
if (FALSE) lk2 = try(getpk("parody_z")) # should fail
setwd(wd)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.