-
-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support Authors@R in Rcpp.package.skeleton() (#1325)
* Support Authors@R via Rcpp.package.skeleton() * No raw strings in old R versions
- Loading branch information
1 parent
9db1de4
commit 1e82f18
Showing
3 changed files
with
25 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
2024-08-28 Dirk Eddelbuettel <[email protected]> | ||
|
||
* R/Rcpp.package.skeleton.R: Create DESCRIPTION with Auhors@R fiel | ||
* inst/tinytest/test_rcpp_package_skeleton.R: Adjust tests | ||
|
||
2024-08-20 Dirk Eddelbuettel <[email protected]> | ||
|
||
* inst/tinytest/test_sugar.R: Skip one more NA related test on arm64 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,10 +45,10 @@ checkTrue( "foo" %in% list.files(path), "pkg path generated as named" ) | |
|
||
## check the DESCRIPTION | ||
DESCRIPTION <- as.list( read.dcf( file.path(pkg_path, "DESCRIPTION") )[1,] ) | ||
checkTrue( DESCRIPTION["Author"] == "Boo-Boo Bear", | ||
"wrote the Author field in DESCRIPTION" ) | ||
checkTrue( DESCRIPTION["Maintainer"] == "Yogi Bear <[email protected]>", | ||
"wrote the Maintainer field in DESCRIPTION") | ||
checkEqual(gsub("\\n", " ", DESCRIPTION["Authors@R"]), # need to neutralise a line break | ||
'person("Boo-Boo", "Bear", role = c("aut", "cre"), email = "[email protected]")', | ||
"wrote the Authors@R field in DESCRIPTION" ) | ||
checkTrue( DESCRIPTION["Date"] == format(Sys.Date()), "uses current date in DESCRIPTION") | ||
checkTrue( DESCRIPTION["License"] == "An Opensource License", | ||
"wrote the License field in DESCRIPTION" ) | ||
checkTrue( DESCRIPTION["LinkingTo"] == "Rcpp", | ||
|