diff --git a/R/zzz.R b/R/zzz.R index 80d4f671..972ff65f 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -10,7 +10,7 @@ # check that gdal was compiled with netcdf support d <- gdal(drivers=TRUE) if (!"netCDF" %in% terra::gdal(drivers=TRUE)$name){ - stop("The installed version of terra lacks support reading netcdf files.\n", + stop("The installed version of terra lacks support for reading netcdf files.\n", "pastclim needs netcdf support: you will need to reinstall terra,\n", "possibly from source, if there isn't a version with netcdf support\n", "on CRAN. Alternatively, try the latest development version from R-universe:\n", diff --git a/README.md b/README.md index b42bb685..8f621069 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ When loaded, `pastclim` checks if the driver is available; in case of a missing driver, you will get the error: ``` -Error: The installed version of terra lacks support reading netcdf files. +Error: The installed version of terra lacks support for reading netcdf files. pastclim needs netcdf support: you will need to reinstall terra, possibly from source, if there isn't a version with netcdf support on CRAN. Alternatively, try the latest development version from R-universe: