Message-ID: <217EC0E9-BE46-4703-8B4A-202F72E7F186@gmail.com>
Date: 2016-08-03T09:26:30Z
From: Jonathan Lisic
Subject: [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
[[alternative HTML version deleted]]