File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
2015-01-01 Dirk Eddelbuettel <
[email protected] >
2
2
3
3
* inst/include/Rcpp/sugar/functions/mean.h: Return type is double, not
4
- storage type; also added logical vector case
4
+ storage type; also added logical vector case; also added integer case
5
+ to correctly deal with NA values
6
+
7
+ * inst/unitTests/runit.sugar.R: Added unit tests for new sugar mean()
8
+ * inst/unitTests/cpp/sugar.cpp: C++ side of new unit tests
5
9
6
10
2014-12-31 Dirk Eddelbuettel <
[email protected] >
7
11
Original file line number Diff line number Diff line change 20
20
\code {List }, \code {RawVector } and \code {ExpressionVector }.
21
21
\item Vectors now have a \code {Vector :: const \_iterator } that is ' const correct'
22
22
thanks to fix by Romain following bug report in rcpp - devel by Martyn Plummer.
23
- \item The \code {mean()} sugar function now uses a more robust two - pass method.
23
+ \item The \code {mean()} sugar function now uses a more robust two - pass
24
+ method , and new unit tests for added at the same time.
24
25
}
25
26
\item Changes in Rcpp Attributes :
26
27
\itemize {
You can’t perform that action at this time.
0 commit comments