Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why not use devtools::check() instead of R CMD check? #132

Open
lcolladotor opened this issue Sep 17, 2014 · 0 comments
Open

Why not use devtools::check() instead of R CMD check? #132

lcolladotor opened this issue Sep 17, 2014 · 0 comments

Comments

@lcolladotor
Copy link

Hi,

Looking again at travis-tool.sh I feel like pieces of it could be simplified by using devtools::check(). I know that this will end up running R CMD build and R CMD check in the end, but it deals with all the environment variables and options. After all, travis-tool.sh uses devtools in several parts already.

Anyhow, in relation to #129, it took me a while to figure out why the outputs from time R CMD check and system.time(devtools::check()) were different (not the final time, but the output). Turns out that I got used to the default behavior of devtools::check() which sets the environment variable _R_CHECK_TIMINGS_=10 (see https://github.com/hadley/devtools/blob/master/R/check.r#L142 and http://cran.r-project.org/doc/manuals/r-release/R-ints.html#Tools).

Cheers,
Leo

lcolladotor added a commit to leekgroup/derfinderHelper that referenced this issue Sep 17, 2014
…#132 Also now dumping the timings info (testing proper syntax for this) and system info as documented in https://github.com/craigcitro/r-travis/wiki and from looking at travis-tool.sh
lcolladotor added a commit to leekgroup/derfinderHelper that referenced this issue Jul 26, 2017
…#132 Also now dumping the timings info (testing proper syntax for this) and system info as documented in https://github.com/craigcitro/r-travis/wiki and from looking at travis-tool.sh

From: lcolladotor <lcollado@jhsph.edu>

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/derfinderHelper@105209 bc3139a8-67e5-0310-9ffc-ced21a209358
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant