{
  "_id": "6a101bd5acfb0bcc41c8773e",
  "Package": "vtree",
  "Type": "Package",
  "Title": "Display Information About Nested Subsets of a Data Frame",
  "Version": "5.7.2",
  "Authors@R": "c(\nperson(\"Nick\",\"Barrowman\",\"\",\"nbarrowman@cheo.on.ca\",role=c(\"aut\",\"cre\")),\nperson(\"Sebastian\",\"Gatscha\",\"\",\"kona1@gmx.at\",role=\"aut\"),\nperson(\"Franco\",\"Momoli\",\"\",\"fmomoli@uottawa.ca\",role=\"cph\"))",
  "Description": "A tool for calculating and drawing \"variable trees\".\nVariable trees display information about nested subsets of a\ndata frame. <doi:10.18637/jss.v114.i04>.",
  "License": "GPL-3",
  "URL": "https://github.com/nbarrowman/vtree,\nhttps://nbarrowman.github.io/vtree",
  "BugReports": "https://github.com/nbarrowman/vtree/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "Roxygen": "list(old_usage = TRUE)",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 08:54:54 UTC",
    "User": "root"
  },
  "Config/pak/sysreqs": "cmake libglpk-dev make libicu-dev librsvg2-dev\nlibuv1-dev libxml2-dev libssl-dev libnode-dev libx11-dev\nzlib1g-dev",
  "Repository": "https://nbarrowman.r-universe.dev",
  "Date/Publication": "2026-02-13 20:20:34 UTC",
  "RemoteUrl": "https://github.com/nbarrowman/vtree",
  "RemoteRef": "HEAD",
  "RemoteSha": "9561cc3da1e687b3fa3a6ec5b484af820caeb3cb",
  "Author": "Nick Barrowman [aut, cre],\nSebastian Gatscha [aut],\nFranco Momoli [cph]",
  "Maintainer": "Nick Barrowman <nbarrowman@cheo.on.ca>",
  "MD5sum": "88f7ed84f2ed849e89ea638015de08db",
  "_user": "nbarrowman",
  "_type": "src",
  "_file": "vtree_5.7.2.tar.gz",
  "_fileid": "af95ee4ab09b3627b4825b34f7b555fbef5ca98f04e27cea99f7b99f2d2d5a5c",
  "_filesize": 3471536,
  "_sha256": "af95ee4ab09b3627b4825b34f7b555fbef5ca98f04e27cea99f7b99f2d2d5a5c",
  "_created": "2026-05-14T08:54:54.000Z",
  "_published": "2026-05-22T09:03:17.879Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77348828798,
      "time": 196,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6990813218"
    },
    {
      "job": 77348828965,
      "time": 155,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6990798923"
    },
    {
      "job": 77348828480,
      "time": 186,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6990801783"
    },
    {
      "job": 77348828914,
      "time": 179,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6990796575"
    },
    {
      "job": 77348828291,
      "time": 182,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6990753132"
    },
    {
      "job": 77348828123,
      "time": 140,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156782517"
    },
    {
      "job": 77348829004,
      "time": 138,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6990794783"
    },
    {
      "job": 77348828673,
      "time": 91,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6990781140"
    },
    {
      "job": 77348829021,
      "time": 96,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6990781287"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nbarrowman/actions/runs/25851062088",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/nbarrowman/vtree",
  "_commit": {
    "id": "9561cc3da1e687b3fa3a6ec5b484af820caeb3cb",
    "author": "Nick Barrowman <nick.barrowman@gmail.com>",
    "committer": "Nick Barrowman <nick.barrowman@gmail.com>",
    "message": "Should have committed ages ago.\n",
    "time": 1771014034
  },
  "_maintainer": {
    "name": "Nick Barrowman",
    "email": "nbarrowman@cheo.on.ca"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "DiagrammeR",
      "role": "Imports"
    },
    {
      "package": "DiagrammeRsvg",
      "role": "Imports"
    },
    {
      "package": "rsvg",
      "role": "Imports"
    },
    {
      "package": "htmlwidgets",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "utf8",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "nbarrowman",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-37",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "data-science",
    "data-visualization",
    "exploratory-data-analysis",
    "statistics"
  ],
  "_stars": 75,
  "_contributors": [
    {
      "user": "nbarrowman",
      "count": 343,
      "uuid": 18171065
    },
    {
      "user": "gatscha-trafficon",
      "count": 4,
      "uuid": 255119642
    },
    {
      "user": "cgmossa",
      "count": 2,
      "uuid": 1063624
    },
    {
      "user": "trafficonese",
      "count": 2,
      "uuid": 35805180
    },
    {
      "user": "cpsievert",
      "count": 1,
      "uuid": 1365941
    },
    {
      "user": "yihui",
      "count": 1,
      "uuid": 163582
    },
    {
      "user": "zerweck",
      "count": 1,
      "uuid": 5678151
    }
  ],
  "_userbio": {
    "uuid": 18171065,
    "type": "user",
    "name": "Nick Barrowman"
  },
  "_downloads": {
    "count": 835,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/vtree"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/nbarrowman/vtree",
  "_searchresults": 74,
  "_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/readme.html",
    "extra/readme.md",
    "extra/vtree.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/nbarrowman/vtree",
  "_realowner": "nbarrowman",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.4",
      "date": "2018-11-04"
    },
    {
      "version": "1.0.0",
      "date": "2019-01-08"
    },
    {
      "version": "2.0.0",
      "date": "2019-05-15"
    },
    {
      "version": "3.0.0",
      "date": "2019-10-14"
    },
    {
      "version": "4.0.0",
      "date": "2020-01-09"
    },
    {
      "version": "5.0.0",
      "date": "2020-08-10"
    },
    {
      "version": "5.1.9",
      "date": "2021-01-17"
    },
    {
      "version": "5.4.6",
      "date": "2021-10-03"
    },
    {
      "version": "5.6.4",
      "date": "2022-11-24"
    },
    {
      "version": "5.6.5",
      "date": "2022-12-10"
    },
    {
      "version": "5.7.0",
      "date": "2025-09-13"
    }
  ],
  "_exports": [
    "build.data.frame",
    "crosstabToCases",
    "grVizToImageFile",
    "grVizToPNG",
    "renderVtree",
    "svtree",
    "use_svgzoom",
    "VennTable",
    "vtree",
    "vtreeOutput"
  ],
  "_datasets": [
    {
      "name": "FakeData",
      "title": "Fake clinical dataset",
      "object": "FakeData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "Group",
        "Severity",
        "Sex",
        "Age",
        "Male",
        "Score",
        "Category",
        "Pre",
        "Post",
        "Post2",
        "Event",
        "Time",
        "Ind1",
        "Ind2",
        "Ind3",
        "Ind4",
        "Viral"
      ],
      "rows": 46,
      "table": true,
      "tojson": true
    },
    {
      "name": "FakeRCT",
      "title": "Fake Randomized Controlled Trial (RCT) data",
      "object": "FakeRCT",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "eligible",
        "randomized",
        "group",
        "followup",
        "analyzed"
      ],
      "rows": 12,
      "table": true,
      "tojson": true
    },
    {
      "name": "the.matrix",
      "title": "The Matrix trilogy characters",
      "object": "the.matrix",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "name",
        "height",
        "sex",
        "nature",
        "sunglasses",
        "apparel",
        "bodycount1",
        "bodycount2",
        "bodycount3",
        "ship",
        "the.matrix",
        "the.matrix.reloaded",
        "the.matrix.revolutions"
      ],
      "rows": 34,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "vtree-package",
      "title": "vtree: a tool for calculating and drawing variable trees.",
      "topics": [
        "vtree-package"
      ]
    },
    {
      "page": "build.data.frame",
      "title": "Build a data frame to display with vtree",
      "topics": [
        "build.data.frame"
      ]
    },
    {
      "page": "crosstabToCases",
      "title": "Convert a crosstabulation into a data frame of cases.",
      "topics": [
        "crosstabToCases"
      ]
    },
    {
      "page": "FakeData",
      "title": "Fake clinical dataset",
      "topics": [
        "FakeData"
      ]
    },
    {
      "page": "FakeRCT",
      "title": "Fake Randomized Controlled Trial (RCT) data",
      "topics": [
        "FakeRCT"
      ]
    },
    {
      "page": "grVizToImageFile",
      "title": "Export an htmlwidget object into an image file",
      "topics": [
        "grVizToImageFile"
      ]
    },
    {
      "page": "grVizToPNG",
      "title": "Export an htmlwidget object into a PNG file",
      "topics": [
        "grVizToPNG"
      ]
    },
    {
      "page": "renderVtree",
      "title": "vtree widget",
      "concept": [
        "Shiny Functions"
      ],
      "topics": [
        "renderVtree"
      ]
    },
    {
      "page": "svtree",
      "title": "Create a Shiny vtree, with svg-pan-zoom functionality.",
      "topics": [
        "svtree"
      ]
    },
    {
      "page": "the.matrix",
      "title": "The Matrix trilogy characters",
      "topics": [
        "the.matrix"
      ]
    },
    {
      "page": "use_svgzoom",
      "title": "Setup for interactive Vtree",
      "concept": [
        "Shiny Functions"
      ],
      "topics": [
        "use_svgzoom"
      ]
    },
    {
      "page": "VennTable",
      "title": "Format an indicator-based pattern table",
      "topics": [
        "VennTable"
      ]
    },
    {
      "page": "vtree",
      "title": "Draw a variable tree",
      "topics": [
        "vtree"
      ]
    },
    {
      "page": "vtreeOutput",
      "title": "vtree widget",
      "concept": [
        "Shiny Functions"
      ],
      "topics": [
        "vtreeOutput"
      ]
    }
  ],
  "_readme": "https://github.com/nbarrowman/vtree/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bit",
    "bit64",
    "bslib",
    "cachem",
    "cli",
    "clipr",
    "commonmark",
    "cpp11",
    "crayon",
    "curl",
    "DiagrammeR",
    "DiagrammeRsvg",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "glue",
    "highr",
    "hms",
    "htmltools",
    "htmlwidgets",
    "httpuv",
    "igraph",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "memoise",
    "mime",
    "otel",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "promises",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "readr",
    "rlang",
    "rmarkdown",
    "rstudioapi",
    "rsvg",
    "sass",
    "scales",
    "shiny",
    "sourcetools",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "tzdb",
    "utf8",
    "V8",
    "vctrs",
    "viridisLite",
    "visNetwork",
    "vroom",
    "withr",
    "xfun",
    "xtable",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "vtree.Rmd",
      "filename": "vtree.html",
      "title": "Introduction to vtree",
      "author": "r paste0(\"Nick Barrowman, \",strftime(Sys.time(),format=\"%d-%b-%Y\"),\", Version \",packageVersion(\"vtree\"))",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Two examples",
        "Basic features of a variable tree",
        "Variable trees compared to contingency tables",
        "Features of vtree",
        "Technical overview",
        "The vtree function",
        "Mini tutorial",
        "Percentages",
        "Displaying a legend and hiding node labels",
        "Text wrapping",
        "Pruning",
        "The prune parameter",
        "The keep parameter",
        "The prunebelow parameter",
        "The follow parameter",
        "Targeted pruning",
        "The prunesmaller parameter",
        "Labels for variables and nodes",
        "Changing variable labels with the labelvar parameter",
        "Changing node labels with the labelnode parameter",
        "Targeted node labels using the tlabelnode parameter",
        "Text and text formatting",
        "Markdown-style codes for text formatting",
        "HTML-like codes for text formatting",
        "Adding text to nodes using the text parameter",
        "Targeted text using the ttext parameter",
        "Specification of variables",
        "prefix is.na:",
        "wildcard #",
        "wildcard *",
        "prefix i:",
        "prefix r: (for REDCap)",
        "prefix any:",
        "prefix none:",
        "prefix all:",
        "prefix notall:",
        "prefix tri:",
        "specification variable=value",
        "specifications variable<value, variable>value",
        "Displaying summary statistics in nodes",
        "Default summaries",
        "Specification of variables in the summary argument",
        "Control codes: %noroot%, %leafonly%, %var=v%, and %node=n%",
        "Customized summaries",
        "The %trunc% code",
        "R expressions in the summary argument",
        "More than one variable",
        "Targeted summaries",
        "Pattern trees and pattern tables",
        "Pattern tables",
        "Indicator variables",
        "The VennTable function",
        "Using the summary parameter in pattern tables",
        "Checking for missing values with the check.is.na parameter",
        "Colors",
        "REDCap checkboxes",
        "prefix r:",
        "suffix @",
        "variable prefixes rany:, rnone:, rall:, and rnotall:",
        "variable prefix ri:",
        "Deprecated: variable prefixes stem: and rc:",
        "The DOT script generated by vtree",
        "Extracting a list of information about a variable tree",
        "Ways to call vtree",
        "Calling vtree interactively",
        "Calling vtree from knitr and R Markdown",
        "Generating PNG files",
        "Embedding image files",
        "Generating an image file but not displaying it",
        "Generating an htmlwidget in an HTML document",
        "svtree: Using vtree in Shiny",
        "Generating a data frame by specifying subset sizes",
        "Examples",
        "Rudimentary CONSORT diagrams",
        "Examples using R datasets",
        "Esophageal cancer",
        "Hair and eye color",
        "Titanic",
        "mtcars",
        "UCBAdmissions",
        "ChickWeight",
        "InsectSprays",
        "ToothGrowth"
      ],
      "created": "2019-01-19 20:38:49",
      "modified": "2026-02-13 20:20:34",
      "commits": 154
    }
  ],
  "_score": 7.999565488225983,
  "_indexed": true,
  "_nocasepkg": "vtree",
  "_universes": [
    "nbarrowman"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "5.7.2",
      "date": "2026-05-14T08:58:11.000Z",
      "distro": "noble",
      "commit": "9561cc3da1e687b3fa3a6ec5b484af820caeb3cb",
      "fileid": "ef61e9add8bb408a7b48c72493dcf04b4c23650bcaaea59da3889b2b282dd100",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nbarrowman/actions/runs/25851062088"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "5.7.2",
      "date": "2026-05-14T08:57:25.000Z",
      "distro": "noble",
      "commit": "9561cc3da1e687b3fa3a6ec5b484af820caeb3cb",
      "fileid": "2f2b3b988aef8f46a1dbe9e5810f47ea7a6577411a5dcc7ff0a96548ed5cb87f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nbarrowman/actions/runs/25851062088"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "5.7.2",
      "date": "2026-05-14T08:57:40.000Z",
      "commit": "9561cc3da1e687b3fa3a6ec5b484af820caeb3cb",
      "fileid": "1126561feb75ecefb37d36ccb178bb7baa87b6472b9cd76d68280c79d3aff0eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nbarrowman/actions/runs/25851062088"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "5.7.2",
      "date": "2026-05-14T08:57:18.000Z",
      "commit": "9561cc3da1e687b3fa3a6ec5b484af820caeb3cb",
      "fileid": "fe90a33e3c0e4560b538d8a05f56e86079afadf7a9d3cd5702f6748a5649e56b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nbarrowman/actions/runs/25851062088"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "5.7.2",
      "date": "2026-05-14T08:57:06.000Z",
      "commit": "9561cc3da1e687b3fa3a6ec5b484af820caeb3cb",
      "fileid": "68967763be3a792f03e7f0d432824d99c5801f7b4b882becbe2d241cf0bfee3d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nbarrowman/actions/runs/25851062088"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "5.7.2",
      "date": "2026-05-14T08:56:20.000Z",
      "commit": "9561cc3da1e687b3fa3a6ec5b484af820caeb3cb",
      "fileid": "d0a27baa4a3c39bf65c33a2b85cda8918473ae03fd5aaf799e33479038a8bc18",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nbarrowman/actions/runs/25851062088"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "5.7.2",
      "date": "2026-05-14T08:56:19.000Z",
      "commit": "9561cc3da1e687b3fa3a6ec5b484af820caeb3cb",
      "fileid": "d39ab3878175883ee2cf1a3a47b8aa7984f9e23a3d300ba66bebdc92cd9ca253",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nbarrowman/actions/runs/25851062088"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "5.7.2",
      "date": "2026-05-22T09:02:55.000Z",
      "commit": "9561cc3da1e687b3fa3a6ec5b484af820caeb3cb",
      "fileid": "6a1c471da3cd271bf111fd6301000bcae14cbbdc2bf8253c8f3e8a3f4f69ecee",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nbarrowman/actions/runs/25851062088"
    }
  ]
}