-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
We are getting these NOTEs on CRAN, e.g.
Found non-API calls to R: ‘SETLENGTH’, ‘SET_S4_OBJECT’,
‘SET_TRUELENGTH’, ‘UNSET_S4_OBJECT’
I'm really skeptical about the SETLENGTH and SET_TRUELENGTH parts, which have long been a key underlying feature of data.table internals. I propose we try and keep using those unless CRAN really forces our hands CRAN is really forcing our hands :). It be really great if someone wanted to do a performance comparison of the package with/without those calls.
Anyway, it should be easier to remove the non-API S4 calls.
The list does keep changing as this is an actively evolving piece of r-devel. Here's the current list of things we should (eventually) address:
- LEVELS
- OBJECT
- Rf_GetOption
- NAMED
- SET_S4_OBJECT
- SET_TYPEOF
- STRING_PTR
- UNSET_S4_OBJECT
- isFrame
- SETLENGTH
- SET_TRUELENGTH
- SET_GROWABLE_BIT
- TRUELENGTH