Skip to content

Commit c764ddd

Browse files
committed
Remove deprecated loadRcppModules (closes #1415)
1 parent d65b66a commit c764ddd

File tree

7 files changed

+9
-100
lines changed

7 files changed

+9
-100
lines changed

ChangeLog

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
2025-12-02 Dirk Eddelbuettel <[email protected]>
2+
3+
* R/loadRcppModules.R: Remove file with function deprecated years ago
4+
* man/loadRcppModules-deprecated.Rd: Idem
5+
* NAMESPACE: Remove reference to loadRcppModules()
6+
* man/loadModule.Rd: Idem
7+
* man/Rcpp-deprecated.Rd: Idem
8+
* vignettes/rmd/Rcpp-modules.Rmd: Idem
9+
110
2025-11-29 Dirk Eddelbuettel <[email protected]>
211

312
* R/RcppLdpath.R: Revisit deprecation warnings via 'message()' to be

NAMESPACE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ exportMethods(prompt, show, .DollarNames, initialize, "formals<-")
1616
export(Module,
1717
Rcpp.package.skeleton,
1818
populate,
19-
loadRcppModules, # deprecated since Rcpp 0.12.5 released May 2016
2019
setRcppClass,
2120
loadRcppClass,
2221
loadModule,

R/loadRcppModules.R

Lines changed: 0 additions & 59 deletions
This file was deleted.

man/Rcpp-deprecated.Rd

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
}
88
\details{
99
\itemize{
10-
\item \code{\link{loadRcppModules}} calls should now be replaced by
11-
\code{\link{loadModule}} calls, one per Module.
12-
1310
\item \code{\link{LdFlags}} and \code{\link{RcppLdFlags}} are no
1411
longer required as no library is provided (or needed) by Rcpp (as it
1512
was up until release 0.10.1).

man/loadModule.Rd

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,6 @@ John Chambers
8080
}
8181
\seealso{
8282
\code{\link{setRcppClass}()} to avoid the explicit call.
83-
84-
\code{\link{loadRcppModules}()} for a (deprecated) shotgun procedure to load all
85-
modules.
8683
}
8784
\examples{
8885
\dontrun{

man/loadRcppModules-deprecated.Rd

Lines changed: 0 additions & 26 deletions
This file was deleted.

vignettes/rmd/Rcpp-modules.Rmd

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1258,14 +1258,6 @@ package's namespace. For example, a package defining modules
12581258
RcppModules: yada, stdVector, NumEx
12591259
```
12601260

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-
12691261
### Just expose the module
12701262

12711263
Alternatively to exposing a module's content via `loadModule`,

0 commit comments

Comments
 (0)