Skip to contents

tidyterra 0.6.1

CRAN release: 2024-06-08

tidyterra 0.6.0

CRAN release: 2024-04-22

tidyterra 0.5.2

CRAN release: 2024-01-19

  • Adapt tests to ggplot2 3.5.0 (#129) @teunbrand.
  • Reduce package size, specially relevant in the external raster asia.tif.

tidyterra 0.5.1

CRAN release: 2023-12-15

tidyterra 0.5.0

CRAN release: 2023-11-21

tidyterra has been accepted on JOSS. Please use the result of citation("tidyterra") or the following string:

Hernangómez, D. (2023). “Using the tidyverse with terra objects: the tidyterra package.” Journal of Open Source Software, 8(91), 5751. ISSN 2475-9066, https://doi.org/10.21105/joss.05751

Other changes on this version:

  • Support for SpatRaster objects with a color table
    • autoplot.SpatRaster() can detect now SpatRaster objects with color tables.
    • geom_spatraster() can detect now SpatRaster objects with color tables.
    • New scales for plotting SpatRaster objects 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.
  • By default, all the non-discrete (e.g. continuous or breaks) scales of tidyterra have now na.value = "transparent" (#120).
  • Enhanced glimpse.Spat() with meta-information on type of geometry, crs, etc.
  • New messaging interface thanks to cli package.

tidyterra 0.4.1

  • Release for JOSS paper. No relevant changes.

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