My R package (git repository) passes devtools::build
locally on my Mac, but the CRAN incoming checks indicate that two of the examples fail on Windows and Linux with the following error:
ERROR
Running examples in 'NRejections-Ex.R' failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
Strangely, this same package had previously passed checks and been uploaded to CRAN, but I recently got an email saying that it is no longer passing these checks on other platforms.
There was a previous question about the same error message, but there it seems the error was inherent to the examples and not platform-dependent.