[Rcpp-commits] r1838 - pkg/Rcpp/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Jul 8 15:35:09 CEST 2010
Author: edd
Date: 2010-07-08 15:35:09 +0200 (Thu, 08 Jul 2010)
New Revision: 1838
Modified:
pkg/Rcpp/src/Date.cpp
Log:
do not show warning for unknown tzone
Modified: pkg/Rcpp/src/Date.cpp
===================================================================
--- pkg/Rcpp/src/Date.cpp 2010-07-08 12:38:30 UTC (rev 1837)
+++ pkg/Rcpp/src/Date.cpp 2010-07-08 13:35:09 UTC (rev 1838)
@@ -687,11 +687,15 @@
name = fullname;
}
if (doaccess && access(name, R_OK) != 0) {
- Rf_warning("unknown timezone '%s'", sname);
+ // edd 08 Jul 2010 we use this without TZ for dates only
+ // so no need to warn
+ //Rf_warning("unknown timezone '%s'", sname);
return -1;
}
if ((fid = open(name, OPEN_MODE)) == -1) {
- Rf_warning("unknown timezone '%s'", sname);
+ // edd 08 Jul 2010 we use this without TZ for dates only
+ // so no need to warn
+ //Rf_warning("unknown timezone '%s'", sname);
return -1;
}
More information about the Rcpp-commits
mailing list