Re: [R-pkg-devel] Detritus in temp directory - Note from submission of R package in CRAN

2020-04-18 Thread Jeff Newmiller
I agree that my example was not optimal, but I was trying to duplicate the existing behaviour with the exception of use of global variables. On April 18, 2020 3:02:17 PM PDT, Duncan Murdoch wrote: >On 18/04/2020 5:55 p.m., Jeff Newmiller wrote: >> See below: >> >> On Sat, 18 Apr 2020, David

Re: [R-pkg-devel] Detritus in temp directory - Note from submission of R package in CRAN

2020-04-18 Thread Duncan Murdoch
On 18/04/2020 5:55 p.m., Jeff Newmiller wrote: See below: On Sat, 18 Apr 2020, David Andres Zamora Avila wrote: Thanks for your answers. This a part of my script where it creates files and saves it in anything path. I am not pretty secure how use file.path() or tempdir(). Can you give me more

Re: [R-pkg-devel] Detritus in temp directory - Note from submission of R package in CRAN

2020-04-18 Thread Jeff Newmiller
See below: On Sat, 18 Apr 2020, David Andres Zamora Avila wrote: Thanks for your answers. This a part of my script where it creates files and saves it in anything path. I am not pretty secure how use file.path() or tempdir(). Can you give me more details about it, please? if

Re: [R-pkg-devel] Detritus in temp directory - Note from submission of R package in CRAN

2020-04-18 Thread David Andres Zamora Avila
Thanks for your answers. This a part of my script where it creates files and saves it in anything path. I am not pretty secure how use file.path() or tempdir(). Can you give me more details about it, please? if (!exists("path_pet")){ path_pet <- getwd() } else if (!exists("path_p")){

Re: [R-pkg-devel] Error creating union class: object ‘.__C__compMatrix’ not found

2020-04-18 Thread Martin Maechler
> renozao > on Wed, 8 Apr 2020 16:19:59 + writes: > Thank you William for the reproducible example. > Currently I using the following (same as in William's example): > setClassUnion("mMatrix", c("Matrix", "matrix")) > Martin, are the changes made in the union