Re: [R-pkg-devel] Skipping tests on CRAN

2021-04-20 Thread Mark van der Loo
Hi Ott, There is no documented way to detect whether you are running on CRAN. So there is nothing to rely on, on that side. You can only make your own machine detectable by the test code. For example by setting an environment variable that identifies your machine and make test execution depend on

[R-pkg-devel] Skipping tests on CRAN

2021-04-20 Thread Ott Toomet
Hi packagers, what is the best way to skip certain tests on CRAN? So far I have included certain test files in .Rbuildignore and run the tests on the package directory. But now when moving to Authors@R format, I get errors about missing maintainer etc. I know there are options in testthat, tiny

[R-pkg-devel] Warning: Vignettes missing from index

2021-04-20 Thread Marcelo Araya Salas
I am trying to build the website for my NatureSounds package with pkgdown but I got the following error message: Warning: Vignettes missing from index: I already have this metadata in the vignette: vignette: > %\VignetteIndexEntry{Acoustic data sets in NatureSounds} %\usepackage[utf8]{inp

[R-pkg-devel] Package from non-mainstream repository

2021-04-20 Thread Barbara Lerner
When checking my package with R-devel, I get the following notes.  In the current and earlier versions of R, I got the same note concerning incoming feasibility, but the NOTE about the package not being available for checking did not occur.  What do I need to do to get rid of that note? * check