Skip to contents

tidyterra (development version)

  • Support for SpatRasters with a color table
    • autoplot.SpatRaster() can detect now SpatRasters with color tables.
    • geom_spatraster() can detect now SpatRasters with color tables.
    • New scales for plotting SpatRasters with color tables: scale_fill_coltab() and rest of family scales (colour).
    • tidyverse verbs keeps the associated coltab of a SpatRaster.
  • By default all the discrete scales of tidyterra now have the following setup: na.translate = FALSE.
  • Enhanced glimpse.Spat() with meta-information on type of geometry, crs, etc.

tidyterra 0.4.0

CRAN release: 2023-03-17

tidyterra 0.3.2

CRAN release: 2023-02-24

  • Fix a bug on pull_crs() that returned "NA" on sf objects with any field equal to NA (#74).
  • Improve docs on scales_* (#73) .
  • Remove dependency on crayon package (superseded) in favor of cli.
  • Remove tidyverse from Suggests.

tidyterra 0.3.1

CRAN release: 2022-11-09

tidyterra 0.3.0

CRAN release: 2022-10-12

  • Package back to CRAN.
  • Libraries dplyr, tidyr, tibble are not attached by default. Needed functions are reexported instead.
  • Improvements on geom_spatraster():
    • Now in geom_spatraster() is possible to avoid the default fill of the layer using geom_spatraster(fill = NA) or geom_spatraster(aes(fill = NULL)).
    • aes(fill = ggplot2::after_stat()) now works on geom_spatraster().
    • Internal: Better handling of aes() and layers
  • Add new function stat_spatraster().
  • Reduce the size of external files.

tidyterra 0.2.2

CRAN release: 2022-09-29

  • Changes on how dplyr, tibble and tidyr are attached. Now these packages are listed on ‘Depends’ and are attached before tidyterra when library or require is called. Messages on load can be suppressed with suppressPackageStartupMessages(library(tidyterra)).

tidyterra 0.2.1

CRAN release: 2022-09-23

tidyterra 0.2.0

CRAN release: 2022-06-21

tidyterra 0.1.0

CRAN release: 2022-05-24

  • Add DOI.
  • CRAN release.

tidyterra 0.0.1


  • Added a file to track changes to the package.