Re: [Rcpp-devel] lighter source package

2016-02-29 Thread Baptiste Auguie
On 1 March 2016 at 04:21, Dirk Eddelbuettel wrote: > > On 29 February 2016 at 09:48, Simon Urbanek wrote: > | > | > | > On Feb 28, 2016, at 2:59 PM, Kevin Ushey wrote: > | > > | > What about having a 'configure' script that generates this header file > | > on package install? > | > > https://cra

Re: [Rcpp-devel] lighter source package

2016-02-29 Thread Dirk Eddelbuettel
On 29 February 2016 at 09:48, Simon Urbanek wrote: | | | > On Feb 28, 2016, at 2:59 PM, Kevin Ushey wrote: | > | > What about having a 'configure' script that generates this header file | > on package install? | > https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Configure-and-clea

Re: [Rcpp-devel] lighter source package

2016-02-29 Thread Simon Urbanek
> On Feb 28, 2016, at 2:59 PM, Kevin Ushey wrote: > > What about having a 'configure' script that generates this header file > on package install? > https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Configure-and-cleanup > You don't even need that - it's much easier to simply add a

Re: [Rcpp-devel] lighter source package

2016-02-28 Thread Baptiste Auguie
Thanks Kevin. Indeed, something along those lines should be the way to go, though I wouldn't really know how to adapt the example to load a Rdata file, export a text file, move it to src/ and clean up. Fortunately, after having a closer look at this header file, it looks like I'm not currently usin

Re: [Rcpp-devel] lighter source package

2016-02-28 Thread Kevin Ushey
What about having a 'configure' script that generates this header file on package install? https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Configure-and-cleanup On Sun, Feb 28, 2016 at 11:18 AM, Baptiste Auguie wrote: > Dear Rcpp gurus, > > In the process of updating my planar packag

[Rcpp-devel] lighter source package

2016-02-28 Thread Baptiste Auguie
Dear Rcpp gurus, In the process of updating my planar package < https://github.com/baptiste/planar>, CRAN has mentioned their concern with the size of the source package (20Mb compressed tar.gz). This puzzled me until I found the culprit: a 40Mb header file < https://github.com/baptiste/planar/blo