|
18 | 18 | }
|
19 | 19 | \item Changes in Rcpp Modules:
|
20 | 20 | \itemize{
|
21 |
| - \item New function \code{copyObject} to invoke the copy constructor of a |
22 |
| - C++ class that has been exposed by modules. (\ghpr{454}) |
23 |
| - \item New function \code{destruct} to explicitely call the |
24 |
| - destructor of the underlying C++ object without waiting for the |
25 |
| - garbage collector. (\ghpr{454}) |
26 |
| - \item New function \code{is\_destructed} to check if an object has been |
27 |
| - destructed (presumably by \code{destruct}) (Romain in \ghpr{454}) |
28 | 21 | \item An apparent race condition in Module loading seen with R 3.3.0 was
|
29 | 22 | fixed (Ben Goodrich in \ghpr{461} fixing \ghit{458}).
|
30 | 23 | }
|
31 | 24 | }
|
32 | 25 | }
|
33 |
| - |
| 26 | + |
34 | 27 | \section{Changes in Rcpp version 0.12.4 (2016-03-22)}{
|
35 | 28 | \itemize{
|
36 | 29 | \item Changes in Rcpp API:
|
|
79 | 72 | \ghpr{406} by Qiang fixing \ghit{365}).
|
80 | 73 | \item A missing \code{std::hash} function interface for
|
81 | 74 | \code{Rcpp::String} has been addded (PR \ghpr{408} by Qiang fixing
|
82 |
| - \ghit{84}). |
| 75 | + \ghit{84}). |
83 | 76 | }
|
84 | 77 | \item Changes in Rcpp Attributes:
|
85 | 78 | \itemize{
|
86 | 79 | \item Avoid invalid function names when generating C++ interfaces (PR
|
87 | 80 | \ghpr{403} by JJ fixing \ghit{402}).
|
88 |
| - \item Insert additional space around \code{&} in function interface (PR |
| 81 | + \item Insert additional space around \code{&} in function interface (PR |
89 | 82 | \ghpr{400} by Kazuki Fukui fixing \ghit{278}).
|
90 | 83 | }
|
91 | 84 | \item Changes in Rcpp Modules:
|
|
109 | 102 | by Florian)
|
110 | 103 | \item Before creating a single String object from a \code{SEXP}, ensure
|
111 | 104 | that it is from a vector of length one (PR \ghpr{376} by Dirk, fixing
|
112 |
| - \ghit{375}). |
| 105 | + \ghit{375}). |
113 | 106 | \item No longer use \code{STRING_ELT} as a left-hand side, thanks to a
|
114 | 107 | heads-up by Luke Tierney (PR \ghpr{378} by Dirk, fixing \ghit{377}).
|
115 | 108 | \item Rcpp Module objects are now checked more carefully (PR \ghpr{381}
|
|
121 | 114 | \item \code{operator<<()} now always shows decimal points (PR \ghpr{396}
|
122 | 115 | by Dan)
|
123 | 116 | \item Matrix classes now have a \code{transpose()} function (PR \ghpr{397}
|
124 |
| - by Dirk fixing \ghit{383}) |
| 117 | + by Dirk fixing \ghit{383}) |
125 | 118 | \item \code{operator<<()} for complex types was added (PRs \ghpr{398} by
|
126 | 119 | Qiang and \ghpr{399} by Dirk, fixing \ghit{187})
|
127 | 120 | }
|
|
139 | 132 | \item Changes in Rcpp Documentation:
|
140 | 133 | \itemize{
|
141 | 134 | \item The \code{NEWS} file now links to GitHub issue tickets and pull
|
142 |
| - requests. |
| 135 | + requests. |
143 | 136 | \item The \code{Rcpp.bib} file with bibliographic references was updated.
|
144 | 137 | }
|
145 | 138 | }
|
146 | 139 | }
|
147 |
| - |
| 140 | + |
148 | 141 | \section{Changes in Rcpp version 0.12.1 (2015-09-10)}{
|
149 | 142 | \itemize{
|
150 | 143 | \item Changes in Rcpp API:
|
151 | 144 | \itemize{
|
152 |
| - \item Correct use of WIN32 instead of _WIN32 to please Windows 10 |
| 145 | + \item Correct use of WIN32 instead of _WIN32 to please Windows 10 |
153 | 146 | \item Add an assignment operator to \code{DimNameProxy} (PR \ghpr{339} by Florian)
|
154 | 147 | \item Add vector and matrix accessors \code{.at()} with bounds checking
|
155 |
| - (PR \ghpr{342} by Florian) |
| 148 | + (PR \ghpr{342} by Florian) |
156 | 149 | \item Correct character vector conversion from single char (PR \ghpr{344} by
|
157 | 150 | Florian fixing issue \ghit{343})
|
158 | 151 | \item Correct on use of \code{R_xlen_t} back to \code{size_t} (PR \ghpr{348} by
|
|
200 | 193 | R expressions; this should resolve errors where calling handlers (e.g.
|
201 | 194 | through \code{suppressMessages()}) were not properly respected.
|
202 | 195 | \item All internal length variables have been changed from \code{R_len_t}
|
203 |
| - to \code{R_xlen_t} to support vectors longer than 2^31-1 elements (via |
| 196 | + to \code{R_xlen_t} to support vectors longer than 2^31-1 elements (via |
204 | 197 | PR \ghpr{303} by Qiang Kou).
|
205 | 198 | \item The sugar function \code{sapply} now supports lambda functions
|
206 | 199 | (addressing \ghit{213} thanks to Matt Dziubinski)
|
207 | 200 | \item The \code{var} sugar function now uses a more robust two-pass
|
208 | 201 | method, supports complex numbers, with new unit tests added (via PR
|
209 |
| - \ghpr{320} by Matt Dziubinski) |
| 202 | + \ghpr{320} by Matt Dziubinski) |
210 | 203 | \item \code{String} constructors now allow encodings (via PR \ghpr{310}
|
211 | 204 | by Qiang Kou)
|
212 | 205 | \item \code{String} objects are preserving the underlying \code{SEXP}
|
|
215 | 208 | \item DataFrame constructors are now a little more careful (via PR
|
216 | 209 | \ghpr{301} by Romain Francois)
|
217 | 210 | \item For R 3.2.0 or newer, \code{Rf_installChar()} is used instead of
|
218 |
| - \code{Rf_install(CHAR())} (via PR \ghpr{332}). |
| 211 | + \code{Rf_install(CHAR())} (via PR \ghpr{332}). |
219 | 212 | }
|
220 | 213 | \item Changes in Rcpp Attributes:
|
221 | 214 | \itemize{
|
|
247 | 240 | matrices (via a pull request by Dmitrii Meleshko).
|
248 | 241 | \item A new \code{empty()} string constructor was added (via another pull
|
249 | 242 | request).
|
250 |
| - \item Better support for Vectors with a storage policy different from the |
| 243 | + \item Better support for Vectors with a storage policy different from the |
251 | 244 | default, i.e. \code{NoProtectStorage}, was added.
|
252 | 245 | }
|
253 | 246 | \item Changes in Rcpp Attributes:
|
|
272 | 265 | \item The \code{Rcpp::Environment} constructor can now use a supplied
|
273 | 266 | parent environment.
|
274 | 267 | \item The \code{Rcpp::Function} constructor can now use a supplied
|
275 |
| - environment or namespace. |
| 268 | + environment or namespace. |
276 | 269 | \item The \code{attributes_hidden} macro from R is used to shield internal
|
277 | 270 | functions; the \code{R_ext/Visibility.h} header is now included as well.
|
278 |
| - \item A \code{Rcpp::print} function was added as a wrapper around \code{Rf_PrintValue}. |
| 271 | + \item A \code{Rcpp::print} function was added as a wrapper around \code{Rf_PrintValue}. |
279 | 272 | }
|
280 | 273 | \item Changes in Rcpp Attributes:
|
281 | 274 | \itemize{
|
282 | 275 | \item The \code{pkg_types.h} file is now included in \code{RcppExports.cpp}
|
283 |
| - if it is present in either the \code{inst/include} or \code{src}. |
284 |
| - \item \code{sourceCpp} was modified to allow includes of local files |
| 276 | + if it is present in either the \code{inst/include} or \code{src}. |
| 277 | + \item \code{sourceCpp} was modified to allow includes of local files |
285 | 278 | (e.g. \code{#include "foo.hpp"}). Implementation files (*.cc; *.cpp) corresponding
|
286 | 279 | to local includes are also automatically built if they exist.
|
287 | 280 | \item The generated attributes code was simplified with respect to
|
|
0 commit comments