On 21/06/2015 1:03 PM, Gábor Csárdi wrote: > On Sun, Jun 21, 2015 at 12:09 PM, Duncan Murdoch > <murdoch.dun...@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.
Which seems like a problem with that package... > > Also, the OP wants run _additional_ tests, not something _instead_ of > the "regular" ones. But it's trivial to source files from the tests directory. Or perhaps (I don't know, I don't use it) it's trivial to tell travis to run the standard R CMD check, followed by the suggested one. Duncan Murdoch ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel