Skip to content

[R] So-called non-API entry points #43044

@jonkeane

Description

@jonkeane

Describe the enhancement requested

There has been some churn on the so-called non-api entry points that CRAN is checking. Some of these come from cpp11 directly and those are ok (as of now, at least, it seems — but that could change arbitrarily!). But others just popped up recently and are from our code.

The ones from cpp11 that we can (mostly) ignore (for now): SETLENGTH, SET_GROWABLE_BIT, SET_TRUELENGTH

The new ones are: LEVELS and Rf_findVarInFrame3

#define IS_ASCII(x) (LEVELS(x) & ASCII_MASK)
#define IS_UTF8(x) (LEVELS(x) & UTF8_MASK)

if (Rf_findVarInFrame3(arrow::r::ns::arrow, r6_class, FALSE) == R_UnboundValue) {

The second one has a similar call Rf_findVarInFrame that might be useable (and doesn't seem to complain) in that same file. Not sure about the LEVELS.

Component(s)

R

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions