From 92936b153e7f822eb184496f12a5c9a14758e571 Mon Sep 17 00:00:00 2001 From: Andrea Manica Date: Wed, 30 Nov 2022 13:44:37 +0000 Subject: [PATCH] Fix typo --- R/zzz.R | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: