Re: [R-pkg-devel] package cartograflow_1.0.0.tar.gz

2019-05-06 Thread Uwe Ligges
This should be fine. Please always keep CCed. Best, Uwe Ligges On 05.05.2019 14:44, cartograf...@gmail.com wrote: Hi, After I submitted my package I received some remarks e.g add the exmple that I've taken into account. So, I used R-devel CMD check, I've always one 1 note about maintener

Re: [R-pkg-devel] How to obtain intercept of intercept-only glm in Fortran?

2019-05-06 Thread Ivan Krylov
On Sat, 4 May 2019 22:41:16 + "Wang, Zhu" wrote: > In an R package I would like to compute intercept for an > intercept-only GLM in a Fortran subroutine. If all else fails, you could use R API [*] to call coef(glm.fit(...)), though it might require writing a C or C++ wrapper to avoid

Re: [R-pkg-devel] Writing to files without altering working directory in R package

2019-05-06 Thread Jeff Newmiller
You cannot go littering the user directories with sample files. Such examples would have to be dontrun, but in order to make some of the example runnable as is you would also need examples that use system.file paradigm. If you store the temporary file name in a variable then the user can

Re: [R-pkg-devel] Writing to files without altering working directory in R package

2019-05-06 Thread Jim Hester
For what it's worth, the recommendation to use `tempfile()` is very confusing to R users. Often users (particularly new users) jump directly to examples when reading documentation and when you have these more complicated examples they do not realize they can just use a simple string literal. See