Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork219
Feature/win debug dll (closes #1035)#1037
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
codecov-io commentedDec 17, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov Report
@@ Coverage Diff @@## master #1037 +/- ##==========================================+ Coverage 91.92% 91.92% +<.01%========================================== Files 64 64 Lines 2935 2936 +1 ==========================================+ Hits 2698 2699 +1 Misses 237 237
Continue to review full report at Codecov.
|
| }else { | ||
| if (verbose&&windowsDebugDLL) { | ||
| message("The 'windowsDebugDLL' toggle is ignored on non-Windows platforms.") | ||
| windowsDebugDLL<-FALSE# now we do not need to deal with OS choice below |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Shouldn't this be outside the if()? As it stands now, this will only trigger ifverbose = TRUE is passed (it normally isn't.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Nice catch. I think you are correct. Will fix.
eddelbuettelDec 17, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
New variant:
if (verbose) { message("The 'windowsDebugDLL' toggle is ignored on""non-Windows platforms.") }windowsDebugDLL<-FALSE# now we do not need to deal with OS choice below }# #nocov end
Better...
| \itemSafer \code{Rcpp_list*}, \code{Rcpp_lang*}and | ||
| \code{Function.operator()} (Romainin \ghpr{1014}, \ghit{1015}). | ||
| \itemAnumberof \code{#nocov} markers were added (Dirk in | ||
| \ghprP1036}). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
| \ghprP1036}). | |
| \ghpr{1036}). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Hmpf. I could swear I can a check which should spotted that. Will fix!
| if (windowsDebugDLL) { | ||
| if (verbose) { | ||
| message("The 'windowsDebugDLL' toggle is ignored on" | ||
| message("The 'windowsDebugDLL' toggle is ignored on", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Good catch on this one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Well it was a last-second edit to comply with the@jjallaire style of less than 80 columns. I find 100 or so easier and this is what I got for it :)
eddelbuettel commentedDec 17, 2019
Thanks for the review. There isn't all that much else here, and you caught the one obvious thinko, so I think I'll merge this now. |
| \itemUnavailablepackagesreferredtoin \code{LinkingTo}arenow | ||
| reported (Dirkin \ghpr{1027}fixing \ghit{1026}). | ||
| \itemThe \code{sourceCpp}functioncannowcreateadebugDLLon | ||
| Windows (Dirkin \ghpr{1037}fixing \ghit{ghit}). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Also, there's\ghit{ghit}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Bah. Something must be wrong with the water. Or the coffee. Or both.
Changed to\ghit{1035}. Thanks again.
See the discussion and resolution in#1035 -- this addresses a narrow need for debugging when using windows and
sourceCpp().Checklist
R CMD checkstill passes all tests