Re: [R-pkg-devel] Uncaught use of internal functions from other packages in R CMD check

2020-06-16 Thread William Dunlap
And at least one widely used CRAN package defines `%:::%`, to mimic `:::`, and uses it to use unexported functions from the tools package. Bill Dunlap TIBCO Software wdunlap tibco.com On Mon, Jun 15, 2020 at 3:03 PM Balasubramanian Narasimhan < na...@stanford.edu> wrote: > At least one package

Re: [R-pkg-devel] Uncaught use of internal functions from other packages in R CMD check

2020-06-15 Thread Bert Gunter
Do note that ?asNamespace says: "Not **intended** to be called directly," (emphasis added) but not "should never be called directly" or some such. I don't know if this makes a difference to package checking, but it isn't clear to me that it would. Cheers, Bert Gunter "The trouble with having an

[R-pkg-devel] Uncaught use of internal functions from other packages in R CMD check

2020-06-15 Thread Balasubramanian Narasimhan
At least one package on CRAN uses get("foo", envir=asNamespace("imported_package")) and passes check. Is this known? -Naras __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel