-
-
Notifications
You must be signed in to change notification settings - Fork 219
Readonly file io error #1346
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
Readonly file io error #1346
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
2024-11-25 Simon Guest <[email protected]> | ||
* src/attributes.cpp: fix CPP source having to be writable | ||
|
||
2024-11-03 Marco Colombo <[email protected]> | ||
|
||
* vignettes/rmd/Rcpp-FAQ.Rmd: Fixed typos | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3279,7 +3279,7 @@ namespace { | |
|
||
// copy the source file to the build dir | ||
Rcpp::Function filecopy = Rcpp::Environment::base_env()["file.copy"]; | ||
filecopy(cppSourcePath_, generatedCppSourcePath(), true); | ||
filecopy(cppSourcePath_, generatedCppSourcePath(), true, Rcpp::_["copy.mode"] = false); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nice. I'll look some more at that tomorrow over morning coffee -- this ensures we get 0644 irrespective of original permissionss? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Have by now caught up onto There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I generally have a mild dislike of |
||
|
||
// parse attributes | ||
SourceFileAttributesParser sourceAttributes(cppSourcePath_, "", true); | ||
|
Uh oh!
There was an error while loading. Please reload this page.