You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
…#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
Hi,
Looking again at
travis-tool.sh
I feel like pieces of it could be simplified by usingdevtools::check()
. I know that this will end up runningR CMD build
andR CMD check
in the end, but it deals with all the environment variables and options. After all,travis-tool.sh
usesdevtools
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
andsystem.time(devtools::check())
were different (not the final time, but the output). Turns out that I got used to the default behavior ofdevtools::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
The text was updated successfully, but these errors were encountered: