-
Notifications
You must be signed in to change notification settings - Fork 7
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
Fix #25 #27
base: master
Are you sure you want to change the base?
Fix #25 #27
Conversation
This gives a warning, It makes no sense to me and the tests are still passing.
where is CxxFlags() used ? |
In de doc:
(and I use it to set up my build environment with qmake) |
Codecov Report
@@ Coverage Diff @@
## master #27 +/- ##
============================================
- Coverage 100.00% 70.00% -30.00%
============================================
Files 1 2 +1
Lines 24 30 +6
============================================
- Hits 24 21 -3
- Misses 0 9 +9
Continue to review full report at Codecov.
|
|
Can you elaborate a bit?
you mean the one in the tests? I have no clue why it is there. Did you write it?
I have not touched the tests, except the removal of the source(...).
Do you have a suggestion against what should be tested? I mean the function returns different strings, depending on your installation... |
I probably moved it from R/ when I wrote the tests, forgetting that it was referenced in the docs.
I don't think they work, e.g. test_sequential(nb = 500) should be replaced by RcppProgress:::test_sequential(nb = 500) since the functions are not exported. Or maybe we should export them..., especiall cxxflags.
just checking that it's callable is a start. You could try to mess up with .Platform (and restoring it) to test the two cases if you are motivated. |
Please review.
I finally decided against exporting the functions as they would require documentation then and as the functions are part of the doc themselves, this would make no sense, imho... Hence there is no Roxygen needed.
TODO:
RcppProgress (>= new version)
MakeVars
is not needed anymore when you use// [[Rcpp::depends(RcppProgress)]]
(AFAIK)