File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed
Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -1236,28 +1236,6 @@ The `loadModule` function has an argument `what` to control which objects are
12361236exposed in the package namespace. The special value ` TRUE ` means that all
12371237objects are exposed.
12381238
1239- ### Deprecated legacy method using loadRcppModules
1240-
1241- Prior to release 0.9.11, where ` loadModule ` was introduced,
1242- loading all functions and classes from a module
1243- into a package namespace was achieved using the ` loadRcppModules ` function
1244- within the ` .onLoad ` body.
1245-
1246- ``` {r, eval=FALSE}
1247- .onLoad <- function(libname, pkgname) {
1248- loadRcppModules()
1249- }
1250- ```
1251-
1252- This will look in the package's ` DESCRIPTION ` file for the ` RcppModules `
1253- field, load each declared module and populate their contents into the
1254- package's namespace. For example, a package defining modules
1255- ` yada ` , ` stdVector ` , ` NumEx ` would have this declaration:
1256-
1257- ```
1258- RcppModules: yada, stdVector, NumEx
1259- ```
1260-
12611239### Just expose the module
12621240
12631241Alternatively to exposing a module's content via ` loadModule ` ,
You can’t perform that action at this time.
0 commit comments