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
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
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
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
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