[R-pkg-devel] how to skip tests on CRAN but NOT on travis-ci?
csardi.gabor at gmail.com
Sun Jun 21 19:03:22 CEST 2015
On Sun, Jun 21, 2015 at 12:09 PM, Duncan Murdoch
<murdoch.duncan at gmail.com> wrote:
> Besides the other suggestions, you can put tests in directories other
> than "tests". By default they won't run, but
> R CMD check --test-dir=travisTests
> will run them. So if you can tell travis to add that option to the
> command line, you could put all the travis-specific tests into
> inst/travisTests, and it will run them instead of the regular ones.
AFAIK this does not play very well with testthat, which the OP is clearly using.
Also, the OP wants run _additional_ tests, not something _instead_ of
the "regular" ones.
More information about the R-package-devel