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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri May 25 15:28:17 CEST 2012


Author: edd
Date: 2012-05-25 15:28:17 +0200 (Fri, 25 May 2012)
New Revision: 3621

Modified:
   pkg/Rcpp/ChangeLog
   pkg/Rcpp/inst/skeleton/zzz.R
Log:
revert removal of 'require(methods)' in zzz.R


Modified: pkg/Rcpp/ChangeLog
===================================================================
--- pkg/Rcpp/ChangeLog	2012-05-24 22:56:33 UTC (rev 3620)
+++ pkg/Rcpp/ChangeLog	2012-05-25 13:28:17 UTC (rev 3621)
@@ -4,8 +4,6 @@
 	added when module=TRUE in call
 	* inst/skeleton/stdVector.cpp: Idem
 
-	* inst/skeleton/zzz.R: Now just a loadRcppModules() call in .onLoad()
-
 	* inst/unitTests/testRcppModule/src/rcpp_module.cpp: added more
 	comments, added copyright header, corrected output of example
 	functions by not escaping "backslash-n" twice
@@ -17,7 +15,7 @@
 	tests for Rcpp Modules
 
 	* inst/doc/Rcpp-modules/Rcpp-modules.Rnw: Some extensions and
-	clarifications added 
+	clarifications added
 
 2012-05-13  Dirk Eddelbuettel  <edd at debian.org>
 

Modified: pkg/Rcpp/inst/skeleton/zzz.R
===================================================================
--- pkg/Rcpp/inst/skeleton/zzz.R	2012-05-24 22:56:33 UTC (rev 3620)
+++ pkg/Rcpp/inst/skeleton/zzz.R	2012-05-25 13:28:17 UTC (rev 3621)
@@ -1,5 +1,6 @@
 
 .onLoad <- function(libname, pkgname){
+    require("methods")  ## needed, but upsets R CMD check
     loadRcppModules()
 }
 



More information about the Rcpp-commits mailing list