Changelog
Source:NEWS.md
treemapify 2.6.1
Minor changes
- The ‘svglite’ package is now suggested rather than imported, so it is no longer a hard installation dependency; it is only needed to run the package’s pattern-fill visual tests (#66).
-
treemapify()’s help page now documents its return value: the columns of the returned layout data frame, and how rows with zero, negative, or missingareavalues are handled (#69).
Bug fixes
-
geom_treemap_subgroup_border()(and itssubgroup2/subgroup3variants) now defaults toshow.legend = FALSE, so adding a border no longer inflates the legend keys or overridestheme(legend.key.size)(#36, #58). -
geom_treemap_subgroup_border()now works when an inherited aesthetic such ascolourvaries within subgroups, rather than erroring (#54, #71). -
treemapify()now drops rows with a missingareavalue and issues an informative warning, rather than failing with a cryptic error (#53). -
treemapify()now keeps tiles within the requestedxlimandylimwhen a non-defaultstartcorner is set (#52). -
treemapify()now validates thestartargument and errors on an unrecognised value, rather than silently treating it as"bottomleft"(#55).
treemapify 2.6.0
CRAN release: 2025-12-14
Major changes
- Add support for ggplot2 3.5 patterns and gradients (see https://www.tidyverse.org/blog/2024/02/ggplot2-3-5-0/#patterns-and-gradients; #50, thanks @trevorld)
Minor changes
- Change default roundrect radius in GeomTreemap to 0 pts (#48, thanks @davidhodge931)
- Export GeomTreemap and GeomTreemapText (#48, thanks @davidhodge931)
- treemapify() includes the area column in its output (#49, thanks @davidhodge931)
treemapify 2.5.6
CRAN release: 2023-09-30
Minor changes
- Replace
i:jwithseq_along()or similar - Update testing and continuous integration infrastructure
- Small documentation updates
- Use the cli package for errors and warnings
Bug fixes
- Fix colour aesthetic in key for
geom_tremap()(#47, thanks @jjbuonocore)
treemapify 2.5.5
CRAN release: 2021-01-08
Bug fixes
- Make vdiffr tests conditional
- Fix use of
order()on a data frame
treemapify 2.5.3
CRAN release: 2019-01-30
Bug fixes
- Fix issue with correct drawing of aesthetics in
geom_tremap_subgroup*_text()(#32, thanks @jonathan-g).
treemapify 2.5.1
CRAN release: 2018-10-06
Major changes
- Added new
layoutandstartarguments totreemapify()and all geoms.
Minor changes
- Restore
xlimandylimoptions totreemapify(). - Add and improve tests.
- Misc. code quality improvements.
Bug fixes
- Fixed bug in handling of subgroups, which should result in more aesthetically pleasing layouts.
- Fix dereferencing of arguments in
treemapify()(#22, thanks @GregorDeCillia). - Fix deprecation of
fill,labelandgrouparguments intreemapify()to maintain backwards compatibility (thanks @GregorDeCillia).
treemapify 2.5.0
CRAN release: 2018-04-30
Major changes
- Refactor treemap layout algorithms.
- Add support for nested subgroups with new
subgroup2andsubgroup3aesthetics, andgeom_treemap_subgroup2_border,geom_treemap_subgroup3_border,geom_treemap_subgroup2_text, andgeom_treemap_subgroup3_textgeoms.
Bug fixes
- Fix typo in README (#19, thanks @mruessler).
treemapify 2.3.2
CRAN release: 2017-08-28
Minor changes
- Documentation and misc. other changes in preparation for CRAN submission.
- Refresh and update documentation.
- Neater solution to import S3 method
makeContent.fittexttreefrom ‘ggfittext’. - Deprecate
ggplotify() - Add travis-ci and CRAN badges to README.
- Misc. small changes in preparation for CRAN submission.