> To circumvent this, I check using: > > R --no-init-file CMD check foo_1.0.tar.gz
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 -- Chief Scientist, RStudio http://had.co.nz/ ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel