Skip to content

Commit 9ed6840

Browse files
committed
Warn on coerce news entry
1 parent 47ed3fe commit 9ed6840

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

inst/NEWS.Rd

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
\section{Changes in [UNRELEASED] Rcpp version 0.11.2}{
66
\itemize{
7+
\item Implicit conversions, e.g. between \code{NumericVector} and
8+
\code{IntegerVector}, now throw warnings. These warnings can be
9+
disabled by defining \code{\#define RCPP_DONT_WARN_ON_COERCE}
10+
before including Rcpp, or by making the conversion explicit with
11+
e.g. \code{Rf_coerceVector}.
712
\item Templated \code{List} containers, \code{ListOf<T>}, have been
813
introduced. When subsetting such containers, the return is assumed
914
to be of type T, allowing code such as

0 commit comments

Comments
 (0)