Skip to content
Prev 62374 / 63421 Next

[External] Re: Is ALTREP "non-API"?

On Wed, 24 Apr 2024, Hadley Wickham wrote:

            
My pragmatic approach to deciding if an entry point is usable in a
package is to

     grep for it in the installed headers

     grep for it in WRE

     if those are good, check the text in both places to make sure it
     doesn't tell me not to use is

The first two can be automated; the text reading can't for now.

One place this runs into trouble is when the prose in WRE doesn't
explicitly mention the entry point, but says something like 'this one
and similar ones are OK'. A couple of years ago I worked on improving
some of those by explicitly adding some of those implicit ones, which
did sometimes make the text more cumbersome. I'm pretty sure I added
LOGICAL() and RAW() at that point (but may be mis-remebering); they
are there now. In some other cases I left the text alone but added
index entries. That makes them findable with a text search. I think I
got most that can be handled that way, but there may be some others
left. Far from ideal, but at least a step forward.
As you well know R-core is not a monolith. There are several R-core
members who also are not happy about how that played out and where
that stands now. But there was and is no viable option other than to
agree to disagree. There is really no upside to re-litigating this
now.

Best,

luke