Skip to content

Commit 29a271c

Browse files
committed
several additions to inst/NEWS.Rd based on commits since 0.11.4
1 parent 660e5be commit 29a271c

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

inst/NEWS.Rd

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,39 @@
1414
exception rather than crash) when a NULL external pointer is dereferenced.
1515
\item R code is evaluated within an \code{R_toplevelExec} block to prevent
1616
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}.
1924
}
2025
\item Changes in Rcpp Attributes:
2126
\itemize{
2227
\item The \code{pkg_types.h} file is now included in \code{RcppExports.cpp}
2328
if it is present in either the \code{inst/include} or \code{src}.
2429
\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
2631
to local includes are also automatically built if they exist.
2732
\item The generated attributes code was simplified with respect to
2833
\code{RNGScope} and now uses \code{RObject} and its destructor rather than \code{SEXP}
2934
protect/unprotect.
3035
\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.
3239
\item Version 3.2 of the Rtools is now correctly detected as well.
3340
\item Allow 'R' to come immediately after '***' for defining embedded R
3441
code chunks in sourceCpp.
35-
\item The attributes vignette has been updated with documentation
42+
\item The attributes vignette has been updated with documentation
3643
on new features added over the past several releases.
3744
}
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+
}
3850
}
3951
}
4052

0 commit comments

Comments
 (0)