xtensor-r icon indicating copy to clipboard operation
xtensor-r copied to clipboard

[R CMD check] NOTE: Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’

Open SylvainCorlay opened this issue 7 years ago • 3 comments

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.

SylvainCorlay avatar Aug 09 '17 23:08 SylvainCorlay

More material on this here: https://github.com/RcppCore/Rcpp/issues/636

SylvainCorlay avatar Aug 10 '17 00:08 SylvainCorlay

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.

vankampen92 avatar Mar 26 '18 17:03 vankampen92

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.

ekalosak avatar Jan 29 '20 01:01 ekalosak