- Minimal version of terra required is
1.8-10
. - Remove metR from Suggests.
- Improve handling of factors when several layers have different levels. This
is done usingterra::combineLevels()
(terra >=1.8-10
). See
https://stackoverflow.com/questions/79340152. - Now
scales
that uses limits truncate the legend whenlimits
parameter is
provided (#165 @Fan-iX). Scales impacted:scale_*_cross_blended_tint_c
andscale_*_cross_blended_tint_b
.scale_*_hypso_tint_c
andscale_*_hypso_tint_b
.scale_*_grass_c
andscale_*_grass_b
.
- Now
geom_spatraster()
(and overall pivoting ofSpatRaster
is less strict
with different layer classes: if several layers can be defined as numeric
(i.e.double
,integer
andnumeric
) the pivoting (and therefore the
plot) can be performed. This is consistent withtidyr::pivot_longer()
behavior (https://stackoverflow.com/questions/79292989).
What's Changed
- Bump dieghernan/cran-status-check from 1 to 2 by @dependabot in #163
- Handling different levels on factor layers by @dieghernan in #164
- Avoid tint color shift caused by the
limits
parameter inscale_*_hypso_tint_b
andscale_*_hypso_tint_c
by @Fan-iX in #165 - Expand PR #165 to other scales, tests and document by @dieghernan in #166
- Soften checks on mixed types by @dieghernan in #167
New Contributors
Full Changelog: v0.6.2...v0.7.0