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

Rcpp test coverage with c++11 #131

Closed
seninp opened this issue Dec 28, 2015 · 2 comments
Closed

Rcpp test coverage with c++11 #131

seninp opened this issue Dec 28, 2015 · 2 comments
Labels
bug an unexpected problem or unintended behavior

Comments

@seninp
Copy link

seninp commented Dec 28, 2015

I used covr to collect the test coverage for my R/Rcpp code and everything worked just right. But when I bumped to C++ 11 (I need to use unordered maps and few other things), I can no longer get the test coverage for cpp files. Specifically things changed after I added "SystemRequirements: C++11" to my project DESCRIPTION file. Is there any way to see the test coverage for cpp files whilst using C++ 11?

@jimhester
Copy link
Member

Do you have an example repository where this is failing? It will be easier to diagnose the issue with an concrete example.

@seninp
Copy link
Author

seninp commented Dec 28, 2015

Thank you! The repository is jmotif-r. The first build where it didn't collect the coverage is this e65e3c5 the last success is this one 3792b10.

Last days I spent much time tinkering with C++ versions and flags, could be difficult to navigate through commits, sorry.

@jimhester jimhester added the bug an unexpected problem or unintended behavior label Jan 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants