n2khab 0.10.0
Breaking change
read_GRTSmh()
, read_GRTSmh_base4frac()
, read_GRTSmh_diffres()
and read_raster_runif()
now return a SpatRaster
object from {terra} by default (#173). Previous behaviour using {raster} can still be restored; see below. However do note that {raster} is a legacy package and {terra} is its successor.
New feature
The package can be configured using options()
or corresponding environment variables. Current configuration state is returned by n2khab_options()
. See ?n2khab_options
for information on package configuration.
Two settings are now available:
- optionally use {raster} instead of {terra} (#173);
- optionally set a custom
n2khab_data
path, affecting all functions that need this path (#174).
Deprecated functions
read_schemes()
and read_scheme_types()
were moved to a new package {n2khabmon}. In {n2khab} they are still functional but deprecated, and will eventually disappear (#175). The accompanying data sources schemes
and scheme_types
have moved to {n2khabmon}. {n2khab} 0.10.0 will be the minimum version required by {n2khabmon}.