File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1+ 2015-02-13 JJ Allaire <jj@rstudio.org>
2+
3+ * src/attributes.cpp: Allow 'R' to come immediately after '***'
4+ for defining embedded R code chunks in sourceCpp
5+
162015-02-12 JJ Allaire <jj@rstudio.org>
27
38 * DESCRIPTION: bump version
Original file line number Diff line number Diff line change 2525 \item Support addition of the \code {rng } parameter in \code {Rcpp :: export }
2626 to suppress the otherwise automatic inclusion of \code {RNGScope } in generated code.
2727 \item Version 3.2 of the Rtools is now correctly detected as well.
28+ \item Allow ' R' to come immediately after ' ***' for defining embedded R
29+ code chunks in sourceCpp.
2830 }
2931 }
3032}
Original file line number Diff line number Diff line change @@ -697,7 +697,7 @@ namespace attributes {
697697 Rcpp::CharacterVector linesVector,
698698 const std::deque<std::string>& lines) {
699699 Rcpp::List matches = regexMatches (linesVector,
700- " ^\\ s*/\\ *{3,}\\ s+ [Rr]\\ s*$" );
700+ " ^\\ s*/\\ *{3,}\\ s* [Rr]\\ s*$" );
701701 bool withinRBlock = false ;
702702 CommentState commentState;
703703 std::vector<std::string> embeddedR;
You can’t perform that action at this time.
0 commit comments