Skip to content
Prev 6867 / 12125 Next

[R-pkg-devel] Skipping tests on CRAN

Thanks everyone!

I'd like to follow the Duncan's approach but I am not sure if it solves the
issue:
* if I put the private tests into a separate folder and ignore it when
building the package, then I still cannot run these checks without creating
the tarball (Maintainer, Author not built into DESCRIPTION)
* If I do not ignore this folder and build it into a tarball, then both
private and public tests work, but now check-as-cran complains about
non-standard directories.

I do not see an option like --do-not-test-description which would skip the
issues with authors and maintainers.  Obviously, I can replicate authors
both in @R and plain format but then again, what is the point of @R format?

So for now I'll probably go with the Dirk's suggestion to default to "few
tests" and set up an environment variable just for myself.

BTW, Mark, I really like your tinytest vignettes :-)  I should maybe move
my tests over to this one day.

Best,
Ott
On Wed, Apr 21, 2021 at 3:03 AM Sebastian Meyer <seb.meyer at fau.de> wrote: