[R-pkg-devel] R_CStackLimit and OpenMP for CRAN Packages
Jonathan Lisic
jlisic at gmail.com
Wed Aug 3 11:26:30 CEST 2016
Hi,
I just had a CRAN rejection due to setting R_CStackLimit = (uintptr_t)-1 , e.g Found non-API call to R: ‘R_CStackLimit’.
This stack limit change is done to avoid stack overruns when I use OpenMP with C. Are there other ways around this issue? or should I just accept the large performance loss and disable OpenMP?
Here is a link to my package: https://github.com/jlisic/rasterKernelEstimates <https://github.com/jlisic/rasterKernelEstimates>
Thanks,
Jonathan Lisic
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list