Re: [R-pkg-devel] Saving binary files in a package

2015-07-04 Thread Hadley Wickham
On Sat, Jul 4, 2015 at 10:00 AM, Dirk Eddelbuettel wrote: > > On 4 July 2015 at 09:12, Thierry Onkelinx wrote: > | You have no guarantee that the user has write access to those folders. So > | you might want to rethink your strategy. > > Seconded. And I am not aware of a good cross-platform soluti

Re: [R-pkg-devel] Saving binary files in a package

2015-07-04 Thread Dirk Eddelbuettel
On 4 July 2015 at 09:12, Thierry Onkelinx wrote: | You have no guarantee that the user has write access to those folders. So | you might want to rethink your strategy. Seconded. And I am not aware of a good cross-platform solution so your best bet may be to require the user to specify a filename.

Re: [R-pkg-devel] Saving binary files in a package

2015-07-04 Thread Thierry Onkelinx
You have no guarantee that the user has write access to those folders. So you might want to rethink your strategy. ​ ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance Klinieks

[R-pkg-devel] Saving binary files in a package

2015-07-03 Thread Glenn Schultz
Hi All, I am researching the criteria for submitting packages on the R website and using Hadley's packages book as a general guide.  The CRAN policy is that a package cannot write files.  My question is as follows: Does this apply when the package is installed only?  I ask because my package