Skip to content
Prev 44891 / 63424 Next

Trouble building package using R in development

In devtools, we take considerable care to match the R you're running
with the R you're checking in, so we also set the following
environmental variables:

env <- c(
    "LC_ALL" = "C",
    "R_LIBS" = paste(.libPaths(), collapse = .Platform$path.sep),
    "CYGWIN" = "nodosfilewarning",
    "R_TESTS" = "",
    "NOT_CRAN" = "true",
    "TAR" = auto_tar(),
)

and always run /path/to/current/R --vanilla CMD check ...

Hadley