Skip to content
Prev 986 / 12125 Next

[R-pkg-devel] R_CStackLimit and OpenMP for CRAN Packages

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