[Rcpp-commits] r809 - pkg/Rcpp/src/Rcpp
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Mar 1 14:49:43 CET 2010
Author: romain
Date: 2010-03-01 14:49:43 +0100 (Mon, 01 Mar 2010)
New Revision: 809
Modified:
pkg/Rcpp/src/Rcpp/Named.h
Log:
the default SEXP should be R_MissingArg in Named
Modified: pkg/Rcpp/src/Rcpp/Named.h
===================================================================
--- pkg/Rcpp/src/Rcpp/Named.h 2010-03-01 13:48:51 UTC (rev 808)
+++ pkg/Rcpp/src/Rcpp/Named.h 2010-03-01 13:49:43 UTC (rev 809)
@@ -48,7 +48,7 @@
* uses NULL as the value
* @param tag name to give to the object
*/
- Named( const std::string& tag ) : object(R_NilValue), tag(tag){} ;
+ Named( const std::string& tag ) : object(R_MissingArg), tag(tag){} ;
template<typename T>
Named( const std::string& tag, const T& value ) : object(wrap(value)), tag(tag) {}
More information about the Rcpp-commits
mailing list