[Bioc-devel] Registering native routines with Rcpp

Kevin Ushey kevinushey at gmail.com
Mon Feb 6 18:08:39 CET 2017


For what it's worth, the Rcpp team is aware that CRAN will soon be emitting
NOTEs for packages not registering native routines as well -- it's
currently tracked at

https://github.com/RcppCore/Rcpp/issues/636

The main difficulty on the Rcpp side is ensuring that we play well with
users who already have an 'R_init_*' function, although that case should be
relatively rare.

Best,
Kevin

On Mon, Feb 6, 2017 at 7:17 AM, Kasper Daniel Hansen <
kasperdanielhansen at gmail.com> wrote:

> Might be worth it to take this one over to Rcpp-devel and get some feedback
> there?
>
> Best,
> Kasper
>
> On Mon, Feb 6, 2017 at 5:22 AM, Aaron Taudt <aaron.taudt at gmail.com> wrote:
>
> > Dear all,
> >
> > I am trying to register the native routines in my package as recommended
> by
> > BiocCheck. I have done this previously for a package using C++ code.
> > However, for this package I am using Rcpp and I cannot figure out how to
> > register my native routines.
> >
> > My first problem is that I don't know which routines I actually have to
> > register. Is it ithe ones in the auto-generated "RcppExports.cpp" file,
> or
> > the ones that the have the "// [[Rcpp::export]]" tag?
> >
> > I have tried the Rcpp.package.skeleton() function, but this package
> doesn't
> > have native routine registration.
> >
> > Thanks for your help.
> >
> > Aaron
> >
> >         [[alternative HTML version deleted]]
> >
> > _______________________________________________
> > Bioc-devel at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/bioc-devel
> >
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>

	[[alternative HTML version deleted]]



More information about the Bioc-devel mailing list