[Rcpp-commits] r1761 - pkg/Rcpp/inst/unitTests
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Jun 28 16:57:42 CEST 2010
Author: edd
Date: 2010-06-28 16:57:41 +0200 (Mon, 28 Jun 2010)
New Revision: 1761
Modified:
pkg/Rcpp/inst/unitTests/runit.Date.R
Log:
add a (missing ?) wrap()
Modified: pkg/Rcpp/inst/unitTests/runit.Date.R
===================================================================
--- pkg/Rcpp/inst/unitTests/runit.Date.R 2010-06-28 14:39:45 UTC (rev 1760)
+++ pkg/Rcpp/inst/unitTests/runit.Date.R 2010-06-28 14:57:41 UTC (rev 1761)
@@ -106,7 +106,7 @@
DateVector v(2) ;
v[0] = Date(2005,12,31) ;
v[1] = Date(12,31,2005) ;
- return v ;
+ return wrap(v) ;
', plugin = "Rcpp" )
checkEquals(fx(), rep(as.Date("2005-12-31"),2), msg = "DateVector.SEXP")
}
More information about the Rcpp-commits
mailing list