Note that your attachment was lost, so we don't know what your package code
looks like. It's helpful to host your package sources somewhere publicly
accessible (e.g. GitHub) to make it easier for others to access sources
quickly from a web browser.

My best guess is that your 'init.c' is missing the recommended calls to
R_registerRoutines() and R_useDynamicSymbols(). tools:::
package_native_routine_registration_skeleton() (new in R 3.5.0, if I recall
correctly) is very useful for auto-generating 'init.c' for you. See its
associated help file for usage.

See also:
https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Registering-native-routines

Best,
Kevin

On Mon, Aug 13, 2018 at 7:32 AM Charles Geyer <char...@stat.umn.edu> wrote:

> There are several other things to do.  You might find the toy package
> fooRegister I use for teaching helpful.
> https://github.com/cjgeyer/foo/tree/master/package/fooRegister
>
> --
> Charles Geyer
> Professor, School of Statistics
> Resident Fellow, Minnesota Center for Philosophy of Science
> University of Minnesota
> char...@stat.umn.edu
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-package-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>

        [[alternative HTML version deleted]]

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

Reply via email to