[R-pkg-devel] Package Submission: issues with R_registerRoutines', 'R_useDynamicSymbols'

Ege Rubak rubak at math.aau.dk
Thu Apr 13 17:35:36 CEST 2017


Hi,

This is something that has gotten quite a bit of attention recently due 
to the coming R 3.4 giving a NOTE when routines aren't declared. You 
should be able to find info on this list or elsewhere.
Basically you need to make a file called e.g. init.c in your src/ with 
the appropriate code. This file can be auto-generated for you as 
described by Dirk here:
http://dirk.eddelbuettel.com/blog/2017/03/30/#002_even_easier_package_registration

Good luck!

Ege

On 04/13/2017 11:14 PM, Vineetha Warriyar Kodalore Vijayan wrote:
>
> Hi,
>
>
> When I submitted my R package to CRAN, it didn't go through the automatic incoming check, resulting the following NOTE.  I tested on my macOS with R CMD CHECK and R CMD --as-cran, both went through with one NOTE ( Maintainer: NOTE).
>
> * checking compiled code ... NOTE
> File 'EpiILM/libs/i386/EpiILM.dll':
>   Found no calls to: 'R_registerRoutines', 'R_useDynamicSymbols'
> File 'EpiILM/libs/x64/EpiILM.dll':
>   Found no calls to: 'R_registerRoutines', 'R_useDynamicSymbols'
>
> It is good practice to register native routines and to disable symbol
> search.
>
> See 'Writing portable packages' in the 'Writing R Extensions' manual.
>
> I did go through the manual (section 5.4), but didn't understand much. Can someone help to resolve this issue?
>
>
> Thanks,
>
> Vineetha
>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-package-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>



More information about the R-package-devel mailing list