Skip to content

New CRAN warnings on STRING_PTR and VECTOR_PTR #1316

Closed
@eddelbuettel

Description

@eddelbuettel

Running a recent r-devel:

  • checking compiled code ... NOTE
    File ‘Rcpp/libs/Rcpp.so’:
    Found non-API calls to R: ‘STRING_PTR’, ‘VECTOR_PTR’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of non-API entry points.

  • checking sizes of PDF files under ‘inst/doc’ ... OK

The new section Moving into C API compliance mentions read-only variants STRING_PTR_RO and VECTOR_PTR_RO which look promising.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions