Skip to content
Prev 10927 / 10988 Next

[Rcpp-devel] CRAN submission with NOTE about STRING_PTR

Dear Patrik and Dirk:

  I have received a few days ago a mail from Prof. Ripley with a similar issue
for my package, scellpam. The error is

checking compiled code ... NOTE
File ?scellpam/libs/scellpam.so?:
   Found non-API call to R: ?SET_TYPEOF?

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

See ?Writing portable packages? in the ?Writing R Extensions? manual.

which is quite similar to the one received by Patrik Schilter, but in his case with
a different non-API call, 'STRING_PTR'.

I don't know if this may help, but as the answer from Dirk suggests us to make the team
know about this, I write this mail.

  Also, the answer suggests that the issue needs certain time to be fixed.
Might it affect many or all the packages that depends on Rcpp (that, I guess, are
probably a lot of them)?
If this is the case, could we make some kind of collective petition to CRAN
to keep temporarily the packages until this can be fixed? (Because mine, for instance,
according to Prof. Ripley's mail, is scheduled to be retired by next July, 3rd...).

  Thanks a lot for your great effort maintaining Rcpp.

     Juan

El 23/6/24 a las 22:32, Dirk Eddelbuettel escribi?: