Changelog
Source:NEWS.md
parttree 0.1.0
Our first CRAN submission. 🎉🎉
Breaking changes
- Move ggplot2 to Enhances, following the addition of a dedicated (base R)
plot.parttree
method. Thegeom_parttree()
function is still available, but requires that ggplot2 is already been installed on the user’s system. (#18) - The
flipaxes
argument has been renamed toflip
, e.g.parttree(..., flip = TRUE)
. (#18)
Improvements
- Parttree objects now have their own class with a dedicated
plot.parttree
method, powered by tinyplot. (#18) - Major speed-up for extracting parttree nodes and coordinates on complicated trees. (#15)
- Add method for tidymodels workflows objects fitted with
"rpart"
engine. (#7 by @juliasilge).
Internals
- Several dependency adjustments, e.g. tinyplot to Imports and ggplot2 to Suggests. (#18)
- Added SVG snapshots for image-based tests. (#18)
- Bump ggplot2 version dependency to match deprecated functions from 3.4.0.
- Switched to “main” as primary GitHub branch for development.
- Added two dedicated vignettes.
parttree 0.0.1
- Create
parttree()
generic. (again, #3 by @zeileis) - Support for partykit objects (i.e.
constparty
class), which in turn allows support for base plot methods. (#3 by @zeileis) - ggplot2 moves from imports to depends and is now automatically loaded with parttree.
- Add
flipaxes
argument for easy switching in case or mismatch plot orientation. (#2 by @brhkim) - Added a
NEWS.md
file to track changes to the package.