Hi Dirk, Romain, For what it's worth, this may be unnecessary for now. There are packages on CRAN that pass with no notes AFAICS, using Rcpp:::LdFlags in Makevars. Use of Rcpp:::LdFlags() within Makevars does not trigger any explicit notes for me in the current R-devel on any of my packages, although a CRAN maintainer who inspected Makevars might still dislike such use -- I am not sure. I haven't encountered such a situation yet as I haven't tried submitting any new packages recently. I'm not sure if any package maintainers have related that specific frustration off-list. RcppLdFlags being exported was, in fact, necessary for some other packages that were constructing their Makevars programmatically through package R code.
In case it's ultimately unnecessary -- sorry for wasting your time on this; LdFlags can likely remain un-exported. -Kevin <snip...>
_______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel