|
14 | 14 | exception rather than crash) when a NULL external pointer is dereferenced.
|
15 | 15 | \item R code is evaluated within an \code{R_toplevelExec} block to prevent
|
16 | 16 | user interrupts from bypassing C++ destructors on the stack.
|
17 |
| - \item A new inline header function \code{print} function was added as a |
18 |
| - wrapper around \code{Rf_PrintValue}. |
| 17 | + \item The \code{Rcpp::Environment} constructor can now use a supplied |
| 18 | + parent environment. |
| 19 | + \item The \code{Rcpp::Function} constructor can now use a supplied |
| 20 | + environment or namespace. |
| 21 | + \item The \code{attributes_hidden} macro from R is used to shield internal |
| 22 | + functions; the \code{R_ext/Visibility.h} header is now included as well. |
| 23 | + \item A \code{Rcpp::print} function was added as a wrapper around \code{Rf_PrintValue}. |
19 | 24 | }
|
20 | 25 | \item Changes in Rcpp Attributes:
|
21 | 26 | \itemize{
|
22 | 27 | \item The \code{pkg_types.h} file is now included in \code{RcppExports.cpp}
|
23 | 28 | if it is present in either the \code{inst/include} or \code{src}.
|
24 | 29 | \item \code{sourceCpp} was modified to allow includes of local files
|
25 |
| - (e.g. #include "foo.hpp"). Implementation files (*.cc; *.cpp) corresponding |
| 30 | + (e.g. \code{#include "foo.hpp"}). Implementation files (*.cc; *.cpp) corresponding |
26 | 31 | to local includes are also automatically built if they exist.
|
27 | 32 | \item The generated attributes code was simplified with respect to
|
28 | 33 | \code{RNGScope} and now uses \code{RObject} and its destructor rather than \code{SEXP}
|
29 | 34 | protect/unprotect.
|
30 | 35 | \item Support addition of the \code{rng} parameter in \code{Rcpp::export}
|
31 |
| - to suppress the otherwise automatic inclusion of \code{RNGScope} in generated code. |
| 36 | + to suppress the otherwise automatic inclusion of \code{RNGScope} in |
| 37 | + generated code. |
| 38 | + \item Attributes code was made more robust and can e.g. no longer recurse. |
32 | 39 | \item Version 3.2 of the Rtools is now correctly detected as well.
|
33 | 40 | \item Allow 'R' to come immediately after '***' for defining embedded R
|
34 | 41 | code chunks in sourceCpp.
|
35 |
| - \item The attributes vignette has been updated with documentation |
| 42 | + \item The attributes vignette has been updated with documentation |
36 | 43 | on new features added over the past several releases.
|
37 | 44 | }
|
| 45 | + \item Changes in Rcpp tests: |
| 46 | + \itemize{ |
| 47 | + \item On Travis CI, all build dependencies are installed as binary |
| 48 | + \code{.deb} packages resulting in faster tests. |
| 49 | + } |
38 | 50 | }
|
39 | 51 | }
|
40 | 52 |
|
|
0 commit comments