Releases: dieghernan/tidyterra
tidyterra 0.3.1
- New ggplot2 methods added:
-
Methods for
autoplot.SpatVector()
,autoplot.SpatRaster()
.autoplot.SpatRaster()
now is smarter on identifying the type of
plot to produce. Can still be overridden with parameters.
-
Methods for fortifying SpatRasters and SpatVectors:
fortify.SpatRaster()
,fortify.SpatVector()
.
-
- Three additional palettes are included on
hypso.colors()
:"artic"
,
"meyers"
and"nordisk-familjebok"
. - Added colour scales to all palettes:
scale_colour_*
. - Remove use of
ggplot2::aes_string()
. - Adapt geom_
spatraster_contour()
andgeom_spatraster_contour_filled()
to
the changes introduced in ggplot2 (3.4.0), most notably the adoption of
linewidth = .2
, by default.
What's Changed
- Add new palettes to hypso.colors() by @dieghernan in #56
- Add fortify methods by @dieghernan in #57
- Add color scales by @dieghernan in #58
- pkgdown build on ubuntu by @dieghernan in #59
- Bump actions/checkout from 2 to 3 by @dependabot in #60
- Try best practices with non-standard evaluation by @dieghernan in #63
New Contributors
- @dependabot made their first contribution in #60
Full Changelog: v0.3.0...v0.3.1
tidyterra 0.3.0
-
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 defaultfill
of
the layer usinggeom_spatraster(fill = NA)
or
geom_spatraster(aes(fill = NULL))
. -
aes(fill = ggplot2::after_stat())
now works ongeom_spatraster()
. -
Internal: Better handling of
aes()
and layers
-
-
Add new function
stat_spatraster()
. -
Reduce the size of external files.
What's Changed
- fill aesthetic in geom_spatraster() can be deactivated by @dieghernan in #50
- Add stat_spatraster by @dieghernan in #51
- Docs by @dieghernan in #52
- Prepare for CRAN by @dieghernan in #55
Full Changelog: v0.2.2...v0.3.0
tidyterra 0.2.2
- Changes on how dplyr, tibble and tidyr are attached. Now these
packages are listed on 'Depends' and are attached before tidyterra when
library
orrequire
is called. Messages on load can be suppressed with
suppressPackageStartupMessages(library(tidyterra))
.
What's Changed
- Remove startup messages by @dieghernan in #47
Full Changelog: v0.2.1...v0.2.2
tidyterra 0.2.1
- Now
geom_spatraster_rgb()
works withfacet_wrap()
(#35) - Improve facetting when the plot facets are created using non-Spat* layers.
- Precompute vignettes.
What's Changed
- Add facetting support for geom_spatraster_rgb() by @dieghernan in #36
- Improve facetting for contours by @dieghernan in #38
Full Changelog: v0.2.0...v0.2.1
tidyterra 0.2.0
-
Recreate
extdata/volcano2.tif
using official DEM information from New
Zealand. Source: Auckland LiDAR 1m DEM
(2013). -
Add
volcano2
dataset. -
Fix errors on
slice_min()
andslice_max()
for SpatRasters (#20). Also
add a new parameterna.rm
. -
Add new gradient scales for use on hypsometry:
scale_fill_hypso_c()
scale_fill_whitebox_c()
scale_fill_wiki_c()
scale_fill_cross_blended_c()
-
Add new asia.tif file on
extdata
.
What's Changed
- Update README by @dieghernan in #17
- Rebuild volcano2 tif by @dieghernan in #18
- Add volcano2 dataset by @dieghernan in #19
- Fix slice_min/max by @dieghernan in #21
- Add new topo palette by @dieghernan in #22
- Add hypsometric tints by @dieghernan in #24
- Add hypsometric tints by @dieghernan in #25
- Add cross blend colors by @dieghernan in #26
- Adjust palettes by @dieghernan in #27
- Improve docs by @dieghernan in #28
- Update scales by @dieghernan in #29
- Add new scales by @dieghernan in #31
- Remove ptr reference by @dieghernan in #32
Full Changelog: v0.1.0...v0.2.0
tidyterra 0.1.0
-
Add DOI.
-
CRAN release.
Full Changelog: v0.0.1...v0.1.0
tidyterra 0.0.1
-
Improvements on performance:
-
Conversion to tibble is avoided as much as possible.
-
Internally use
data.table
instead of tibbles. -
The package is compatible with
dtplyr
.
-
-
as_spatraster()
handles tibbles with characters and factors. -
Simplification and tests for
geom_spatraster()
and
geom_spatraster_rgb()
. -
New methods:
-
pull()
-
transmute()
-
rename()
-
-
New geoms:
geom_spatraster_contour()
family.