xtensor-r
xtensor-r copied to clipboard
[R CMD check] NOTE: Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
The R check for the generated cran package triggers the following warning (NOTE):
File ‘xtensor/libs/xtensor.so’:
Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
It is good practice to register native routines and to disable symbol
search.
More material on this here: https://github.com/RcppCore/Rcpp/issues/636
Did you find a way to get rid of this NOTE?
I am getting this after doing:
devtools::build_win()
of a package I am developing.
If you're still hunting for a solution: there's a nice code generator that will register the native functions with R compliant with the current Writing R Extensions section 5.4. This works for most user-generated packages.