<div dir="ltr">Dear Rcpp gurus,<div><br></div><div>In the process of updating my planar package <<a href="https://github.com/baptiste/planar">https://github.com/baptiste/planar</a>>, 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 <<a href="https://github.com/baptiste/planar/blob/master/src/clencurt.h">https://github.com/baptiste/planar/blob/master/src/clencurt.h</a>> with 500k pre-calculated quadrature points.</div><div>I'm thinking that the easiest strategy is probably to compress these data into binary form, say as a Rdata file in inst/, and have the Makefile do some magic to recover it during the package compilation. I'm not sure how to achieve this, or if it even makes sense. Any example of a similar procedure I could follow?</div><div><br></div><div>Thanks,</div><div><br></div><div>baptiste</div></div>