[R-pkg-devel] May .External2() be used in packages?

Konrad Rudolph konr@d@rudo|ph @end|ng |rom gm@||@com
Wed May 1 13:02:45 CEST 2024


Hello,

Is the `.External2()` function part of the public API, and can it be used
in R packages submitted to CRAN? I would like to start using it in a
package, and there *are* packages on CRAN which use it. But its man page
[1] calls it “internal”, R-exts doesn’t mention it at all (unlike `.C()`,
`.Call()` and `.External()`), and it doesn’t have any actual documentation.
In the context of the recent tightening of the C API CRAN rules, this makes
me concerned that `.External2()` might be next on the chopping block.

[1]
https://stat.ethz.ch/R-manual/R-devel/library/base/html/Foreign-internal.html

Cheers,

-- 
Konrad Rudolph // @klmr

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list