Skip to content

Remove deprecated Rcpp:::LdFlags / RcppLdFlags from Makevars #14

Description

@fdetsch

devtools::check() produces the following warning during installation:

─  checking whether package ‘remote’ can be installed ... [26s/26s] WARNING (26.5s)
   Found the following significant warnings:
     'Rcpp:::LdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
     'RcppLdFlags' has not been needed since 2013 (!!) and may get removed in 2027. Please update your 'Makevars'.
   See ‘/tmp/RtmpjGLmi2/filee4969334df1/remote.Rcheck/00install.out’ for details.

Both flags should be removed from src/Makevars (and src/Makevars.win if present). Rcpp has handled linking automatically since 2013 and these entries are now just dead weight – with a hard removal apparently planned for 2027.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildChanges affecting the build, compilation, installation, or package configuration.maintenanceRoutine maintenance and project upkeep.

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions