[Rcpp-commits] r3622 - in pkg/Rcpp: . inst/skeleton

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri May 25 15:46:36 CEST 2012


Author: edd
Date: 2012-05-25 15:46:36 +0200 (Fri, 25 May 2012)
New Revision: 3622

Modified:
   pkg/Rcpp/ChangeLog
   pkg/Rcpp/inst/skeleton/zzz.R
Log:
added commented-out call to evalqOnLoad() for R-devel


Modified: pkg/Rcpp/ChangeLog
===================================================================
--- pkg/Rcpp/ChangeLog	2012-05-25 13:28:17 UTC (rev 3621)
+++ pkg/Rcpp/ChangeLog	2012-05-25 13:46:36 UTC (rev 3622)
@@ -1,3 +1,8 @@
+2012-05-25  Dirk Eddelbuettel  <edd at debian.org>
+
+	* inst/skeleton/zzz.R: Added new 'evalqOnLoad()' call for R-devel,
+	currently commented out
+
 2012-05-24  Dirk Eddelbuettel  <edd at debian.org>
 
 	* inst/skeleton/Num.cpp: Added to Rcpp.package.skeleton(); will be

Modified: pkg/Rcpp/inst/skeleton/zzz.R
===================================================================
--- pkg/Rcpp/inst/skeleton/zzz.R	2012-05-25 13:28:17 UTC (rev 3621)
+++ pkg/Rcpp/inst/skeleton/zzz.R	2012-05-25 13:46:36 UTC (rev 3622)
@@ -1,7 +1,15 @@
 
+## For R 2.15.0 we still need, but note the R CMD check issue
 .onLoad <- function(libname, pkgname){
     require("methods")  ## needed, but upsets R CMD check
     loadRcppModules()
 }
 
+## For R 2.15.1 and later this will work
+#evalqOnLoad({
+#    loadModule("NumEx", TRUE)
+#    loadModule("yada", TRUE)
+#    loadModule("stdVector", TRUE)
+#})
 
+



More information about the Rcpp-commits mailing list