[R-pkg-devel] Package fails on OSX on CRAN but not on rhub

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Thu Apr 23 20:24:20 CEST 2020

On 23 April 2020 at 19:06, Stuart Lacy via R-package-devel wrote:
| I've been told to fix the problems that my package 'multistateutils' has on
| OSX:
| https://cran.r-project.org/web/checks/check_results_multistateutils.html
| This is seemingly something to do with my Rcpp code, but I can't debug it
| on my local (Linux) machine, as when I check my code using Rhub it passes
| the checks:
| https://builder.r-hub.io/status/multistateutils_1.2.4.tar.gz-9295de3b93d746eb93983d33269cf08d
| Does anyone have any tips for testing their packages on OSX, or any
| OSX-specific issues with Rcpp?

Yes -- Rcpp 1.0.4 passed on macOS at CRAN was released there. And only
post-release, many macOS users (who could have tested pre-release) made a lot
of noise concerning issues on their machines.  Eventually, and thanks to
careful digging by Winston, it was seen as being caused by a newer (relative
to what CRAN has) macOS SDK issued by Apple. And Rcpp was prepared
almost three weeks ago, admitted on CRAN about two weeks ago ... but still
only has one out of three binaries for macOS built on CRAN as you see at


Given that the _binary_ package for macOS may be useless for you, you could
try to force installation of the _source_ package for your testing.

It should work just fine.

If you want to see more details, see issue #1060 at the Rcpp GitHub repo.


http://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org

More information about the R-package-devel mailing list