Skip to content
Prev 8521 / 12125 Next

[R-pkg-devel] Inquiry

On Wed, 28 Sep 2022 05:19:06 -0400
Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
<SNIP>
Surely package writers should not write code that uses internal
functions, irrespective of whether these functions are exported.
I don't think that I ever have.  (That last could be wishful thinking I
guess.)

Not exporting makes it harder for package writers to know about the
*existence* of such functions, but it's not impossible (or even really
difficult) for a package-writer-type to find out about them.

The write can always then make a copy of the code in their own package,
which eliminates the problem with dependencies.

Anyway, does everybody 'get them "right" the first time'? :-)

cheers,

Rolf