Skip to content

Commit

Permalink
NEW and version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
grantmcdermott committed Jul 25, 2024
1 parent 9e7adc0 commit e977ffb
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 7 deletions.
6 changes: 5 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: parttree
Title: Visualise simple decision tree partitions
Version: 0.0.1.9004
Version: 0.0.1.9005
Authors@R: c(
person(given = "Grant",
family = "McDermott",
Expand Down Expand Up @@ -41,6 +41,10 @@ Imports:
tinyplot (> 0.1.0)
Suggests:
tinytest,
tinysnapshot (>= 0.0.3),
fontquiver,
rsvg,
svglite,
ggplot2 (>= 3.4.0),
palmerpenguins,
titanic,
Expand Down
27 changes: 21 additions & 6 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,34 @@
# parttree 0.0.1.9004
# parttree 0.0.1.9005

To be released as 0.1
To be released as 0.1.0

#### Breaking changes

* Move ggplot2 to Suggests, following the addition of native (base R)
`plot.parttree` method. The `geom_parttree()` function now checks whether
ggplot2 is available on the user's system before executing any code. (#18)
* The `flipaxes` argument has been renamed to `flip`, e.g.
`parttree(..., flip = TRUE)`. (#18)

#### Improvements

* 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).
* 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).

#### Bug fixes

* Support for negative values (#6 by @pjgeens).
* Better handling of single-level factors and `flipaxes` (#5).
* Support for negative values. (#6 by @pjgeens)
* Better handling of single-level factors and `flip(axes)`. (#5)

#### 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.
Expand Down

0 comments on commit e977ffb

Please sign in to comment.