|
1 | 1 | \name{NEWS} |
2 | 2 | \title{News for Package 'Rcpp'} |
3 | | -\newcommand{\cpkg}{\href{https://CRAN.R-project.org/package=#1}{\pkg{#1}}} |
4 | | -\newcommand{\ghpr}{\href{https://github.com/RcppCore/Rcpp/pull/#1}{\textsl{#1}}} |
5 | | -\newcommand{\ghit}{\href{https://github.com/RcppCore/Rcpp/issue/#1}{\textsl{#1}}} |
| 3 | +\newcommand{\ghpr}{\href{https://github.com/RcppCore/Rcpp/pull/#1}{##1}} |
| 4 | +\newcommand{\ghit}{\href{https://github.com/RcppCore/Rcpp/issue/#1}{##1}} |
6 | 5 |
|
7 | 6 | \section{Changes in Rcpp version 0.12.2 (expected 2015-11-01 or later)}{ |
8 | 7 | \itemize{ |
9 | 8 | \item Changes in Rcpp API: |
10 | 9 | \itemize{ |
11 | 10 | \item Before creating a single String object from a \code{SEXP}, ensure |
12 | | - that it is from a vector of length one (pull request #376; issue #375). |
| 11 | + that it is from a vector of length one (PR \ghpr{376} fixing \ghit{375}). |
13 | 12 | \item No longer use \code{STRING_ELT} as left-hand side, thanks to a |
14 | | - heads-up by Luke Tierney (pull request #378; issue #377). |
| 13 | + heads-up by Luke Tierney (PR \ghpr{378} fixing \ghit{377}). |
| 14 | + } |
| 15 | + \item Changes in Rcpp Documentation: |
| 16 | + \itemize{ |
| 17 | + \item The \code{NEWS} file now links to GitHub issue tickets and pull |
| 18 | + requests. |
15 | 19 | } |
16 | 20 | } |
17 | 21 | } |
|
21 | 25 | \item Changes in Rcpp API: |
22 | 26 | \itemize{ |
23 | 27 | \item Correct use of WIN32 instead of _WIN32 to please Windows 10 |
24 | | - \item Add an assignment operator to \code{DimNameProxy} (PR #339 by Florian) |
| 28 | + \item Add an assignment operator to \code{DimNameProxy} (PR \ghpr{339} by Florian) |
25 | 29 | \item Add vector and matrix accessors \code{.at()} with bounds checking |
26 | | - (PR #342 by Florian) |
27 | | - \item Correct character vector conversion from single char (PR #344 by |
28 | | - Florian fixing issue #343) |
29 | | - \item Correct on use of \code{R_xlen_t} back to \code{size_t} (PR #348 by |
| 30 | + (PR \ghpr{342} by Florian) |
| 31 | + \item Correct character vector conversion from single char (PR \ghpr{344} by |
| 32 | + Florian fixing issue \ghit{343}) |
| 33 | + \item Correct on use of \code{R_xlen_t} back to \code{size_t} (PR \ghpr{348} by |
30 | 34 | Romain) |
31 | | - \item Correct subsetting code to allow for single assignment (PR #349 by |
| 35 | + \item Correct subsetting code to allow for single assignment (PR \ghpr{349} by |
32 | 36 | Florian) |
33 | | - \item Enable subset assignment on left and righ-hand side (PR #353 by |
34 | | - Qiang, fixing issue #345) |
35 | | - \item Refreshed to included \code{tinyformat} template library (PR #357 by |
36 | | - Dirk, issue #356) |
37 | | - \item Add \code{operator<<()} for vectors and matrices (PR #361 by Dan |
38 | | - fixing issue #239) |
| 37 | + \item Enable subset assignment on left and righ-hand side (PR \ghpr{353} by |
| 38 | + Qiang, fixing issue \ghit{345}) |
| 39 | + \item Refreshed to included \code{tinyformat} template library (PR \ghpr{357} by |
| 40 | + Dirk, issue \ghit{356}) |
| 41 | + \item Add \code{operator<<()} for vectors and matrices (PR \ghpr{361} by Dan |
| 42 | + fixing issue \ghit{239}) |
39 | 43 | \item Make \code{String} and \code{String_Proxy} objects comparable (PR |
40 | | - #366 and PR #372 by Dan, fixing issue #191) |
| 44 | + \ghpr{366} and PR \ghpr{372} by Dan, fixing issue \ghit{191}) |
41 | 45 | \item Add a new class \code{Nullable} for objects which may be \code{NULL} |
42 | | - (PR #368 by Dirk and Dan, fixing issue #363) |
43 | | - \item Correct creation and access of large matrices (PR #370 by Florian, |
44 | | - fixing issue #369) |
| 46 | + (PR \ghpr{368} by Dirk and Dan, fixing issue \ghit{363}) |
| 47 | + \item Correct creation and access of large matrices (PR \ghpr{370} by Florian, |
| 48 | + fixing issue \ghit{369}) |
45 | 49 | } |
46 | 50 | \item Changes in Rcpp Attributes: |
47 | 51 | \itemize{ |
48 | 52 | \item Correctly reset directory in case of no-rebuilding but Windows code |
49 | | - (PR #335 by Dirk) |
| 53 | + (PR \ghpr{335} by Dirk) |
50 | 54 | } |
51 | 55 | \item Changes in Rcpp Modules: |
52 | 56 | \itemize{ |
53 | 57 | \item We no longer define multiple Modules objects named \code{World} in |
54 | 58 | the unit tests with was seen to have a bad effect with R 3.2.2 or later |
55 | | - (PR #351 by Dirk fixing issue #350). |
| 59 | + (PR \ghpr{351} by Dirk fixing issue \ghit{350}). |
56 | 60 | \item Applied patch by Kurt Hornik which improves how Rcpp loads Modules |
57 | | - (PR #353 by Dirk) |
| 61 | + (PR \ghpr{353} by Dirk) |
58 | 62 | } |
59 | 63 | \item Changes in Rcpp Documentation: |
60 | 64 | \itemize{ |
|
72 | 76 | through \code{suppressMessages()}) were not properly respected. |
73 | 77 | \item All internal length variables have been changed from \code{R_len_t} |
74 | 78 | to \code{R_xlen_t} to support vectors longer than 2^31-1 elements (via |
75 | | - pull request 303 by Qiang Kou). |
| 79 | + PR \ghpr{303} by Qiang Kou). |
76 | 80 | \item The sugar function \code{sapply} now supports lambda functions |
77 | | - (addressing issue 213 thanks to Matt Dziubinski) |
| 81 | + (addressing \ghit{213} thanks to Matt Dziubinski) |
78 | 82 | \item The \code{var} sugar function now uses a more robust two-pass |
79 | | - method, supports complex numbers, with new unit tests added (via pull |
80 | | - request 320 by Matt Dziubinski) |
81 | | - \item \code{String} constructors now allow encodings (via pull request 310 |
| 83 | + method, supports complex numbers, with new unit tests added (via PR |
| 84 | + \ghpr{320} by Matt Dziubinski) |
| 85 | + \item \code{String} constructors now allow encodings (via PR \ghpr{310} |
82 | 86 | by Qiang Kou) |
83 | 87 | \item \code{String} objects are preserving the underlying \code{SEXP} |
84 | | - objects better, and are more careful about initializations (via pull |
85 | | - requests 322 and 329 by Qiang Kou) |
86 | | - \item DataFrame constructors are now a little more careful (via pull |
87 | | - request 301 by Romain Francois) |
| 88 | + objects better, and are more careful about initializations (via PRs |
| 89 | + \ghpr{322} and \ghpr{329} by Qiang Kou) |
| 90 | + \item DataFrame constructors are now a little more careful (via PR |
| 91 | + \ghpr{301} by Romain Francois) |
88 | 92 | \item For R 3.2.0 or newer, \code{Rf_installChar()} is used instead of |
89 | | - \code{Rf_install(CHAR())} (via pull request 332). |
| 93 | + \code{Rf_install(CHAR())} (via PR \ghpr{332}). |
90 | 94 | } |
91 | 95 | \item Changes in Rcpp Attributes: |
92 | 96 | \itemize{ |
|
100 | 104 | \item Changes in Rcpp Documentation: |
101 | 105 | \itemize{ |
102 | 106 | \item The \code{Rcpp-FAQ} vignette was once again updated with respect to |
103 | | - OS X issues and Fortran libraries needed for e.g. \cpkg{RcppArmadillo}. |
| 107 | + OS X issues and Fortran libraries needed for e.g. \CRANpkg{RcppArmadillo}. |
104 | 108 | \item The included \code{Rcpp.bib} bibtex file (which is also used by |
105 | 109 | other Rcpp* packages) was updated with respect to its CRAN references. |
106 | 110 | } |
|
280 | 284 | \item Changes in Rcpp support functions: |
281 | 285 | \itemize{ |
282 | 286 | \item The \code{Rcpp.package.skeleton()} function will now use |
283 | | - \cpkg{pkgKitten} package, if available, to create a package which passes |
| 287 | + \CRANpkg{pkgKitten} package, if available, to create a package which passes |
284 | 288 | \code{R CMD check} without warnings. A new \code{Suggests:} has been added |
285 | | - for \cpkg{pkgKitten}. |
| 289 | + for \CRANpkg{pkgKitten}. |
286 | 290 | \item The \code{modules=TRUE} case for \code{Rcpp.package.skeleton()} has |
287 | 291 | been improved and now runs without complaints from \code{R CMD check} as well. |
288 | 292 | } |
289 | 293 | \item Changes in Rcpp unit test functions: |
290 | 294 | \itemize{ |
291 | | - \item Functions from the \cpkg{RUnit} package are now prefixed with \code{RUnit::} |
| 295 | + \item Functions from the \CRANpkg{RUnit} package are now prefixed with \code{RUnit::} |
292 | 296 | \item The \code{testRcppModule} and \code{testRcppClass} sample packages |
293 | 297 | now pass \code{R CMD check --as-cran} cleanly with NOTES or WARNINGS |
294 | 298 | } |
|
331 | 335 | \itemize{ |
332 | 336 | \item Changes in Rcpp API: |
333 | 337 | \itemize{ |
334 | | - \item Preserve backwards compatibility with \cpkg{Rcpp} 0.10.* by |
| 338 | + \item Preserve backwards compatibility with \CRANpkg{Rcpp} 0.10.* by |
335 | 339 | allowing \code{RObject} extraction from vectors (or lists) of Rcpp |
336 | 340 | objects |
337 | 341 | \item Add missing default constructor to Reference class that was |
|
382 | 386 | \itemize{ |
383 | 387 | \item Changes in Rcpp API: |
384 | 388 | \itemize{ |
385 | | - \item Functions provided/used by \cpkg{Rcpp} are now registered |
| 389 | + \item Functions provided/used by \CRANpkg{Rcpp} are now registered |
386 | 390 | with R and instantiated by client package alleviating the new for |
387 | 391 | explicit linking against \code{libRcpp} which is therefore no |
388 | 392 | longer created. |
|
421 | 425 | \item Changes in Rcpp unit tests: |
422 | 426 | \itemize{ |
423 | 427 | \item The file \code{tests/doRUnit.R} was rewritten following the |
424 | | - pattern deployed in \cpkg{RProtoBuf} which is due to Murray Stokely |
| 428 | + pattern deployed in \CRANpkg{RProtoBuf} which is due to Murray Stokely |
425 | 429 | \item The function \code{test()} was rewritten; it provides an |
426 | 430 | easy entry point to running unit tests of the installed package |
427 | 431 | } |
|
0 commit comments