[Rcpp-commits] r3756 - in pkg/RcppBDT: inst src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Sep 1 23:37:00 CEST 2012


Author: edd
Date: 2012-09-01 23:37:00 +0200 (Sat, 01 Sep 2012)
New Revision: 3756

Added:
   pkg/RcppBDT/inst/data/
   pkg/RcppBDT/inst/extdata/
Removed:
   pkg/RcppBDT/inst/data/
Modified:
   pkg/RcppBDT/src/RcppBDTtz.cpp
Log:
inst/date -> inst/extdata to not conflict with data/ directory

Modified: pkg/RcppBDT/src/RcppBDTtz.cpp
===================================================================
--- pkg/RcppBDT/src/RcppBDTtz.cpp	2012-09-01 21:32:58 UTC (rev 3755)
+++ pkg/RcppBDT/src/RcppBDTtz.cpp	2012-09-01 21:37:00 UTC (rev 3756)
@@ -29,7 +29,7 @@
 	// nice little trick: evaluate a Language() object corresponding to the R call
 	//    system.file("data", "date_time_zonespec.csv", package="RcppBDT")
 	// but from C++
-	Rcpp::Language ll = Rcpp::Language("system.file", "data", "date_time_zonespec.csv", 
+	Rcpp::Language ll = Rcpp::Language("system.file", "extdata", "date_time_zonespec.csv", 
 					   Rcpp::Named("package","RcppBDT"));
 	std::string zonefile = Rcpp::as<std::string>(ll.eval(R_GlobalEnv));
     	m_tz.load_from_file(zonefile); 			// load db from csv zonefile



More information about the Rcpp-commits mailing list