From ec238b5d7fd80873d70d84b5274ef00a5389a1ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20=20BRIDEL?= <sebastien.bridel@pasteur.fr> Date: Mon, 12 Sep 2022 16:11:56 +0200 Subject: [PATCH] Upload New File --- R/zzz.R | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 R/zzz.R diff --git a/R/zzz.R b/R/zzz.R new file mode 100644 index 0000000..5e87dcb --- /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) -- GitLab