grantmcdermott / tinyplot

Lightweight extension of the base R graphics system
https://grantmcdermott.com/tinyplot
Apache License 2.0
204 stars 7 forks source link

Skip tests on CRAN to reduce install size #145

Closed grantmcdermott closed 3 months ago

grantmcdermott commented 3 months ago

Closes #111.

@vincentarelbundock, @zeileis (and anyone else who might want to contribute/test the package locally (@etiennebacher, @eitsupi, @eddelbuettel?):

The new testing logic requires that you add the NOT_CRAN=TRUE environment variable to your ~/.Renviron file for local testing. (Or, export it as part of your .bashrc/.zshrc/etc. dotfile if you prefer.) This env var should be set automatically with our current GHA CI setup.

I'll make a note to manually add inst/tinytest to .Rbuildignore before I actually submit to CRAN.

PS. I accidentally separated out Vincent's original PR here. But this second attempt includes additional changes that I wanted to add.)

PPS. I haven;t given up all hope on the git submodule idea (c.f. this test repo), but this has been dragging on long enough so Occam's Razor applies.