devtools (version 0.6)

check: Build and check a package, cleaning up automatically on success.

Description

check automatically builds a package before using R CMD check as this is the recommended way to check pakcages. Note that this process runs in an independent realisation of R, so nothing in your current workspace will affect the proces.

Usage

check(pkg = NULL, document = TRUE, cleanup = TRUE)

Arguments

pkg
package description, can be path or package name. See as.package for more information
document
if TRUE (the default), will update and check documentation before running formal check.
cleanup
if TRUE the check directory is removed if the check is successful - this allows you to inspect the results to figure out what went wrong. If FALSE the check directory is never removed.