|
3 | 3 | \newcommand{\ghpr}{\href{https://github.com/RcppCore/Rcpp/pull/#1}{##1}}
|
4 | 4 | \newcommand{\ghit}{\href{https://github.com/RcppCore/Rcpp/issues/#1}{##1}}
|
5 | 5 |
|
| 6 | +\section{Changes in Rcpp version 0.13.0 (2017-03-xx)}{ |
| 7 | + \itemize{ |
| 8 | + \item Changes in Rcpp API: |
| 9 | + \itemize{ |
| 10 | + \item Added new size attribute aliases for number of rows and columns in |
| 11 | + DataFrame (James Balamuta in \ghpr{638} addressing \ghit{630}). |
| 12 | + } |
| 13 | + } |
| 14 | +} |
| 15 | + |
6 | 16 | \section{Changes in Rcpp version 0.12.9 (2017-01-14)}{
|
7 | 17 | \itemize{
|
8 | 18 | \item Changes in Rcpp API:
|
|
20 | 30 | }
|
21 | 31 | \item Changes in Rcpp Sugar:
|
22 | 32 | \itemize{
|
23 |
| - \item Added new Sugar function \code{sample()} (Nathan Russell in |
| 33 | + \item Added new Sugar function \code{sample()} (Nathan Russell in |
24 | 34 | \ghpr{610} and \ghpr{616}).
|
25 |
| - \item Added new Sugar function \code{Arg()} (James Balamuta in |
| 35 | + \item Added new Sugar function \code{Arg()} (James Balamuta in |
26 | 36 | \ghpr{626} addressing \ghit{625}).
|
27 | 37 | }
|
28 | 38 | \item Changes in Rcpp unit tests
|
|
53 | 63 | \itemize{
|
54 | 64 | \item String and vector elements now use extended \code{R_xlen_t} indices
|
55 | 65 | (Qiang in PR \ghpr{560})
|
56 |
| - \item Hashing functions now return unsigned int (Qiang in PR \ghpr{561}) |
57 |
| - \item Added static methods \code{eye()}, \code{ones()}, and \code{zeros()} |
| 66 | + \item Hashing functions now return unsigned int (Qiang in PR \ghpr{561}) |
| 67 | + \item Added static methods \code{eye()}, \code{ones()}, and \code{zeros()} |
58 | 68 | for select matrix types (Nathan Russell in PR \ghpr{569})
|
59 | 69 | \item The exception call stack is again correctly reported; print methods
|
60 | 70 | and tests added too (Jim Hester in PR \ghpr{582} fixing \ghit{579})
|
|
66 | 76 | \item Changes in Rcpp Sugar:
|
67 | 77 | \itemize{
|
68 | 78 | \item Added new Sugar functions \code{rowSums()}, \code{colSums()},
|
69 |
| - \code{rowMeans()}, \code{colMeans()} (PR \ghpr{551} by Nathan Russell |
| 79 | + \code{rowMeans()}, \code{colMeans()} (PR \ghpr{551} by Nathan Russell |
70 | 80 | fixing \ghit{549})
|
71 | 81 | \item \code{Range} Sugar now used \code{R_xlen_t} type for start/end
|
72 | 82 | (PR \ghpr{568} by Qiang Kou)
|
|
96 | 106 | can activated. We intend to make the new classes the default no sooner
|
97 | 107 | than twelve months from this release.
|
98 | 108 | \item The \code{capabilities()} function can also be used for presence of
|
99 |
| - this feature |
| 109 | + this feature |
100 | 110 | }
|
101 | 111 | }
|
102 | 112 | }
|
|
106 | 116 | \item Changes in Rcpp API:
|
107 | 117 | \itemize{
|
108 | 118 | \item The \code{NORET} macro is now defined if it was not already defined
|
109 |
| - by R itself (Kevin fixing issue \ghit{512}). |
| 119 | + by R itself (Kevin fixing issue \ghit{512}). |
110 | 120 | \item Environment functions get() & find() now accept a Symbol
|
111 | 121 | (James Balamuta in \ghpr{513} addressing issue \ghit{326}).
|
112 | 122 | \item Several uses of \code{Rf_eval} were replaced by the preferred
|
113 | 123 | \code{Rcpp::Rcpp_eval} (Qiang in PR \ghpr{523} closing \ghit{498}).
|
114 | 124 | \item Improved Autogeneration Warning for RcppExports
|
115 | 125 | (James Balamuta in \ghpr{528} addressing issue \ghit{526}).
|
116 |
| - \item Fixed invalid C++ prefix identifiers in auto-generated code |
| 126 | + \item Fixed invalid C++ prefix identifiers in auto-generated code |
117 | 127 | (James Balamuta in \ghpr{528} and \ghpr{531} addressing issue
|
118 |
| - \ghit{387}; Simon Dirmeier in \ghpr{548}). |
| 128 | + \ghit{387}; Simon Dirmeier in \ghpr{548}). |
119 | 129 | \item String constructors now set default UTF-8 encoding (Qiang Kou in
|
120 | 130 | \ghpr{529} fixing \ghit{263}).
|
121 | 131 | \item Add variadic variants of the \code{RCPP_RETURN_VECTOR} and
|
|
130 | 140 | }
|
131 | 141 | \item Changes in Rcpp unit tests
|
132 | 142 | \itemize{
|
133 |
| - \item New unit tests for random number generators the R namespace which |
134 |
| - call the standalone Rmath library. (James Balamuta in \ghpr{514} |
| 143 | + \item New unit tests for random number generators the R namespace which |
| 144 | + call the standalone Rmath library. (James Balamuta in \ghpr{514} |
135 | 145 | addressing issue \ghit{28}).
|
136 | 146 | }
|
137 | 147 | \item Changes in Rcpp Examples:
|
138 | 148 | \itemize{
|
139 | 149 | \item Examples that used cxxfunction() from the inline package have been
|
140 |
| - rewritten to use either sourceCpp() or cppFunction() |
141 |
| - (James Balamuta in \ghpr{541}, \ghpr{535}, \ghpr{534}, and \ghpr{532} |
| 150 | + rewritten to use either sourceCpp() or cppFunction() |
| 151 | + (James Balamuta in \ghpr{541}, \ghpr{535}, \ghpr{534}, and \ghpr{532} |
142 | 152 | addressing issue \ghit{56}).
|
143 | 153 | }
|
144 | 154 | }
|
|
156 | 166 | \item String replacement was corrected (Qiang in \ghpr{479} following
|
157 | 167 | mailing list bug report by Masaki Tsuda)
|
158 | 168 | \item Allow for UTF-8 encoding in error messages via
|
159 |
| - \code{RCPP_USING_UTF8_ERROR_STRING} macro (Qin Wenfeng in \ghpr{493}) |
| 169 | + \code{RCPP_USING_UTF8_ERROR_STRING} macro (Qin Wenfeng in \ghpr{493}) |
160 | 170 | \item The R function \code{Rf_warningcall} is now provided as well (as
|
161 |
| - usual without leading \code{Rf_}) (\ghpr{497} fixing \ghit{495}) |
| 171 | + usual without leading \code{Rf_}) (\ghpr{497} fixing \ghit{495}) |
162 | 172 | }
|
163 | 173 | \item Changes in Rcpp Sugar:
|
164 | 174 | \itemize{
|
|
175 | 185 | }
|
176 | 186 | \item Changes in Rcpp Attributes:
|
177 | 187 | \itemize{
|
178 |
| - \item Add \code{cacheDir} argument to \code{sourceCpp()} to enable caching of |
| 188 | + \item Add \code{cacheDir} argument to \code{sourceCpp()} to enable caching of |
179 | 189 | shared libraries across R sessions (JJ in \ghpr{504}).
|
180 | 190 | \item Code generation now deals correctly which packages containing a dot
|
181 | 191 | in their name (Qiang in \ghpr{501} fixing \ghit{500}).
|
|
194 | 204 | }
|
195 | 205 | }
|
196 | 206 | }
|
197 |
| - |
| 207 | +
|
198 | 208 | \section{Changes in Rcpp version 0.12.5 (2016-05-14)}{
|
199 | 209 | \itemize{
|
200 | 210 | \item Changes in Rcpp API:
|
|
207 | 217 | \item Changes in Rcpp Attributes:
|
208 | 218 | \itemize{
|
209 | 219 | \item R 3.3.0 Windows with Rtools 3.3 is now supported (Qin Wenfeng in PR
|
210 |
| - \ghpr{451}). |
| 220 | + \ghpr{451}). |
211 | 221 | \item Correct handling of dependent file paths on Windows (use winslash = "/").
|
212 | 222 | }
|
213 | 223 | \item Changes in Rcpp Modules:
|
|
227 | 237 | }
|
228 | 238 | }
|
229 | 239 | }
|
230 |
| - |
| 240 | +
|
231 | 241 | \section{Changes in Rcpp version 0.12.4 (2016-03-22)}{
|
232 | 242 | \itemize{
|
233 | 243 | \item Changes in Rcpp API:
|
|
276 | 286 | \ghpr{406} by Qiang fixing \ghit{365}).
|
277 | 287 | \item A missing \code{std::hash} function interface for
|
278 | 288 | \code{Rcpp::String} has been addded (PR \ghpr{408} by Qiang fixing
|
279 |
| - \ghit{84}). |
| 289 | + \ghit{84}). |
280 | 290 | }
|
281 | 291 | \item Changes in Rcpp Attributes:
|
282 | 292 | \itemize{
|
283 | 293 | \item Avoid invalid function names when generating C++ interfaces (PR
|
284 | 294 | \ghpr{403} by JJ fixing \ghit{402}).
|
285 |
| - \item Insert additional space around \code{&} in function interface (PR |
| 295 | + \item Insert additional space around \code{&} in function interface (PR |
286 | 296 | \ghpr{400} by Kazuki Fukui fixing \ghit{278}).
|
287 | 297 | }
|
288 | 298 | \item Changes in Rcpp Modules:
|
|
306 | 316 | by Florian)
|
307 | 317 | \item Before creating a single String object from a \code{SEXP}, ensure
|
308 | 318 | that it is from a vector of length one (PR \ghpr{376} by Dirk, fixing
|
309 |
| - \ghit{375}). |
| 319 | + \ghit{375}). |
310 | 320 | \item No longer use \code{STRING_ELT} as a left-hand side, thanks to a
|
311 | 321 | heads-up by Luke Tierney (PR \ghpr{378} by Dirk, fixing \ghit{377}).
|
312 | 322 | \item Rcpp Module objects are now checked more carefully (PR \ghpr{381}
|
|
318 | 328 | \item \code{operator<<()} now always shows decimal points (PR \ghpr{396}
|
319 | 329 | by Dan)
|
320 | 330 | \item Matrix classes now have a \code{transpose()} function (PR \ghpr{397}
|
321 |
| - by Dirk fixing \ghit{383}) |
| 331 | + by Dirk fixing \ghit{383}) |
322 | 332 | \item \code{operator<<()} for complex types was added (PRs \ghpr{398} by
|
323 | 333 | Qiang and \ghpr{399} by Dirk, fixing \ghit{187})
|
324 | 334 | }
|
|
336 | 346 | \item Changes in Rcpp Documentation:
|
337 | 347 | \itemize{
|
338 | 348 | \item The \code{NEWS} file now links to GitHub issue tickets and pull
|
339 |
| - requests. |
| 349 | + requests. |
340 | 350 | \item The \code{Rcpp.bib} file with bibliographic references was updated.
|
341 | 351 | }
|
342 | 352 | }
|
343 | 353 | }
|
344 |
| - |
| 354 | +
|
345 | 355 | \section{Changes in Rcpp version 0.12.1 (2015-09-10)}{
|
346 | 356 | \itemize{
|
347 | 357 | \item Changes in Rcpp API:
|
348 | 358 | \itemize{
|
349 |
| - \item Correct use of WIN32 instead of _WIN32 to please Windows 10 |
| 359 | + \item Correct use of WIN32 instead of _WIN32 to please Windows 10 |
350 | 360 | \item Add an assignment operator to \code{DimNameProxy} (PR \ghpr{339} by Florian)
|
351 | 361 | \item Add vector and matrix accessors \code{.at()} with bounds checking
|
352 |
| - (PR \ghpr{342} by Florian) |
| 362 | + (PR \ghpr{342} by Florian) |
353 | 363 | \item Correct character vector conversion from single char (PR \ghpr{344} by
|
354 | 364 | Florian fixing issue \ghit{343})
|
355 | 365 | \item Correct on use of \code{R_xlen_t} back to \code{size_t} (PR \ghpr{348} by
|
|
397 | 407 | R expressions; this should resolve errors where calling handlers (e.g.
|
398 | 408 | through \code{suppressMessages()}) were not properly respected.
|
399 | 409 | \item All internal length variables have been changed from \code{R_len_t}
|
400 |
| - to \code{R_xlen_t} to support vectors longer than 2^31-1 elements (via |
| 410 | + to \code{R_xlen_t} to support vectors longer than 2^31-1 elements (via |
401 | 411 | PR \ghpr{303} by Qiang Kou).
|
402 | 412 | \item The sugar function \code{sapply} now supports lambda functions
|
403 | 413 | (addressing \ghit{213} thanks to Matt Dziubinski)
|
404 | 414 | \item The \code{var} sugar function now uses a more robust two-pass
|
405 | 415 | method, supports complex numbers, with new unit tests added (via PR
|
406 |
| - \ghpr{320} by Matt Dziubinski) |
| 416 | + \ghpr{320} by Matt Dziubinski) |
407 | 417 | \item \code{String} constructors now allow encodings (via PR \ghpr{310}
|
408 | 418 | by Qiang Kou)
|
409 | 419 | \item \code{String} objects are preserving the underlying \code{SEXP}
|
|
412 | 422 | \item DataFrame constructors are now a little more careful (via PR
|
413 | 423 | \ghpr{301} by Romain Francois)
|
414 | 424 | \item For R 3.2.0 or newer, \code{Rf_installChar()} is used instead of
|
415 |
| - \code{Rf_install(CHAR())} (via PR \ghpr{332}). |
| 425 | + \code{Rf_install(CHAR())} (via PR \ghpr{332}). |
416 | 426 | }
|
417 | 427 | \item Changes in Rcpp Attributes:
|
418 | 428 | \itemize{
|
|
444 | 454 | matrices (via a pull request by Dmitrii Meleshko).
|
445 | 455 | \item A new \code{empty()} string constructor was added (via another pull
|
446 | 456 | request).
|
447 |
| - \item Better support for Vectors with a storage policy different from the |
| 457 | + \item Better support for Vectors with a storage policy different from the |
448 | 458 | default, i.e. \code{NoProtectStorage}, was added.
|
449 | 459 | }
|
450 | 460 | \item Changes in Rcpp Attributes:
|
|
469 | 479 | \item The \code{Rcpp::Environment} constructor can now use a supplied
|
470 | 480 | parent environment.
|
471 | 481 | \item The \code{Rcpp::Function} constructor can now use a supplied
|
472 |
| - environment or namespace. |
| 482 | + environment or namespace. |
473 | 483 | \item The \code{attributes_hidden} macro from R is used to shield internal
|
474 | 484 | functions; the \code{R_ext/Visibility.h} header is now included as well.
|
475 |
| - \item A \code{Rcpp::print} function was added as a wrapper around \code{Rf_PrintValue}. |
| 485 | + \item A \code{Rcpp::print} function was added as a wrapper around \code{Rf_PrintValue}. |
476 | 486 | }
|
477 | 487 | \item Changes in Rcpp Attributes:
|
478 | 488 | \itemize{
|
479 | 489 | \item The \code{pkg_types.h} file is now included in \code{RcppExports.cpp}
|
480 |
| - if it is present in either the \code{inst/include} or \code{src}. |
481 |
| - \item \code{sourceCpp} was modified to allow includes of local files |
| 490 | + if it is present in either the \code{inst/include} or \code{src}. |
| 491 | + \item \code{sourceCpp} was modified to allow includes of local files |
482 | 492 | (e.g. \code{#include "foo.hpp"}). Implementation files (*.cc; *.cpp) corresponding
|
483 | 493 | to local includes are also automatically built if they exist.
|
484 | 494 | \item The generated attributes code was simplified with respect to
|
|
0 commit comments