Skip to content

Revisit nagging about long-redundant Rcpp::LdPath() and alike #1412

@eddelbuettel

Description

@eddelbuettel

A long time ago in a parallel universe far away we attempted to clean up use of (most of the) already-then ancient and unused helper functions in R/RcppLdpath.R. However, by jumping directly to .Deprecated() we created too much line noise and rolled this back. ChangeLog has the goods:

Rcpp/ChangeLog

Lines 2279 to 2281 in 274f5ab

* R/RcppLdpath.R (RcppLdPath, RcppLdFlags, CxxFlags, RcppCxx0xFlags):
After discussion with CRAN, do not mark as .Deprecated() as too many
packages are involved. This will need to be phased in more slowly.

That was seven (7) years ago. Ouch. Given the use of #pragma message() for other coding styles we feel can be improved, I am planning to revisit this:

  • add a message() this release cycle
  • one or more release cycles later turn into warning()
  • one or more release cycles later turn .Deprecated() back on

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions