[R-pkg-devel] what is difference between Mac setup of rhub and CRAN
The R-hub macOS machine is also 10.11.6, and has XCode 8.2.1, but does not use the CRAN clang 4.0.0 compiler currently. Seems like your package has compiled code, so this _might_ matter. Sometimes there are issues when linking C++ libs produced by different compilers, because the ABIs can be slightly different. E.g. exceptions are sometimes lost between compilation units. So if you are linking to a system library that was compiled with the standard macOS compiler, then this can come up. I suggest you download the clang compiler from CRAN and try to reproduce it locally. Best, Gabor
On Thu, Jan 31, 2019 at 9:03 AM Jan Wijffels <jwijffels at bnosac.be> wrote:
Hello, I'm trying to find out what is different between the rhub and CRAN software for Mac OS to fix the FAIL statement on a package I maintain called ruimtehol (https://CRAN.R-project.org/package=ruimtehol). The package builds and checks fine on all CRAN platforms except Mac OS r-release-osx-x86_64. From what I see, the Mac setups on CRAN are currently: 1/ CRAN running R 3.4.4: r-oldrel-osx-x86_64 : OS X 10.11.6: Xcode 8.2.1, clang 4.0.0, GNU Fortran 6.1 2/ CRAN running R 3.5.2: r-release-osx-x86_64 : OS X 10.11.6: Xcode 8.2.1, clang 4.0.0, GNU Fortran 6.1 3/ rhub running R 3.5.2: unknown setup The ruimtehol R package builds and checks fine on both CRAN running R 3.4.4 and rhub running R 3.5.2 but apparently FAILS on CRAN running R 3.5.2. *Question 1*: Can someone indicate what is the difference between the 3 platforms regarding Mac setup (which possibly might give an indication on what this check problem on the ruimtehol package) *Question 2*: What can be a reason why a package fails on r-release-osx-x86_64 but checked fine on r-oldrel-osx-x86_64? FYI. Rhub build on Mac OS with R 3.5.2. is available at https://artifacts.r-hub.io/ruimtehol_0.1.2.tar.gz-147a4e1367b49538e6134bf0fdf76a32 CRAN check restuls of the package are at https://cran.r-project.org/web/checks/check_results_ruimtehol.html thank you, Jan Jan Wijffels Statistician www.bnosac.be | +32 486 611708 [[alternative HTML version deleted]]
______________________________________________ R-package-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel