Closed riccardoporreca closed 4 years ago
Making sure no warnings are triggered by the unit tests committed with e4ac407
MacOS checks enabled on TravisCI with e529adf, revealing the issues with building vignettes
Issues with building / linking against rTRNG in C++ code chunks (and similarly in packages) addressed by conditionally evaluating them based on a check for a minimal sourceCpp()
example => d9e24dd fixes the issues macOS issues on Travis. The general approach is to keep this optional and document it properly.
Before submitting a new version of rTRNG to CRAN, we should address the macOS errors on the CRAN package check page.
In particular, the following issues are reported
Some tests are failing on macOS
In fact we have exactly 30 warnings when running tests in Ubuntu for the same test reported here
Most likely this is detected as a failure under macOS, and fixing the expectation as hinted in the warning message might solve the issue.
Re-building the vignettes fails on macOS (and Solaris)
This happens for C++ code chunks using
sourceCpp()