|
2 | 2 | \title{News for Package 'Rcpp'}
|
3 | 3 | \newcommand{\cpkg}{\href{http://CRAN.R-project.org/package=#1}{\pkg{#1}}}
|
4 | 4 |
|
5 |
| -\section{Changes in [UNRELEASED] Rcpp version 0.11.2}{ |
| 5 | +\section{Changes in Rcpp version 0.11.2 (2014-06-06}{ |
6 | 6 | \itemize{
|
7 |
| - \item Implicit conversions, e.g. between \code{NumericVector} and |
8 |
| - \code{IntegerVector}, will now give warnings if you use |
9 |
| - \code{\#define RCPP_WARN_ON_COERCE} before including the Rcpp |
10 |
| - headers. |
11 |
| - \item Templated \code{List} containers, \code{ListOf<T>}, have been |
12 |
| - introduced. When subsetting such containers, the return is assumed |
13 |
| - to be of type T, allowing code such as |
14 |
| - \code{ListOf<NumericVector> x; NumericVector y = x[0] + x[1] + x[2]}. |
15 |
| - \item Trailing line comments are now stripped by the attributes |
16 |
| - parser. This allows the parser to handle C++ source files |
17 |
| - containing comments inline with function arguments. |
18 |
| - \item The \code{USE_CXX1X} environment variable is now defined by |
19 |
| - the cpp11 plugin when R >= 3.1. Two additional plugins have been |
20 |
| - added for use with C++0x (eg when using g++ 4.6.* as on Windows) |
21 |
| - as well as C++1y for compilers beginning to support the next |
22 |
| - revision of the stanard. |
23 |
| - \item \code{compileAttributes()} now also considers Imports: which |
24 |
| - may suppress a warning when running \code{Rcpp.package.skeleton()}. |
| 7 | + \item Changes in Rcpp API: |
| 8 | + \itemize{ |
| 9 | + \item Implicit conversions, e.g. between \code{NumericVector} and |
| 10 | + \code{IntegerVector}, will now give warnings if you use |
| 11 | + \code{\#define RCPP_WARN_ON_COERCE} before including the Rcpp |
| 12 | + headers. |
| 13 | + \item Templated \code{List} containers, \code{ListOf<T>}, have been |
| 14 | + introduced. When subsetting such containers, the return is assumed |
| 15 | + to be of type T, allowing code such as |
| 16 | + \code{ListOf<NumericVector> x; NumericVector y = x[0] + x[1] + x[2]}. |
| 17 | + \item In a number of instances, returned results are protected and/or cast |
| 18 | + more carefully. |
| 19 | + } |
| 20 | + \item Changes in Rcpp Attributes |
| 21 | + \itemize{ |
| 22 | + \item Trailing line comments are now stripped by the attributes |
| 23 | + parser. This allows the parser to handle C++ source files |
| 24 | + containing comments inline with function arguments. |
| 25 | + \item The \code{USE_CXX1X} environment variable is now defined by |
| 26 | + the cpp11 plugin when R >= 3.1. Two additional plugins have been |
| 27 | + added for use with C++0x (eg when using g++ 4.6.* as on Windows) |
| 28 | + as well as C++1y for compilers beginning to support the next |
| 29 | + revision of the standard; additional fallback is provided for |
| 30 | + Windows. |
| 31 | + \item \code{compileAttributes()} now also considers Imports: which |
| 32 | + may suppress a warning when running \code{Rcpp.package.skeleton()}. |
| 33 | + } |
25 | 34 | }
|
26 | 35 | }
|
27 | 36 |
|
|
0 commit comments