Package: parttree
Title: Visualize Simple 2-D Decision Tree Partitions
Version: 0.1.3
Date: 2026-03-30
Authors@R: c(
    person(given = "Grant",
           family = "McDermott",
           role = c("aut", "cre"),
           email = "contact@grantmcdermott.com",
           comment = c(ORCID = "0000-0001-7883-8573")),
    person(given = "Achim",
           family = "Zeileis",
           role = "ctb",
           email = "Achim.Zeileis@R-project.org",
           comment = c(ORCID = "0000-0003-0918-3766")),
    person(given = "Brian Heseung",
           family = "Kim",
           role = "ctb",
           email = "brhkim@gmail.com",
           comment = c(ORCID = "0000-0002-7988-1802")),
    person(given = "Julia", 
           family = "Silge", 
           role = "ctb", 
           email = "julia.silge@gmail.com", 
           comment = c(ORCID = "0000-0002-3671-836X")))
Description: Visualize the partitions of simple decision trees, involving one or
    two predictors, on the scale of the original data. Provides an intuitive
    alternative to traditional tree diagrams, by visualizing how a decision tree
    divides the predictor space in a simple 2D plot alongside the original data.
    The 'parttree' package supports both classification and regression trees
    from 'rpart' and 'partykit', as well as trees produced by popular frontend
    systems like 'tidymodels' and 'mlr3'. Visualization methods are provided for
    both base R graphics and 'ggplot2'.
License: MIT + file LICENSE
Encoding: UTF-8
URL: https://grantmcdermott.com/parttree/
BugReports: https://github.com/grantmcdermott/parttree/issues
Imports: graphics, stats, data.table, partykit, rlang, rpart, tinyplot
        (>= 0.3.0)
Enhances: ggplot2 (>= 3.4.0)
Suggests: tinytest, tinysnapshot (>= 0.0.3), fontquiver, rsvg, svglite
        (>= 2.2.0), palmerpenguins, titanic, mlr3, parsnip, workflows,
        magick, imager, knitr, rmarkdown
VignetteBuilder: knitr
RoxygenNote: 7.3.3
NeedsCompilation: no
Packaged: 2026-03-31 00:09:59 UTC; gmcd
Author: Grant McDermott [aut, cre] (ORCID:
    <https://orcid.org/0000-0001-7883-8573>),
  Achim Zeileis [ctb] (ORCID: <https://orcid.org/0000-0003-0918-3766>),
  Brian Heseung Kim [ctb] (ORCID:
    <https://orcid.org/0000-0002-7988-1802>),
  Julia Silge [ctb] (ORCID: <https://orcid.org/0000-0002-3671-836X>)
Maintainer: Grant McDermott <contact@grantmcdermott.com>
Depends: R (>= 4.1.0)
Repository: CRAN
Date/Publication: 2026-03-31 06:00:07 UTC
Built: R 4.6.0; ; 2026-04-25 15:35:43 UTC; unix
