inbo / n2khab

R package with preprocessing functions and standard reference data for Flemish Natura 2000 (N2K) habitat (HAB) analyses
https://inbo.github.io/n2khab
GNU General Public License v3.0
2 stars 1 forks source link

Use {terra} by default for functions that return a raster object #173

Closed florisvdh closed 9 months ago

florisvdh commented 10 months ago

This affects the read_GRTSmh*() functions and read_raster_runif().

Also provides the setup for package configuration using options() or environment variables. Former behaviour with {raster} package is obtained with options(n2khab_use_raster = TRUE) or setting environment variable N2KHAB_USE_RASTER as "TRUE".