Skip to content

Commit 44676ca

Browse files
- recommendation to specify SystemRequirements: C++11 (#322)
1 parent 4b5e9e8 commit 44676ca

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ To add cpp11 to an existing package, put your C++ files in the `src/` directory
1616

1717
```
1818
LinkingTo: cpp11
19-
SystemRequirements: C++11
2019
```
2120

2221
Then decorate C++ functions you want to expose to R with `[[cpp11::register]]`.

cpp11test/DESCRIPTION

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ Suggests:
2020
xml2
2121
LazyData: true
2222
Roxygen: list(markdown = TRUE)
23-
SystemRequirements: C++11
2423
RoxygenNote: 7.1.1

vignettes/converting.Rmd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ void foo() {
165165
## Mechanics of converting a package from Rcpp
166166
167167
1. Add cpp11 to `LinkingTo`
168-
1. Add C++11 to `SystemRequirements`
169168
1. Convert all instances of `// [[Rcpp::export]]` to `[[cpp11::register]]`
170169
1. Clean and recompile the package, e.g. `pkgbuild::clean_dll()` `pkgload::load_all()`
171170
1. Run tests `devtools::test()`

vignettes/cpp11.Rmd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,6 @@ Then add the following to your `DESCRIPTION` file:
11071107

11081108
```
11091109
LinkingTo: cpp11
1110-
SystemRequirements: C++11
11111110
```
11121111

11131112
and add the following [roxygen](https://roxygen2.r-lib.org/) directive somewhere in your package's R files. (A common location is `R/pkgname-package.R`)

0 commit comments

Comments
 (0)