File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed
Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 1+ 2016-10-23 Nathan Russell <russell.nr2012@gmail.com>
2+
3+ * inst/unitTests/runit.dispatch.R (test.ExpressionVector): Use
4+ expression rather than parse, correct typo
5+
162016-10-21 Qiang Kou <qkou@umail.iu.edu>
27
38 * inst/include/Rcpp/barrier.h: Change string_elt/vector_elt to accept R_xlen_t
Original file line number Diff line number Diff line change 1616 \code {rowMeans()}, \code {colMeans()} (PR \ghpr {551 } by Nathan Russell
1717 fixing \ghit {549 })
1818 }
19+ \item Changes in Rcpp unit tests
20+ \itemize {
21+ \item A test for expression vectors was corrected.
22+ }
1923 \item Updated Date and Datetime vector classes :
2024 \itemize {
2125 \item The \code {DateVector } and \code {DatetimeVector } classes were renamed
Original file line number Diff line number Diff line change 11# !/usr/bin/env r
22# -*- mode: R; tab-width: 4; -*-
33#
4- # Copyright (C) 2009 - 2014 Dirk Eddelbuettel and Romain Francois
4+ # Copyright (C) 2009 - 2016 Dirk Eddelbuettel and Romain Francois
5+ # Copyright (C) 2016 Dirk Eddelbuettel, Romain Francois and Nathan Russell
56#
67# This file is part of Rcpp.
78#
@@ -44,8 +45,8 @@ if (.runThisTest) {
4445 }
4546
4647 test.ExpressionVector <- function () {
47- x <- parse( text = " rnrom; rnrom (10); mean(1:10)" )
48- checkEquals(first_el(x ), x [1 ], msg = " RCPP_RETURN_VECTOR (numeric )" )
48+ x <- expression( rnorm , rnorm (10 ), mean(1 : 10 ))
49+ checkEquals(first_el(x ), x [1 ], msg = " RCPP_RETURN_VECTOR (expression )" )
4950 }
5051
5152 test.GenericVector <- function () {
You can’t perform that action at this time.
0 commit comments