Re: [R-pkg-devel] Including Rcpp in an existing package

2016-12-22 Thread Glenn Schultz
Hello All, Thank-you all for your responses it was very helpful.  I have one last question.  I was planning on branching a new version of my package to allow the use of rcpp.   My question is, Can I just set up my package to be rcpp ready (for lack of a better term) without testing C++ code i

Re: [R-pkg-devel] Including Rcpp in an existing package

2016-12-22 Thread Dirk Eddelbuettel
On 22 December 2016 at 14:15, Duncan Murdoch wrote: | On 22/12/2016 1:55 PM, Glenn Schultz wrote: | > All, | > My package was not initially built with the rcpp use in mind. I have to include C++ source code for a particular project so I will have edit the description file add src files, etc. b

Re: [R-pkg-devel] Including Rcpp in an existing package

2016-12-22 Thread Ben Bolker
A mistake that I have made repeatedly is forgetting to add an appropriate UseDynLib() call to the NAMESPACE file. On 16-12-22 02:15 PM, Duncan Murdoch wrote: > On 22/12/2016 1:55 PM, Glenn Schultz wrote: >> All, >> My package was not initially built with the rcpp use in mind. I have >> to inclu

Re: [R-pkg-devel] Including Rcpp in an existing package

2016-12-22 Thread Duncan Murdoch
On 22/12/2016 1:55 PM, Glenn Schultz wrote: All, My package was not initially built with the rcpp use in mind. I have to include C++ source code for a particular project so I will have edit the description file add src files, etc. by hand. I an going over the rcpp documentation now and revi