nlmixr2 / rxode2parse

1 stars 0 forks source link

SET_TYPEOF no longer allowed #95

Closed mattfidler closed 2 months ago

mattfidler commented 2 months ago

File ‘rxode2parse/libs/rxode2parse.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. Flavors: r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

mattfidler commented 2 months ago

https://github.com/nlmixr2/rxode2parse/blob/aaab59dc810327b1e4dacd196607ac072657eed6/src/getOption.c#L12

mattfidler commented 2 months ago

See

https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Evaluating-R-expressions-from-C