[R-pkg-devel] Error: [writeRaster] cannot write file

2023-10-09 Thread Keshav, Krishna
Hi, I am developing an R package where I need to save Raster file with .tif extension to the tempdir(). I am using terra::writeRaster for the same. While it works through R CMD check in mac, it is failing in R hub builder. Snippet �V .saverast <- function(typ, rast, outdir) { if (is.null(outd

Re: [R-pkg-devel] Error: [writeRaster] cannot write file

2023-10-09 Thread Keshav, Krishna
tps://builder.r-hub.io/status/geohabnet_1.0.0.tar.gz-a2eaa40ccf1d026bbebf5077bfb482d5 Best Regards, Krishna Keshav From: Duncan Murdoch Date: Monday, October 9, 2023 at 4:08 PM To: Keshav, Krishna , r-package-devel@r-project.org Subject: Re: [R-pkg-devel] Error: [writeRaster] cannot write f

Re: [R-pkg-devel] Error: [writeRaster] cannot write file

2023-10-09 Thread Keshav, Krishna
Hi, This works. I think this is also an implementation of what Berry and Duncan suggested earlier. Thanks. Best Regards, Krishna Keshav From: Iris Simmons Date: Monday, October 9, 2023 at 7:37 PM To: Keshav, Krishna Cc: r-package-devel@r-project.org Subject: Re: [R-pkg-devel] Error

[R-pkg-devel] Failing to write config file in linux

2023-10-22 Thread Keshav, Krishna
Hi, My package is failing on linux based systems because of an attempt to write in a location of package. One of the core features that we would like user to have is to modify the values in the config file, for which package has a function for user to provide modified config. In future, they sh

Re: [R-pkg-devel] Failing to write config file in linux

2023-10-31 Thread Keshav, Krishna
material). > On Oct 23, 2023, at 5:52 AM, Keshav, Krishna wrote: > > Hi, > > My package is failing on linux based systems because of an attempt to write > in a location of package. One of the core features that we would like user to > have is to modify the values in the