Robert Hijmans

Results 184 comments of Robert Hijmans

Can you share, if need be privately, an example file?

terra uses the GDAL tool for that, so the variation between OSs is probably due to different versions of GDAL. Also see https://github.com/rspatial/terra/issues/1341

Maybe, but that does not really prove it, as the sf function directly uses the GDAL tool ([gdalbuildvrt](https://gdal.org/programs/gdalbuildvrt.html)) whereas terra calls the C interface [GDALBuildVRT](https://gdal.org/api/gdal_utils.html#_CPPv412GDALBuildVRTPKciP12GDALDatasetHPPCKcPK19GDALBuildVRTOptionsPi). I may have made a...

grids are used for transforming coordinates between datums. They are downloaded as needed. It seems that this does not work in the slurm job, perhaps because of a firewall or...

I do not know what causes this. But I would first look at GDAL and PROJ. Are they up to date and is there only a single version of each?

Here is a simplified version of your example that does not require an additional download. ``` library(terra) url

This bug occurs because the input has a scale that is 0.1 (not 1). This is why if you first make a copy it works (that removes the scale). With...

I think the compiler cannot find the log1p function. That function is defined in `` and I have now added that header to arith.cpp, where log1p is referenced. *Maybe* that...

The first thing to do is to see if you can install "sf" (to see whether this is specific to something in "terra", or more general). But whichever the case...

I do not see that. Can you still reproduce it or was it a temporary glitch?