Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SylvainCorlay opened this issue Aug 9, 2017 · 3 comments

Comments

@SylvainCorlay
Copy link
Member

SylvainCorlay commented Aug 9, 2017

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
Copy link
Member Author

More material on this here: RcppCore/Rcpp#636

@SylvainCorlay SylvainCorlay mentioned this issue Aug 10, 2017
5 tasks
@vankampen92
Copy link

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.

@ekalosak
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants