Browse code

fixed NAMESPACE loading

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/mzR@57753 bc3139a8-67e5-0310-9ffc-ced21a209358

Steffen Neumann authored on 31/08/2011 06:54:40
Showing2 changed files

  • NAMESPACE index 566540a085..280329c6dc 100644
  • R/zzz.R index f7061367c0..b0a4f23372 100644
... ...
@@ -2,6 +2,7 @@ useDynLib(mzR)
2 2
 
3 3
 importClassesFrom(Biobase, "Versioned")
4 4
 importFrom(Biobase, validMsg)
5
+importFrom(Rcpp, "loadRcppModules")
5 6
 
6 7
 ##exportPattern("^[[:alpha:]]+")
7 8
 
... ...
@@ -1,3 +1,3 @@
1
-.onLoad <- function(pkgname, libname){
2
-    Rcpp::loadRcppModules()
1
+.onLoad <- function(libname, pkgname){
2
+    loadRcppModules()
3 3
 }