Re: [R-pkg-devel] creating a function that creates a figure

2021-04-27 Thread Oliver Madsen
2 standard options are to either use an example dataset (eg. data(mtcars)) that fits your function. help(glm) has an example using the anorexia dataset. A second option is to create toy data in the example itself. Both help(lm) and help(glm) has examples doing so. Br Oliver P. M. On Wed, 28 Apr 2

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

Re: [R-pkg-devel] Call internal R functions in C

2021-04-27 Thread Cai Li
*Dear Duncan, Thank you very much for your helpful advice! In addition, could you kindly help answer my follow-up questions below? * *Instead of passing the private R package environment to C, is there a way to alter the namespace so that files in the "R" directory of the package can be read by t

Re: [R-pkg-devel] Winbuilder error for rgl on R 3.6.3

2021-04-27 Thread Tim Schäfer
Dear Uwe, It worked this time, thanks. Apparently just a hiccup. Best, Tim > On 04/26/2021 11:18 PM Uwe Ligges wrote: > > > What happens if you simply try again? > > Best, > Uwe Ligges > > On 26.04.2021 20:32, Tim Schäfer wrote: > > Dear R experts, > > > > I am testing my R package 'fsbr

[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