@@ -1236,36 +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-
1261- The ` loadRcppModules ` function has a single argument ` direct `
1262- with a default value of ` TRUE ` . With this default value, all content
1263- from the module is exposed directly in the package namespace. If set to
1264- ` FALSE ` , all content is exposed as components of the module.
1265-
1266- Note: This approach is ** deprecated** as of Rcpp 0.12.5, and now triggers a
1267- warning message. Eventually this function will be withdrawn.
1268-
12691239### Just expose the module
12701240
12711241Alternatively to exposing a module's content via ` loadModule ` ,
0 commit comments