{
  "_id": "6ab9c14099f7aa8c6aa3b937",
  "Package": "parttree",
  "Title": "Visualize Simple 2-D Decision Tree Partitions",
  "Version": "0.1.3",
  "Date": "2026-03-30",
  "Authors@R": "c(\nperson(given = \"Grant\",\nfamily = \"McDermott\",\nrole = c(\"aut\", \"cre\"),\nemail = \"contact@grantmcdermott.com\",\ncomment = c(ORCID = \"0000-0001-7883-8573\")),\nperson(given = \"Achim\",\nfamily = \"Zeileis\",\nrole = \"ctb\",\nemail = \"Achim.Zeileis@R-project.org\",\ncomment = c(ORCID = \"0000-0003-0918-3766\")),\nperson(given = \"Brian Heseung\",\nfamily = \"Kim\",\nrole = \"ctb\",\nemail = \"brhkim@gmail.com\",\ncomment = c(ORCID = \"0000-0002-7988-1802\")),\nperson(given = \"Julia\",\nfamily = \"Silge\",\nrole = \"ctb\",\nemail = \"julia.silge@gmail.com\",\ncomment = c(ORCID = \"0000-0002-3671-836X\")))",
  "Description": "Visualize the partitions of simple decision trees,\ninvolving one or two predictors, on the scale of the original\ndata. Provides an intuitive alternative to traditional tree\ndiagrams, by visualizing how a decision tree divides the\npredictor space in a simple 2D plot alongside the original\ndata. The 'parttree' package supports both classification and\nregression trees from 'rpart' and 'partykit', as well as trees\nproduced by popular frontend systems like 'tidymodels' and\n'mlr3'. Visualization methods are provided for both base R\ngraphics and 'ggplot2'.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "URL": "https://grantmcdermott.com/parttree/",
  "BugReports": "https://github.com/grantmcdermott/parttree/issues",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.3",
  "Repository": "https://grantmcdermott.r-universe.dev",
  "Date/Publication": "2026-03-31 15:57:50 UTC",
  "RemoteUrl": "https://github.com/grantmcdermott/parttree",
  "RemoteRef": "HEAD",
  "RemoteSha": "57786efd6026cfb7afbf1f4ecfe7835d81d4afc9",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-28 01:15:25 UTC",
    "User": "root"
  },
  "Author": "Grant McDermott [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7883-8573>),\nAchim Zeileis [ctb] (ORCID: <https://orcid.org/0000-0003-0918-3766>),\nBrian Heseung Kim [ctb] (ORCID:\n<https://orcid.org/0000-0002-7988-1802>),\nJulia Silge [ctb] (ORCID: <https://orcid.org/0000-0002-3671-836X>)",
  "Maintainer": "Grant McDermott <contact@grantmcdermott.com>",
  "_user": "grantmcdermott",
  "_type": "src",
  "_file": "parttree_0.1.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/bb7693d9842adeb1fa00078986a6ae891c4ce414be5d1b437a9ccfadf7b737ee",
  "_filesize": 2906032,
  "_sha256": "bb7693d9842adeb1fa00078986a6ae891c4ce414be5d1b437a9ccfadf7b737ee",
  "_expires": "2027-01-06T01:22:06.000Z",
  "_created": "2026-09-28T01:15:25.000Z",
  "_published": "2026-09-28T01:22:08.496Z",
  "_jobs": [
    {
      "job": 108750393450,
      "time": 161,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10947207843"
    },
    {
      "job": 108750393539,
      "time": 154,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10946677869"
    },
    {
      "job": 108750393464,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10946698025"
    },
    {
      "job": 108750393506,
      "time": 103,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10947725703"
    },
    {
      "job": 108749629552,
      "time": 244,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10947312031"
    },
    {
      "job": 108750393525,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10946574955"
    },
    {
      "job": 108750393518,
      "time": 81,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10947336956"
    },
    {
      "job": 108750393463,
      "time": 101,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10947491506"
    },
    {
      "job": 108750393541,
      "time": 100,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10946739138"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/36365014621",
  "_status": "success",
  "_upstream": "https://github.com/grantmcdermott/parttree",
  "_commit": {
    "id": "57786efd6026cfb7afbf1f4ecfe7835d81d4afc9",
    "author": "Grant McDermott <grant.mcdermott@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #26 from grantmcdermott/cran_v0.1.3\n\nCRAN v0.1.3",
    "time": 1774972670
  },
  "_maintainer": {
    "name": "Grant McDermott",
    "email": "contact@grantmcdermott.com",
    "orcid": "0000-0001-7883-8573"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "partykit",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "rpart",
      "role": "Imports"
    },
    {
      "package": "tinyplot",
      "version": ">= 0.3.0",
      "role": "Imports"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    },
    {
      "package": "tinysnapshot",
      "version": ">= 0.0.3",
      "role": "Suggests"
    },
    {
      "package": "fontquiver",
      "role": "Suggests"
    },
    {
      "package": "rsvg",
      "role": "Suggests"
    },
    {
      "package": "svglite",
      "version": ">= 2.2.0",
      "role": "Suggests"
    },
    {
      "package": "palmerpenguins",
      "role": "Suggests"
    },
    {
      "package": "titanic",
      "role": "Suggests"
    },
    {
      "package": "mlr3",
      "role": "Suggests"
    },
    {
      "package": "parsnip",
      "role": "Suggests"
    },
    {
      "package": "workflows",
      "role": "Suggests"
    },
    {
      "package": "magick",
      "role": "Suggests"
    },
    {
      "package": "imager",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Enhances"
    }
  ],
  "_owner": "grantmcdermott",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-14",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.1.2",
      "date": "2026-01-15"
    }
  ],
  "_stars": 101,
  "_contributors": [
    {
      "user": "grantmcdermott",
      "count": 143,
      "uuid": 10285037
    },
    {
      "user": "juliasilge",
      "count": 10,
      "uuid": 12505835
    },
    {
      "user": "zeileis",
      "count": 6,
      "uuid": 61125774
    },
    {
      "user": "brhkim",
      "count": 4,
      "uuid": 31910210
    }
  ],
  "_userbio": {
    "uuid": 10285037,
    "type": "user",
    "name": "Grant McDermott",
    "followers": 914,
    "description": "Principal Economist at Amazon. Mix of economics, data science, and open source."
  },
  "_downloads": {
    "count": 360,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/parttree"
  },
  "_devurl": "https://github.com/grantmcdermott/parttree",
  "_pkgdown": "https://grantmcdermott.com/parttree/",
  "_searchresults": 100,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/parttree.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/grantmcdermott/parttree",
  "_realowner": "grantmcdermott",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-01-17"
    },
    {
      "version": "0.1.1",
      "date": "2025-05-10"
    },
    {
      "version": "0.1.2",
      "date": "2026-01-15"
    },
    {
      "version": "0.1.3",
      "date": "2026-03-31"
    }
  ],
  "_exports": [
    "geom_parttree",
    "parttree"
  ],
  "_help": [
    {
      "page": "geom_parttree",
      "title": "Visualize tree partitions with ggplot2",
      "topics": [
        "geom_parttree"
      ]
    },
    {
      "page": "parttree",
      "title": "Convert a decision tree into a data frame of partition coordinates",
      "topics": [
        "parttree",
        "parttree.constparty",
        "parttree.LearnerClassifRpart",
        "parttree.LearnerRegrRpart",
        "parttree.rpart",
        "parttree.workflow",
        "parttree._rpart"
      ]
    },
    {
      "page": "plot.parttree",
      "title": "Plot decision tree partitions",
      "topics": [
        "plot.parttree"
      ]
    }
  ],
  "_readme": "https://github.com/grantmcdermott/parttree/raw/HEAD/README.md",
  "_rundeps": [
    "data.table",
    "Formula",
    "inum",
    "lattice",
    "libcoin",
    "Matrix",
    "mvtnorm",
    "partykit",
    "rlang",
    "rpart",
    "sandwich",
    "strucchange",
    "survival",
    "tinyplot",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "parttree-art.Rmd",
      "filename": "parttree-art.html",
      "title": "Abstract art with parttree and friends",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Background",
        "Example 1: Peale's \"Portrait of Rosalba\"",
        "Example 2: parttree logo",
        "Postscript"
      ],
      "created": "2023-01-04 08:34:26",
      "modified": "2026-01-15 22:24:43",
      "commits": 7
    },
    {
      "source": "parttree-intro.Rmd",
      "filename": "parttree-intro.html",
      "title": "Introduction to parttree",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Motivating example: Classifying penguin species",
        "Continuous predictions",
        "Supported model classes",
        "ggplot2",
        "Gotcha: (gg)plot orientation"
      ],
      "created": "2023-01-02 06:42:44",
      "modified": "2025-01-16 16:07:12",
      "commits": 7
    }
  ],
  "_score": 7.782472624166287,
  "_indexed": true,
  "_nocasepkg": "parttree",
  "_universes": [
    "grantmcdermott"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-09-28T01:18:36.000Z",
      "distro": "resolute",
      "commit": "57786efd6026cfb7afbf1f4ecfe7835d81d4afc9",
      "fileid": "https://r2.ropensci.org/4455a1d48d2b17b977014b4e94cd0a011bf6ed9f15fc8c85a0715d116ab3b699",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/36365014621"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-09-28T01:17:56.000Z",
      "distro": "resolute",
      "commit": "57786efd6026cfb7afbf1f4ecfe7835d81d4afc9",
      "fileid": "https://r2.ropensci.org/d7fc0ab5d00fa43a30351effd7409abe3f847a8efc9c12a968c6f842a66f38b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/36365014621"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-09-28T01:20:21.000Z",
      "commit": "57786efd6026cfb7afbf1f4ecfe7835d81d4afc9",
      "fileid": "https://r2.ropensci.org/b1baa18267c9838870c85c3cc9369b13efeb5a69df3e10fdbd2f11c65b61f93d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/36365014621"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-09-28T01:21:29.000Z",
      "commit": "57786efd6026cfb7afbf1f4ecfe7835d81d4afc9",
      "fileid": "https://r2.ropensci.org/e1221a11849c1b073433ff8e74a5fde868119b5baf7db037e8001ec105e03ed0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/36365014621"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-09-28T01:17:57.000Z",
      "commit": "57786efd6026cfb7afbf1f4ecfe7835d81d4afc9",
      "fileid": "https://r2.ropensci.org/281b93a35ba55d2acf121b9be6ce899764e1d5c881bf7c822ce4f3737dd90910",
      "status": "success",
      "buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/36365014621"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-09-28T01:16:37.000Z",
      "commit": "57786efd6026cfb7afbf1f4ecfe7835d81d4afc9",
      "fileid": "https://r2.ropensci.org/63b56d923fddf5b4550f9d57c507973b2105f295746b6d29dc85a4a42d236da3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/36365014621"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-09-28T01:16:55.000Z",
      "commit": "57786efd6026cfb7afbf1f4ecfe7835d81d4afc9",
      "fileid": "https://r2.ropensci.org/f71dee4d74b050ba1b56914ac765f194a54102ce9bb7622ccdaebcb4bd62ea2c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/36365014621"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-09-28T01:16:55.000Z",
      "commit": "57786efd6026cfb7afbf1f4ecfe7835d81d4afc9",
      "fileid": "https://r2.ropensci.org/eee75e1f49808e9b1115207f9a37310bec1cffcadeaff66cdfa932617a436d38",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/36365014621"
    }
  ]
}