{
  "_id": "6a23e395530b9bc726be84f1",
  "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-06-06 09:05:13 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>",
  "MD5sum": "66955b1870f0a99d6fecc3181b91f316",
  "_user": "grantmcdermott",
  "_type": "src",
  "_file": "parttree_0.1.3.tar.gz",
  "_fileid": "ea2bedcc4fb490c8eb70186f6807d366a24d9915d94ed9bfd6029cbbaa7cbb70",
  "_filesize": 2903446,
  "_sha256": "ea2bedcc4fb490c8eb70186f6807d366a24d9915d94ed9bfd6029cbbaa7cbb70",
  "_created": "2026-06-06T09:05:13.000Z",
  "_published": "2026-06-06T09:08:37.601Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79866323171,
      "time": 171,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7453115354"
    },
    {
      "job": 79866323169,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453112531"
    },
    {
      "job": 79866323173,
      "time": 86,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7453105686"
    },
    {
      "job": 79866323168,
      "time": 113,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453108944"
    },
    {
      "job": 79866127911,
      "time": 202,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453095418"
    },
    {
      "job": 79866323170,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453109247"
    },
    {
      "job": 79866323167,
      "time": 95,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7453106821"
    },
    {
      "job": 79866323172,
      "time": 90,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7453106278"
    },
    {
      "job": 79866323174,
      "time": 99,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7453107251"
    }
  ],
  "_buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/27058116226",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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",
    "description": "Principal Economist at Amazon. Mix of economics, data science, and open source."
  },
  "_downloads": {
    "count": 193,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/parttree"
  },
  "_devurl": "https://github.com/grantmcdermott/parttree",
  "_pkgdown": "https://grantmcdermott.com/parttree/",
  "_searchresults": 103,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/parttree.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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",
    "survival",
    "tinyplot"
  ],
  "_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.795309848871459,
  "_indexed": true,
  "_nocasepkg": "parttree",
  "_universes": [
    "grantmcdermott"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-06-06T09:07:57.000Z",
      "distro": "noble",
      "commit": "57786efd6026cfb7afbf1f4ecfe7835d81d4afc9",
      "fileid": "5b59303367eb2d7cd3b25fec3e8d6df21188877fbfc50d915aa08c0432a53bcb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/27058116226"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-06-06T09:07:32.000Z",
      "distro": "noble",
      "commit": "57786efd6026cfb7afbf1f4ecfe7835d81d4afc9",
      "fileid": "b38e36063c8ccd952a7e5d9ab005935664b7ba164094181e1f450ce1d39efe44",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/27058116226"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-06-06T09:06:40.000Z",
      "commit": "57786efd6026cfb7afbf1f4ecfe7835d81d4afc9",
      "fileid": "cc7c7661f67976f85ad77bd4d44ef1d7d1183bf22e65e246a9f82accd586fd77",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/27058116226"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-06-06T09:07:04.000Z",
      "commit": "57786efd6026cfb7afbf1f4ecfe7835d81d4afc9",
      "fileid": "688f317232bc78992ec266090bdb0cda899490f95799baf4be7d14e509ec1911",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/27058116226"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-06-06T09:07:23.000Z",
      "commit": "57786efd6026cfb7afbf1f4ecfe7835d81d4afc9",
      "fileid": "afae56ce2eea41932d8bf83a59e55c2ac4c475a00981d305dac5d0cdcf8cc55e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/27058116226"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-06-06T09:06:36.000Z",
      "commit": "57786efd6026cfb7afbf1f4ecfe7835d81d4afc9",
      "fileid": "d9e8093608ff670a34ccdc10c708f14d80d7bbd9f472ce81aed9d9d748c0ec0c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/27058116226"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-06-06T09:06:37.000Z",
      "commit": "57786efd6026cfb7afbf1f4ecfe7835d81d4afc9",
      "fileid": "dfa912e5ef9f4e264f459e98d6b969e9b998b249022711c7bc9b8cabba8df89d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/27058116226"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-06-06T09:06:39.000Z",
      "commit": "57786efd6026cfb7afbf1f4ecfe7835d81d4afc9",
      "fileid": "8da131ebb12b014244138a17e98fdad374cb1c1bdbe0e4cab2679a97ff60f198",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/27058116226"
    }
  ]
}