Hi,
thanks in advance for the time to maintain this super nice package. I am very new to compile C code in R so sorry if this is stupid.
My collaborator and I introduced objective_function in Cpp to be use with gamlss. here is the code for that: https://github.com/lpantano/isomiRs/blob/cpp/src/LQNO_DE.cpp
I got it compiled, but I am having a warning during R CHECK:
* checking compiled code ... WARNING
File ‘isomiRs/libs/LQNO_DE.so’:
Found ‘_abort’, possibly from ‘abort’ (C)
Object: ‘LQNO_DE.o’
File ‘isomiRs/libs/LQNO_DE.so’:
Found non-API call to R: ‘R_RunExitFinalizers’
Compiled code should not call entry points which might terminate R nor
write to stdout/stderr instead of to the console, nor the system RNG.
Compiled code should not call non-API entry points in R.
I think it comes from TMB.h, but not sure how to work around. I am with R 3.4, TMB 1.7.10, Rcpp 0.12.1.
I don't know if you have any hints to where to start to fix this. Thanks anyway!
Hi,
thanks in advance for the time to maintain this super nice package. I am very new to compile C code in R so sorry if this is stupid.
My collaborator and I introduced
objective_functionin Cpp to be use withgamlss. here is the code for that: https://github.com/lpantano/isomiRs/blob/cpp/src/LQNO_DE.cppI got it compiled, but I am having a warning during R CHECK:
I think it comes from
TMB.h, but not sure how to work around. I am with R 3.4, TMB 1.7.10, Rcpp 0.12.1.I don't know if you have any hints to where to start to fix this. Thanks anyway!