diff --git a/R/zzz.R b/R/zzz.R new file mode 100644 index 0000000000000000000000000000000000000000..5e87dcbdde71dbb9f4e828ebe7eda1bb44c5eef6 --- /dev/null +++ b/R/zzz.R @@ -0,0 +1,13 @@ + +## Up until R 2.15.0, the require("methods") is needed but (now) +## triggers an warning from R CMD check +#.onLoad <- function(libname, pkgname){ +# #require("methods") ## needed with R <= 2.15.0 +# loadRcppModules() +#} + + +## For R 2.15.1 and later this also works. Note that calling loadModule() triggers +## a load action, so this does not have to be placed in .onLoad() or evalqOnLoad(). + +loadModule("mod_population", TRUE)