Skip to content
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

Compilation error #1694

Closed
jennybc opened this issue Sep 23, 2022 · 0 comments · Fixed by #1695
Closed

Compilation error #1694

jennybc opened this issue Sep 23, 2022 · 0 comments · Fixed by #1695

Comments

@jennybc
Copy link
Member

jennybc commented Sep 23, 2022

I can't compile or check testthat at the moment. I see:

  clang++ -I"/Library/Frameworks/R.framework/Versions/4.2/Resources/include" -DNDEBUG -I../inst/include -DCOMPILING_TESTTHAT  -I/usr/local/include   -fPIC  -g -O0 -Wall -pedantic -mtune=native -c test-runner.cpp -o test-runner.o
   In file included from test-runner.cpp:7:
   In file included from ../inst/include/testthat.h:1:
   In file included from ../inst/include/testthat/testthat.h:72:
   ../inst/include/testthat/vendor/catch.h:7187:59: error: use of undeclared identifier 'rng'
               random_shuffle( vector.begin(), vector.end(), rng );
                                                             ^
   1 error generated.

@kevinushey I think you were in this neighborhood recently (#1688). Is there more information about my system that would be helpful? macOS Big Sur 11.7 with up-to-date Xcode command line tools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant