Run R CMD check from R and Capture Results
Run R CMD check form R programatically, and capture the results of the individual checks.
source("https://install-github.me/r-lib/rcmdcheck")
library(rcmdcheck)
rcmdcheck("path/to/R/package")
Call rcmdcheck()
on a source R package .tar.gz
file, or on a folder
containing your R package. Supply quiet = FALSE
if you want to omit the
output. The result of the check is returned, in a list with elements
errors
, warnings
, and notes
. Each element is a character vector,
and one element of the character vectors is a single failure.
MIT © Mango Solutions, Gábor Csárdi, RStudio