Skip to content

Commit 26fcdb2

Browse files
committed
Refreshed Contributing.md
1 parent 0b59244 commit 26fcdb2

File tree

2 files changed

+17
-8
lines changed

2 files changed

+17
-8
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2024-08-19 Dirk Eddelbuettel <[email protected]>
2+
3+
* Contributing.md: Refreshed content
4+
15
2024-07-30 Dirk Eddelbuettel <[email protected]>
26

37
* vignettes/rmd/Rcpp-modules.Rmd (are): Add short two-sentence

Contributing.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,24 +35,29 @@ to the [ChangeLog](https://github.com/RcppCore/Rcpp/blob/master/ChangeLog) and
3535
[NEWS](https://github.com/RcppCore/Rcpp/blob/master/inst/NEWS.Rd) are also
3636
appreciated.
3737

38-
Please note that C++ code in Rcpp must adhere to the C++98 standard. C++11 (and
39-
above) extensions are allowed, but must be appropriately guarded so that such
40-
code still successfully compiles under the C++98 standard.
38+
Please note that C++ code in Rcpp must adhere to the prvailing C++ standards
39+
as selected by the current R version ("R-release") and the upcoming R version
40+
("R-devel"). These days, _Modern C++_ is well supported provided recent
41+
compilers are used. As of 2024, R has supported C++17 for the past two
42+
release cycles. We tend to be a little more conservative with Rcpp and still
43+
support C++98 / C++11 as we know some users may be confronted with ancient
44+
compilers.
4145

4246
### Coding Style
4347

4448
It would be nice if the contributed code followed existing conventions for
4549
whitespace and indentation. We mostly follow the R Core style for with four
46-
spaces, and curlies where K&R would put them.
50+
spaces, and curlies where K&R would put them. Our
51+
[editorconfig](https://editorconfig.org/) [configuration
52+
file](https://github.com/RcppCore/Rcpp/blob/master/.editorconfig) selects
53+
reasonable defaults.
4754

4855
### Asking Questions
4956

5057
Please direct general questions to the
5158
[Rcpp-devel](http://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel)
52-
mailing list (preferred, note that only subscribers can post), or alternatively
53-
post a question on
54-
[Stack Overflow](http://stackoverflow.com/questions/tagged/rcpp) using the
55-
`[Rcpp]` tag.
59+
mailing list (preferred, note that only subscribers can post), or post an
60+
issue at GitHub.
5661

5762
Are you a new user of Rcpp? You might find the
5863
[vignettes](https://cran.r-project.org/package=Rcpp) helpful in getting

0 commit comments

Comments
 (0)