Re: [Bioc-devel] Registering native routines with Rcpp
some more news on registration https://stat.ethz.ch/pipermail/r-devel/2017-February/073755.html On Mon, Feb 6, 2017 at 12:08 PM, Kevin Usheywrote: > 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 < > kasperdanielhan...@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 > 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@r-project.org mailing list > > > https://stat.ethz.ch/mailman/listinfo/bioc-devel > > > > > > > [[alternative HTML version deleted]] > > > > ___ > > Bioc-devel@r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/bioc-devel > > > > [[alternative HTML version deleted]] > > ___ > Bioc-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/bioc-devel > [[alternative HTML version deleted]] ___ Bioc-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel
Re: [Bioc-devel] Registering native routines with Rcpp
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 Taudtwrote: > 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@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/bioc-devel > [[alternative HTML version deleted]] ___ Bioc-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel
Re: [Bioc-devel] Registering native routines with Rcpp
On 02/06/2017 05:22 AM, Aaron Taudt 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. Registering native routines is a best practice, but not required and difficult (I think) to accomplish with Rcpp; I would not expend more effort on this. Martin Thanks for your help. Aaron [[alternative HTML version deleted]] ___ Bioc-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel This email message may contain legally privileged and/or...{{dropped:2}} ___ Bioc-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel
[Bioc-devel] Registering native routines with Rcpp
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@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel