{
  "_id": "6a1f2db0b401979e73426807",
  "Package": "huxtableone",
  "Title": "Descriptive Tables for Observational or Interventional Studies",
  "Version": "0.5.0",
  "Authors@R": "person(given = \"Robert\",\nfamily = \"Challen\",\nrole = c(\"aut\", \"cre\"),\nemail = \"rob.challen@bristol.ac.uk\",\ncomment = c(ORCID = \"0000-0002-5504-7768\"))",
  "Description": "Generating tabular summaries of data in a format suitable\nfor reporting in journal articles is fiddly and slows down more\ndetailed analysis. Comparing two populations with respect to an\nintervention, and reporting it is a task that can be largely\nautomated.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE, roclets = c(\"collate\", \"rd\",\n\"namespace\"), packages = \"pkgtools\")",
  "RoxygenNote": "7.3.3.9007",
  "Config/Needs/build": "terminological/pkgtools, robchallen/roxygen2",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "URL": "https://ai4ci.github.io/huxtableone/,\nhttps://github.com/ai4ci/huxtableone,\nhttps://doi.org/10.5281/zenodo.14794616",
  "BugReports": "https://github.com/ai4ci/huxtableone/issues",
  "Config/pak/sysreqs": "libfontconfig1-dev libfreetype6-dev texlive\nlibicu-dev libxml2-dev",
  "Repository": "https://ai4ci.r-universe.dev",
  "Date/Publication": "2026-03-16 12:06:27 UTC",
  "RemoteUrl": "https://github.com/ai4ci/huxtableone",
  "RemoteRef": "0.5.0",
  "RemoteSha": "e58cbb386229503a1178ab3e125681f2d58995e2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-15 09:42:19 UTC",
    "User": "root"
  },
  "Author": "Robert Challen [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-5504-7768>)",
  "Maintainer": "Robert Challen <rob.challen@bristol.ac.uk>",
  "MD5sum": "0dd16fb83b74a1b5e7c3b1a772417285",
  "_user": "ai4ci",
  "_type": "src",
  "_file": "huxtableone_0.5.0.tar.gz",
  "_fileid": "609c640f2dcc1e0abbc308c1e5da72ce5bc883c7321fe9d4f556f8e8944e1028",
  "_filesize": 1209972,
  "_sha256": "609c640f2dcc1e0abbc308c1e5da72ce5bc883c7321fe9d4f556f8e8944e1028",
  "_created": "2026-05-15T09:42:19.000Z",
  "_published": "2026-06-02T19:23:28.452Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79153495543,
      "time": 230,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7014364877"
    },
    {
      "job": 79153495350,
      "time": 216,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014360768"
    },
    {
      "job": 79153495352,
      "time": 111,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7014331479"
    },
    {
      "job": 79153495674,
      "time": 119,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014333383"
    },
    {
      "job": 79153494779,
      "time": 271,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014299017"
    },
    {
      "job": 79153494885,
      "time": 161,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367649699"
    },
    {
      "job": 79153495088,
      "time": 127,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7014335834"
    },
    {
      "job": 79153495471,
      "time": 130,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7014337420"
    },
    {
      "job": 79153495153,
      "time": 117,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014333071"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ai4ci/actions/runs/25910995475",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ai4ci/huxtableone",
  "_commit": {
    "id": "e58cbb386229503a1178ab3e125681f2d58995e2",
    "author": "Rob Challen <rob@terminological.co.uk>",
    "committer": "Rob Challen <rob@terminological.co.uk>",
    "message": "0.5.0 candidate for pneumo meningitis paper\n",
    "time": 1773662787
  },
  "_maintainer": {
    "name": "Robert Challen",
    "email": "rob.challen@bristol.ac.uk",
    "login": "robchallen",
    "orcid": "0000-0002-5504-7768",
    "uuid": 16591648
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "huxtable",
      "version": ">= 5.5.1",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "nortest",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "systemfonts",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "role": "Imports"
    },
    {
      "package": "binom",
      "role": "Imports"
    },
    {
      "package": "broom",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "version": ">= 1.2.0",
      "role": "Imports"
    },
    {
      "package": "pwr",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "formatR",
      "role": "Suggests"
    },
    {
      "package": "here",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "survival",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "tidyverse",
      "role": "Suggests"
    },
    {
      "package": "htmltools",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "ai4ci",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-12",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.5.0",
      "date": "2026-03-16"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "robchallen",
      "count": 29,
      "uuid": 16591648
    }
  ],
  "_userbio": {
    "uuid": 153937059,
    "type": "organization",
    "name": "AI for Collective Intelligence (AI4CI) ",
    "description": "A UKRI AI Research Hub"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/huxtableone"
  },
  "_devurl": "https://github.com/ai4ci/huxtableone",
  "_pkgdown": "https://ai4ci.github.io/huxtableone/",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/huxtableone.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "%>%",
    "as_t1_shape",
    "as_t1_signif",
    "as_t1_summary",
    "as_vars",
    "compare_missing",
    "compare_outcomes",
    "compare_population",
    "count_table",
    "cut_integer",
    "describe_data",
    "describe_population",
    "explicit_na",
    "extract_comparison",
    "extract_units",
    "format_pvalue",
    "get_footer_text",
    "group_comparison",
    "label_extractor",
    "make_factors",
    "remove_missing",
    "set_labels",
    "set_units"
  ],
  "_datasets": [
    {
      "name": "bad_test_cols",
      "title": "A list of columns for a test case",
      "object": "bad_test_cols",
      "class": [
        "quosures",
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "default.format",
      "title": "Default table layout functions",
      "object": "default.format",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "diamonds",
      "title": "A copy of the diamonds dataset",
      "object": "diamonds",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "carat",
        "cut",
        "color",
        "clarity",
        "depth",
        "table",
        "price",
        "x",
        "y",
        "z",
        "is_colored"
      ],
      "rows": 53940,
      "table": true,
      "tojson": true
    },
    {
      "name": "missing_diamonds",
      "title": "A copy of the diamonds dataset",
      "object": "missing_diamonds",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "carat",
        "cut",
        "color",
        "clarity",
        "depth",
        "table",
        "price",
        "x",
        "y",
        "z",
        "is_colored"
      ],
      "rows": 53940,
      "table": true,
      "tojson": true
    },
    {
      "name": "mnar_two_class_1000",
      "title": "Missing not at random 2 class 1000 items",
      "object": "mnar_two_class_1000",
      "class": [
        "grouped_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "uniform_variable",
        "normal_variable",
        "binomial_class",
        "multinom_class",
        "ordered_class",
        "discrete",
        "ignore_me",
        "grouping"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    },
    {
      "name": "multi_class_negative",
      "title": "A multi-class dataset with equal random samples in each class",
      "object": "multi_class_negative",
      "class": [
        "grouped_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "uniform_variable",
        "normal_variable",
        "binomial_class",
        "multinom_class",
        "ordered_class",
        "discrete",
        "ignore_me",
        "grouping"
      ],
      "rows": 4000,
      "table": true,
      "tojson": true
    },
    {
      "name": "one_class_test_100",
      "title": "A single-class dataset with 100 items of random data",
      "object": "one_class_test_100",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "uniform_variable",
        "normal_variable",
        "binomial_class",
        "multinom_class",
        "ordered_class",
        "discrete",
        "ignore_me"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "one_class_test_1000",
      "title": "A single-class dataset with 1000 items of random data",
      "object": "one_class_test_1000",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "uniform_variable",
        "normal_variable",
        "binomial_class",
        "multinom_class",
        "ordered_class",
        "discrete",
        "ignore_me"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "test_cols",
      "title": "A list of columns for a test case",
      "object": "test_cols",
      "class": [
        "quosures",
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "two_class_test",
      "title": "A two-class dataset with random data",
      "object": "two_class_test",
      "class": [
        "grouped_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "uniform_variable",
        "normal_variable",
        "binomial_class",
        "multinom_class",
        "ordered_class",
        "discrete",
        "ignore_me",
        "grouping"
      ],
      "rows": 1100,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "as_huxtable.t1_shape",
      "title": "Convert a 't1_summary' object to a 'huxtable'",
      "topics": [
        "as_huxtable.t1_shape"
      ]
    },
    {
      "page": "as_huxtable.t1_signif",
      "title": "Convert a 't1_signif' S3 class to a huxtable",
      "topics": [
        "as_huxtable.t1_signif"
      ]
    },
    {
      "page": "as_huxtable.t1_summary",
      "title": "Convert a 't1_summary' object to a 'huxtable'",
      "topics": [
        "as_huxtable.t1_summary"
      ]
    },
    {
      "page": "as_t1_shape",
      "title": "Summarise a data set",
      "topics": [
        "as_t1_shape"
      ]
    },
    {
      "page": "as_t1_signif",
      "title": "Compares the population against an intervention",
      "topics": [
        "as_t1_signif"
      ]
    },
    {
      "page": "as_t1_summary",
      "title": "Summarise a population",
      "topics": [
        "as_t1_summary"
      ]
    },
    {
      "page": "as_vars",
      "title": "Reuse tidy-select syntax outside of a tidy-select function",
      "topics": [
        "as_vars"
      ]
    },
    {
      "page": "bad_test_cols",
      "title": "A list of columns for a test case",
      "topics": [
        "bad_test_cols"
      ]
    },
    {
      "page": "compare_missing",
      "title": "Compares missing data against an intervention in a summary table",
      "topics": [
        "compare_missing"
      ]
    },
    {
      "page": "compare_outcomes",
      "title": "Compares multiple outcomes against an intervention in a summary table",
      "topics": [
        "compare_outcomes"
      ]
    },
    {
      "page": "compare_population",
      "title": "Compares the population against an intervention in a summary table",
      "topics": [
        "compare_population"
      ]
    },
    {
      "page": "count_table",
      "title": "Group data count and calculate proportions by column.",
      "topics": [
        "count_table"
      ]
    },
    {
      "page": "cut_integer",
      "title": "Cut and label an integer valued quantity",
      "topics": [
        "cut_integer"
      ]
    },
    {
      "page": "default.format",
      "title": "Default table layout functions",
      "topics": [
        "default.format"
      ]
    },
    {
      "page": "describe_data",
      "title": "Describe the data types and consistence",
      "topics": [
        "describe_data"
      ]
    },
    {
      "page": "describe_population",
      "title": "Describe the population in a summary table",
      "topics": [
        "describe_population"
      ]
    },
    {
      "page": "diamonds",
      "title": "A copy of the diamonds dataset",
      "topics": [
        "diamonds"
      ]
    },
    {
      "page": "explicit_na",
      "title": "Make NA values in factor columns explicit",
      "topics": [
        "explicit_na"
      ]
    },
    {
      "page": "extract_comparison",
      "title": "Get summary comparisons and statistics between variables as raw data.",
      "topics": [
        "extract_comparison"
      ]
    },
    {
      "page": "extract_units",
      "title": "Extracts units set as dataframe column attributes",
      "topics": [
        "extract_units"
      ]
    },
    {
      "page": "format_pvalue",
      "title": "Format a p-value",
      "topics": [
        "format_pvalue"
      ]
    },
    {
      "page": "get_footer_text",
      "title": "Get footer text if available",
      "topics": [
        "get_footer_text"
      ]
    },
    {
      "page": "group_comparison",
      "title": "Extract one or more comparisons for inserting into text.",
      "topics": [
        "group_comparison"
      ]
    },
    {
      "page": "label_extractor",
      "title": "Extract labels from a dataframe column attributes",
      "topics": [
        "label_extractor"
      ]
    },
    {
      "page": "make_factors",
      "title": "Convert discrete data to factors",
      "topics": [
        "make_factors"
      ]
    },
    {
      "page": "missing_diamonds",
      "title": "A copy of the diamonds dataset",
      "topics": [
        "missing_diamonds"
      ]
    },
    {
      "page": "mnar_two_class_1000",
      "title": "Missing not at random 2 class 1000 items",
      "topics": [
        "mnar_two_class_1000"
      ]
    },
    {
      "page": "multi_class_negative",
      "title": "A multi-class dataset with equal random samples in each class",
      "topics": [
        "multi_class_negative"
      ]
    },
    {
      "page": "one_class_test_100",
      "title": "A single-class dataset with 100 items of random data",
      "topics": [
        "one_class_test_100"
      ]
    },
    {
      "page": "one_class_test_1000",
      "title": "A single-class dataset with 1000 items of random data",
      "topics": [
        "one_class_test_1000"
      ]
    },
    {
      "page": "remove_missing",
      "title": "Remove variables that fail a missing data test from models",
      "topics": [
        "remove_missing"
      ]
    },
    {
      "page": "set_labels",
      "title": "Set a label attribute",
      "topics": [
        "set_labels"
      ]
    },
    {
      "page": "set_units",
      "title": "Title",
      "topics": [
        "set_units"
      ]
    },
    {
      "page": "test_cols",
      "title": "A list of columns for a test case",
      "topics": [
        "test_cols"
      ]
    },
    {
      "page": "two_class_test",
      "title": "A two-class dataset with random data",
      "topics": [
        "two_class_test"
      ]
    }
  ],
  "_pkglogo": "https://github.com/ai4ci/huxtableone/raw/0.5.0/man/figures/logo.png",
  "_readme": "https://github.com/ai4ci/huxtableone/raw/0.5.0/README.md",
  "_rundeps": [
    "assertthat",
    "backports",
    "base64enc",
    "binom",
    "broom",
    "cachem",
    "cli",
    "commonmark",
    "cpp11",
    "digest",
    "dplyr",
    "fansi",
    "fastmap",
    "forcats",
    "generics",
    "glue",
    "htmltools",
    "huxtable",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "memoise",
    "nortest",
    "pillar",
    "pkgconfig",
    "purrr",
    "pwr",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "systemfonts",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "xml2"
  ],
  "_vignettes": [
    {
      "source": "configuration.Rmd",
      "filename": "configuration.html",
      "title": "huxtableone: Configuration",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Configuration and formatting options",
        "Column labelling",
        "Content format",
        "Summary types",
        "Customising the number of decimal places",
        "Summary format customisation",
        "Custom layouts",
        "Footer customisation"
      ],
      "created": "2022-10-17 22:22:47",
      "modified": "2025-02-03 16:26:02",
      "commits": 7
    },
    {
      "source": "huxtableone.Rmd",
      "filename": "huxtableone.html",
      "title": "huxtableone: Getting started",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Formula versus tidyselect interface",
        "Simple population description example",
        "Comparing the population by intervention",
        "Analysis of missing data",
        "Conversion of discrete data",
        "Making missing factors explicit:",
        "Non biomedical data"
      ],
      "created": "2025-02-03 16:26:02",
      "modified": "2025-02-03 16:26:02",
      "commits": 1
    }
  ],
  "_score": 3.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "huxtableone",
  "_universes": [
    "ai4ci",
    "robchallen"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-05-15T09:45:44.000Z",
      "distro": "noble",
      "commit": "e58cbb386229503a1178ab3e125681f2d58995e2",
      "fileid": "a73eba4c75475c9a0643f01bc111b8b508dd581851d3304bd8b0946715cfdab3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ai4ci/actions/runs/25910995475"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.0",
      "date": "2026-05-15T09:45:34.000Z",
      "distro": "noble",
      "commit": "e58cbb386229503a1178ab3e125681f2d58995e2",
      "fileid": "955aed3f16a213bd8944294946b87538606a436becaaf9642fa1755dcf47f715",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ai4ci/actions/runs/25910995475"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.0",
      "date": "2026-05-15T09:44:04.000Z",
      "commit": "e58cbb386229503a1178ab3e125681f2d58995e2",
      "fileid": "e9cafcb7442d2ee16f6201b173492faba695d547073be8d2ec1ac05f9d39e82a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ai4ci/actions/runs/25910995475"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.0",
      "date": "2026-05-15T09:44:06.000Z",
      "commit": "e58cbb386229503a1178ab3e125681f2d58995e2",
      "fileid": "0634c85bc78981d5c2271e87648cf5d184036abca5751acae17d35d760a91792",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ai4ci/actions/runs/25910995475"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-05-15T09:43:50.000Z",
      "commit": "e58cbb386229503a1178ab3e125681f2d58995e2",
      "fileid": "f7a91d79946c64891ae29ade693caa29d98269f7f0aaecf3f50eb9ffef390ad0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ai4ci/actions/runs/25910995475"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-05-15T09:43:53.000Z",
      "commit": "e58cbb386229503a1178ab3e125681f2d58995e2",
      "fileid": "a6912494bdea654073887e15f9777894220f3b7c532c8c7e8f82b5e36b47e42a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ai4ci/actions/runs/25910995475"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5.0",
      "date": "2026-05-15T09:43:44.000Z",
      "commit": "e58cbb386229503a1178ab3e125681f2d58995e2",
      "fileid": "1adaf5de6f79260b6a4323db018d6c3040d4636a2b7b06ee3d435688d4154ae7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ai4ci/actions/runs/25910995475"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.0",
      "date": "2026-06-02T19:23:11.000Z",
      "commit": "e58cbb386229503a1178ab3e125681f2d58995e2",
      "fileid": "ec0f814b729e5cced5903dff9ba49099fdd58372c9fd8c8ebe85eac0e2260020",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ai4ci/actions/runs/25910995475"
    }
  ]
}