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

Commitfdd7205

Browse files
tesujimathSimon Guest
and
Simon Guest
authored
Readonly file io error (#1346)
* Copy cpp source with copy.mode = falseFixes#1345* Add to ChangeLog* Fix ChangeLog formatting---------Co-authored-by: Simon Guest <simon.guest@agresearch.co.nz>
1 parent6193de5 commitfdd7205

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

‎ChangeLog‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2024-11-25 Simon Guest <simon.guest@tesujimath.org>
2+
3+
* src/attributes.cpp: fix CPP source having to be writable
4+
15
2024-11-03 Marco Colombo <mar.colombo13@gmail.com>
26

37
* vignettes/rmd/Rcpp-FAQ.Rmd: Fixed typos

‎src/attributes.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3279,7 +3279,7 @@ namespace {
32793279

32803280
// copy the source file to the build dir
32813281
Rcpp::Function filecopy =Rcpp::Environment::base_env()["file.copy"];
3282-
filecopy(cppSourcePath_,generatedCppSourcePath(),true);
3282+
filecopy(cppSourcePath_,generatedCppSourcePath(),true, Rcpp::_["copy.mode"] =false);
32833283

32843284
// parse attributes
32853285
SourceFileAttributesParsersourceAttributes(cppSourcePath_,"",true);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp