pkg_build | R Documentation |
Building, checking and installing R packages.
pkg_build(pkg, parent.dir = ".", check = FALSE,
build.vignettes = TRUE,
run.tests = TRUE, install = FALSE,
keep.source = FALSE,
clean = FALSE,
bump.version = FALSE,
bump.date = FALSE,
resave.data = TRUE,
as.cran = FALSE,
show.test.results = TRUE,
verbose = TRUE,
use.crayon = FALSE)
latest_version(pkg, path = ".", type = "source", strict = TRUE)
pkg |
package name |
parent.dir |
a string: the path in which the source directories reside |
type |
string: |
as.cran |
logical |
strict |
logical. See |
pkg_build
builds a package from a source directory, and
optionally checks and installs it.
a character vector, insisibly
Enrico Schumann
basedir <- "~/Packages"
packages <- c("NMOF", "PMwR")
for (p in packages)
pkg_build(pkg = p,
parent.dir = basedir,
install = TRUE,
check = TRUE,
clean = FALSE,
keep.source = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.