Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upError with Oracle compiler (likely Solaris only) #3285
Comments
|
I didn't even know Oracle had a compiler let alone that CRAN uses it. |
|
It might be Solaris. The flavors spec shows Oracle compiler just for Solaris. |
|
Is this compiler freely available for project like our? Do we have access to it somewhere? What version of that compiler is in use for that CRAN check? It seems there was one false positive like that in the past: https://community.oracle.com/thread/2492099 |
|
Yes free: https://en.wikipedia.org/wiki/Oracle_Developer_Studio |
|
On Ubuntu 18.04 (bionic) |
|
Reply from Prof Ripley : The problem is the 'const' in
If you remove it and similar instances elsewhere, the package compiles and passes its checks. See the attached patch. |

Email received from Prof Ripley :
As you will see from the CRAN results page, this newly fails to install
with the Oracle compiler. It does install with gcc but many of the
packages depending on segfault in their checks, in function gforce.
(This seems not to be showing currently: the nub is
which are inside OpenMP sections. Using a parallel install shows similar
issues in frollR, frolladaptive at least.)