Skip to content

R_NewHashedEnv should not be in Rcpp? #771

Description

@mattfidler

I am using the following code in my package:

...
Environment e = new_env();
...

I get the following:

* checking compiled code ... NOTE
File 'RxODE/libs/x64/RxODE.dll':
  Found non-API call to R: 'R_NewHashedEnv'

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

Apparantly, this isn't allowed for CRAN packages...?

This is called in the following file

inline Environment new_env(int size = 29) {

Hopefully this is reproducable enough for a bug report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions