Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2025-12-02 Dirk Eddelbuettel <[email protected]>

* R/loadRcppModules.R: Remove file with function deprecated years ago
* man/loadRcppModules-deprecated.Rd: Idem
* NAMESPACE: Remove reference to loadRcppModules()
* man/loadModule.Rd: Idem
* man/Rcpp-deprecated.Rd: Idem
* vignettes/rmd/Rcpp-modules.Rmd: Idem

2025-12-01 Kevin Ushey <[email protected]>

* R/Attributes.R: Update OpenMP plugin for macOS
Expand Down
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ exportMethods(prompt, show, .DollarNames, initialize, "formals<-")
export(Module,
Rcpp.package.skeleton,
populate,
loadRcppModules, # deprecated since Rcpp 0.12.5 released May 2016
setRcppClass,
loadRcppClass,
loadModule,
Expand Down
59 changes: 0 additions & 59 deletions R/loadRcppModules.R

This file was deleted.

3 changes: 0 additions & 3 deletions man/Rcpp-deprecated.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
}
\details{
\itemize{
\item \code{\link{loadRcppModules}} calls should now be replaced by
\code{\link{loadModule}} calls, one per Module.

\item \code{\link{LdFlags}} and \code{\link{RcppLdFlags}} are no
longer required as no library is provided (or needed) by Rcpp (as it
was up until release 0.10.1).
Expand Down
3 changes: 0 additions & 3 deletions man/loadModule.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ John Chambers
}
\seealso{
\code{\link{setRcppClass}()} to avoid the explicit call.

\code{\link{loadRcppModules}()} for a (deprecated) shotgun procedure to load all
modules.
}
\examples{
\dontrun{
Expand Down
26 changes: 0 additions & 26 deletions man/loadRcppModules-deprecated.Rd

This file was deleted.

8 changes: 0 additions & 8 deletions vignettes/rmd/Rcpp-modules.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -1258,14 +1258,6 @@ package's namespace. For example, a package defining modules
RcppModules: yada, stdVector, NumEx
```

The `loadRcppModules` function has a single argument `direct`
with a default value of `TRUE`. With this default value, all content
from the module is exposed directly in the package namespace. If set to
`FALSE`, all content is exposed as components of the module.

Note: This approach is **deprecated** as of Rcpp 0.12.5, and now triggers a
warning message. Eventually this function will be withdrawn.

### Just expose the module

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