[Rcpp-commits] r3616 - in pkg/Rcpp: . inst inst/skeleton
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu May 24 17:42:56 CEST 2012
Author: edd
Date: 2012-05-24 17:42:56 +0200 (Thu, 24 May 2012)
New Revision: 3616
Modified:
pkg/Rcpp/ChangeLog
pkg/Rcpp/inst/NEWS
pkg/Rcpp/inst/skeleton/zzz.R
Log:
updated zzz.R too
added something to NEWS
Modified: pkg/Rcpp/ChangeLog
===================================================================
--- pkg/Rcpp/ChangeLog 2012-05-24 15:28:43 UTC (rev 3615)
+++ pkg/Rcpp/ChangeLog 2012-05-24 15:42:56 UTC (rev 3616)
@@ -4,6 +4,8 @@
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
Modified: pkg/Rcpp/inst/NEWS
===================================================================
--- pkg/Rcpp/inst/NEWS 2012-05-24 15:28:43 UTC (rev 3615)
+++ pkg/Rcpp/inst/NEWS 2012-05-24 15:42:56 UTC (rev 3616)
@@ -3,6 +3,10 @@
o New member function for vectors (and lists etc) containsElementNamed()
which returns a boolean indicating if the given element name is present
+ o Updated the Rcpp.package.skeleton() support for Rcpp modules by
+ carrying functions already present from the corresponding unit test
+ which was also slightly expanded; and added more comments to the code
+
o Extended functionality to let R modify C++ clases imported via modules
o Support compilation in Cygwin thanks to a patch by Dario Buttari
Modified: pkg/Rcpp/inst/skeleton/zzz.R
===================================================================
--- pkg/Rcpp/inst/skeleton/zzz.R 2012-05-24 15:28:43 UTC (rev 3615)
+++ pkg/Rcpp/inst/skeleton/zzz.R 2012-05-24 15:42:56 UTC (rev 3616)
@@ -1,6 +1,6 @@
-.onLoad <- function(libname, pkgname) {
- require("methods", character=TRUE, quietly=TRUE)
+.onLoad <- function(libname, pkgname){
loadRcppModules()
}
+
More information about the Rcpp-commits
mailing list