Skip to content

tidyterra 0.7.0

Latest
Compare
Choose a tag to compare
@dieghernan dieghernan released this 03 Feb 21:04
  • 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 using terra::combineLevels() (terra >= 1.8-10). See
    https://stackoverflow.com/questions/79340152.
  • Now scales that uses limits truncate the legend when limits parameter is
    provided (#165 @Fan-iX). Scales impacted:
    • scale_*_cross_blended_tint_c and scale_*_cross_blended_tint_b.
    • scale_*_hypso_tint_c and scale_*_hypso_tint_b.
    • scale_*_grass_c and scale_*_grass_b.
  • Now geom_spatraster() (and overall pivoting of SpatRaster is less strict
    with different layer classes: if several layers can be defined as numeric
    (i.e. double, integer and numeric) the pivoting (and therefore the
    plot) can be performed. This is consistent with tidyr::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 in scale_*_hypso_tint_b and scale_*_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