---------- Forwarded message ----------
From: mai zhou <maiz...@gmail.com>
Date: Sun, Aug 12, 2018 at 4:06 PM
Subject: R_registerRoutines, R_useDynamicSymbols
To: r-package-devel@r-project.org


Hi, list,

I need help to get rid of the Note:

Found no calls to: 'R_registerRoutines', 'R_useDynamicSymbols'

It is good practice to register native routines and to disable symbol
search.


The package is emplik. I have only one C file in the src directory, that
defines two externally used functions called by .C( ) in R function:

cumsumsurv

eltestwt

What I did:

(1) add an init.c file in the src directory, and
(2) add .registration =TRUE to useDynLib(emplik, .registration = TRUE),  in
the NAMESPACE



Rcmd check fail......installation fail.

I attach the init.c file and cumsumsurv.c file below:

Any suggestions are very appreciated.

Mai Zhou
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to