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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Dec 21 03:14:50 CET 2011


Author: edd
Date: 2011-12-21 03:14:49 +0100 (Wed, 21 Dec 2011)
New Revision: 3423

Modified:
   pkg/Rcpp/ChangeLog
   pkg/Rcpp/inst/skeleton/zzz.R
Log:
correct order of arguments to .onLoad()


Modified: pkg/Rcpp/ChangeLog
===================================================================
--- pkg/Rcpp/ChangeLog	2011-12-20 15:01:00 UTC (rev 3422)
+++ pkg/Rcpp/ChangeLog	2011-12-21 02:14:49 UTC (rev 3423)
@@ -1,3 +1,7 @@
+2011-12-20  Dirk Eddelbuettel  <edd at debian.org>
+
+	* inst/skeleton/zzz.R (.onLoad): correct order of arguments
+
 2011-12-18  Dirk Eddelbuettel  <edd at debian.org>
 
 	* inst/examples/FastLM/lmArmadillo.R: Link with -llapack when using

Modified: pkg/Rcpp/inst/skeleton/zzz.R
===================================================================
--- pkg/Rcpp/inst/skeleton/zzz.R	2011-12-20 15:01:00 UTC (rev 3422)
+++ pkg/Rcpp/inst/skeleton/zzz.R	2011-12-21 02:14:49 UTC (rev 3423)
@@ -1,5 +1,5 @@
 
-.onLoad <- function(pkgname, libname){
+.onLoad <- function(libname, pkgname) {
     require("methods", character=TRUE, quietly=TRUE)
     loadRcppModules()
 }



More information about the Rcpp-commits mailing list