Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged
eddelbuettel merged 5 commits intomasterfromfeature/win_debug_dll
Dec 17, 2019

Conversation

@eddelbuettel
Copy link
Member

See the discussion and resolution in#1035 -- this addresses a narrow need for debugging when using windows andsourceCpp().

Checklist

  • Code compiles correctly
  • R CMD check still passes all tests
  • Document the changes by file inChangeLog
  • User confirmed issue as addressed

@codecov-io
Copy link

codecov-io commentedDec 17, 2019
edited
Loading

Codecov Report

Merging#1037 intomaster willincrease coverage by<.01%.
The diff coverage is100%.

Impacted file tree graph

@@            Coverage Diff             @@##           master    #1037      +/-   ##==========================================+ Coverage   91.92%   91.92%   +<.01%==========================================  Files          64       64                Lines        2935     2936       +1     ==========================================+ Hits         2698     2699       +1  Misses        237      237
Impacted FilesCoverage Δ
R/Attributes.R90.4% <100%> (+0.02%)⬆️

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last update43a6d84...9da65da. Read thecomment docs.

}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
Copy link
Contributor

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.)

Copy link
MemberAuthor

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.

Copy link
MemberAuthor

@eddelbuetteleddelbuettelDec 17, 2019
edited
Loading

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}).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
\ghprP1036}).
\ghpr{1036}).

Copy link
MemberAuthor

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",
Copy link
Contributor

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.

Copy link
MemberAuthor

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
Copy link
MemberAuthor

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.

@eddelbuetteleddelbuettel merged commitee2e102 intomasterDec 17, 2019
\itemUnavailablepackagesreferredtoin \code{LinkingTo}arenow
reported (Dirkin \ghpr{1027}fixing \ghit{1026}).
\itemThe \code{sourceCpp}functioncannowcreateadebugDLLon
Windows (Dirkin \ghpr{1037}fixing \ghit{ghit}).
Copy link
Contributor

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}

Copy link
MemberAuthor

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.

@eddelbuetteleddelbuettel deleted the feature/win_debug_dll branchDecember 20, 2019 13:43
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@coatlesscoatlesscoatless approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@eddelbuettel@codecov-io@coatless

[8]ページ先頭

©2009-2025 Movatter.jp