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 3
3
* .travis.yml (install): Switch to using ppa:edd/misc to install all the
4
4
R packages needed for the Travis CI run as r-cran-* binary packages
5
5
6
+ 2015-02-13 JJ Allaire <
[email protected] >
7
+
8
+ * src/attributes.cpp: Allow 'R' to come immediately after '***'
9
+ for defining embedded R code chunks in sourceCpp
10
+
6
11
2015-02-12 JJ Allaire <
[email protected] >
7
12
8
13
* DESCRIPTION: bump version
Original file line number Diff line number Diff line change 25
25
\item Support addition of the \code {rng } parameter in \code {Rcpp :: export }
26
26
to suppress the otherwise automatic inclusion of \code {RNGScope } in generated code.
27
27
\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.
28
30
}
29
31
}
30
32
}
Original file line number Diff line number Diff line change @@ -697,7 +697,7 @@ namespace attributes {
697
697
Rcpp::CharacterVector linesVector,
698
698
const std::deque<std::string>& lines) {
699
699
Rcpp::List matches = regexMatches (linesVector,
700
- " ^\\ s*/\\ *{3,}\\ s+ [Rr]\\ s*$" );
700
+ " ^\\ s*/\\ *{3,}\\ s* [Rr]\\ s*$" );
701
701
bool withinRBlock = false ;
702
702
CommentState commentState;
703
703
std::vector<std::string> embeddedR;
You can’t perform that action at this time.
0 commit comments