Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dramanica committed Nov 30, 2022
1 parent da41ecb commit 92936b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 92936b1

Please sign in to comment.