Re: [R-pkg-devel] Large data package

2021-05-02 Thread Ayala Hernandez, Rafael
Dear Dirk, Thanks a lot for your detailed explanation. This is indeed the solution that I have found to work nicely, and indeed keeps the code equally tidy. In fact, I am finding that using :: to access exported objects instead of ::: to access any object in the data package even helps me organi

Re: [R-pkg-devel] Large data package

2021-05-02 Thread Dirk Eddelbuettel
On 2 May 2021 at 15:00, Ayala Hernandez, Rafael wrote: | Thanks a lot for your clarifications. Both of your explanations make sense. Indeed, I would rather not have any other packages depend on the data package, at least not for the time being, in case I find good reasons to make modifications

Re: [R-pkg-devel] Large data package

2021-05-02 Thread Ayala Hernandez, Rafael
Dear Dirk and Duncan, Thanks a lot for your clarifications. Both of your explanations make sense. Indeed, I would rather not have any other packages depend on the data package, at least not for the time being, in case I find good reasons to make modifications in the data package. But it makes

Re: [R-pkg-devel] Large data package

2021-05-02 Thread Duncan Murdoch
On 02/05/2021 8:44 a.m., Dirk Eddelbuettel wrote: On 2 May 2021 at 10:12, Ayala Hernandez, Rafael wrote: | Following Dirk's suggestion below, I have recently added a data package as a drat repository for my asteRisk package, placing it under Suggests in the main package. | In order to keep the

Re: [R-pkg-devel] Large data package

2021-05-02 Thread Dirk Eddelbuettel
On 2 May 2021 at 10:12, Ayala Hernandez, Rafael wrote: | Following Dirk's suggestion below, I have recently added a data package as a drat repository for my asteRisk package, placing it under Suggests in the main package. | In order to keep the code tidy and know exactly when I’m accessing the

Re: [R-pkg-devel] Large data package

2021-05-02 Thread Ayala Hernandez, Rafael
Dear All, Following Dirk's suggestion below, I have recently added a data package as a drat repository for my asteRisk package, placing it under Suggests in the main package. In order to keep the code tidy and know exactly when I’m accessing the data in the data package, I access all the data i

Re: [R-pkg-devel] Large data package

2021-04-27 Thread Bryan Hanson
Here’s a blog post on using drat with github actions to make data deployment to drat automatic. Maybe more than you need. Disclaimer, I’m the post author. Bryan https://chemospec.org/2021/04/11/p19/ > On Apr 27, 2021, at 3:09 PM, Ayala Hernandez, Rafae

Re: [R-pkg-devel] Large data package

2021-04-27 Thread Ayala Hernandez, Rafael
Dear Dirk and Berry, Thanks a lot for your input and for pointing me to the very nice article on the R Journal. It seems to me that hosting the data via GitHub by using the drat package is the best solution. I will work towards this implementation. Best wishes, Rafa > El 28 abr 2021, a las 0:

Re: [R-pkg-devel] Large data package

2021-04-27 Thread Ayala Hernandez, Rafael
Dear Dirk and Berry, Thanks a lot for your input and for pointing me to the very nice article on the R Journal. It seems to me that hosting the data via GitHub and > El 28 abr 2021, a las 0:04, Dirk Eddelbuettel escribió: > > > *** > This email originates from outside Imperia

Re: [R-pkg-devel] Large data package

2021-04-27 Thread Dirk Eddelbuettel
On 27 April 2021 at 10:26, Ayala Hernandez, Rafael wrote: | I am in the process of including a large update for my package asteRisk, that will require the usage of large data files (amounting in total to ~100 MB). | | Given the CRAN package size limits of 5 MB, I am wondering what is the prefe

[R-pkg-devel] Large data package

2021-04-27 Thread Ayala Hernandez, Rafael
Dear all, I am in the process of including a large update for my package asteRisk, that will require the usage of large data files (amounting in total to ~100 MB). Given the CRAN package size limits of 5 MB, I am wondering what is the preferred solution in these cases? I have read multiple poss

Re: [R-pkg-devel] Large Data Package CRAN Preferences

2019-12-15 Thread Ralf Stubner
On Sun, Dec 15, 2019 at 6:27 PM wrote: > Thanks for this information, and it makes sense to me. Is there a preferred > way to cache the data locally? Personally I like making an R package out of the data and hosting it in an "AdditionalRepository". This is quite easy with the help of the drat p

Re: [R-pkg-devel] Large Data Package CRAN Preferences

2019-12-15 Thread Henrik Bengtsson
ave a user-specified cache directory like #2, but have it default to > somewhere in their home directory like `file.path(Sys.getenv("HOME"), > "datapkg_cache")` if they have not set the option. > > To me #3 sounds best, but I'd like to be sure that I'm

Re: [R-pkg-devel] Large Data Package CRAN Preferences

2019-12-15 Thread bill
path(Sys.getenv("HOME"), "datapkg_cache")` if they have not set the option. To me #3 sounds best, but I'd like to be sure that I'm not missing something. Thanks, Bill -Original Message- From: Uwe Ligges Sent: Sunday, December 15, 2019 11:54 AM To: b...@den

Re: [R-pkg-devel] Large Data Package CRAN Preferences

2019-12-15 Thread Uwe Ligges
Ideally yoiu wpuld host the data elsewhere and submit a CRAN package that allows users to easily get/merge/aggregate the data. Best, Uwe Ligges On 12.12.2019 20:55, b...@denney.ws wrote: Hello, I have two questions about creating data packages for data that will be updated and in total

[R-pkg-devel] Large Data Package CRAN Preferences

2019-12-12 Thread bill
Hello, I have two questions about creating data packages for data that will be updated and in total are >5 MB in size. The first question is: In the CRAN policy, it indicates that packages should be ?5 MB in size in general. Within a package that I'm working on, I need access to data t