-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TBB issues when CRAN runs tests on package #169
Comments
Your best hope is to disable TBB when testing on CRAN. This can be done by setting the environment variable
in your tests. Unfortunately the TBB library does a variety of things that trip the ASAN / UBSAN checkers on CRAN and there's really just not much I can do about it. |
Thanks for your prompt and very helpful response. I can easily do that. |
Hi @kevinushey, I encountered an error while trying to install
I was wondering if there is any compile flag to disable TBB and use |
If you supply |
I see... Does that mean I have to edit the makevars instead of using configure.args? |
It's a non-autoconf configure script calling R code. If you take a hard look at it, maybe you propose a concise PR that would listen to an outer environment variable (or alike) to avoid hand edits? Not sure we have good precedents but there may be some somewhere... |
Firstly, please direct me to a more suitable list if this is not where I should seek help with RcppParallel.
CRAN would like me to fix clang-ASAN and clang-UBSAN issues from RcppParallel when I submit packages 'secr' and 'openCR'. These are completely arcane to me. The problem only seems to arise when running tests. Is there a setting in RcppParallel >=5.1.1 that will get me through?
The test results are at
https://www.stats.ox.ac.uk/pub/bdr/memtests/clang-ASAN/secr/tests/testthat.Rout.fail
and
https://www.stats.ox.ac.uk/pub/bdr/memtests/clang-UBSAN/openCR/tests/testthat.Rout
Here is a typical snippet from the first:
Thanks
Murray
The text was updated successfully, but these errors were encountered: