Re: [R-pkg-devel] winUCRT failures

2021-04-26 Thread Ott Toomet
I think part of the problem is that the corresponding section in "Writing R extensions" is not very clear for newcomers. I admit I have read it several times as I have been confused about the difference between suggest, imports and depends, and so combed section 1.1.3 repeatedly. But from this em

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

2021-04-21 Thread Ott Toomet
uot;no natural language support") > q("no") > } > > Don't run such code in an interactive session if you don't want to quit > R. ;) > > An alternative is the R CMD check --test-dir=inst/slowTests approach > mentioned in the WRE manual at > >

[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

Re: [R-pkg-devel] Using the amsmath package in a vignette.

2021-03-03 Thread Ott Toomet
As I read the docs (a few months ago though), you are supposed to include the pdf and encouraged to include sources, but the process to get pdf from source may depend on your private libraries/data/software, and is not replicated on CRAN checks. This seemed to work for me as my vignette includes a

Re: [R-pkg-devel] openMP/reduction statement causes build crash on travis-ci

2016-08-03 Thread Ott Toomet
Linux w/gcc 5.4.0, libgomp1.0.0 > [2] > > https://builder.r-hub.io/status/gower_0.0.1.tar.gz-8c487e92f4af364ee73f85ca8f59775c > [3] https://travis-ci.org/markvanderloo/gower#L619 > > [[alternative HTML version deleted]] > > _________

Re: [R-pkg-devel] how to make "r-release-osx-x86_64-mavericks" machine support rgl 3D plots

2015-10-08 Thread Ott Toomet
doesn't stop rgl from running, it just stops it from trying to display > anything. So you could put code like > > if (!interactive()) > options(rgl.useNULL = TRUE) > > into your .onLoad function for your package, and it wouldn't try to open > a display on CRAN, o