{
  "_id": "6a21daadcd65a98ecbd41729",
  "Package": "TernTables",
  "Type": "Package",
  "Title": "Automated Statistical Analysis and Table Generation for\nBiomedical Research",
  "Version": "1.7.2",
  "Authors@R": "c(\nperson(\"Joshua D.\", \"Preston\",\nemail = \"joshua.preston@emory.edu\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-9834-3017\")),\nperson(\"Helen\", \"Abadiotakis\",\nrole = \"aut\",\ncomment = c(ORCID = \"0009-0002-8268-927X\")),\nperson(\"Ailin\", \"Tang\",\nrole = \"aut\",\ncomment = c(ORCID = \"0009-0007-8715-1678\")),\nperson(\"Clayton J.\", \"Rust\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0001-5929-0733\")),\nperson(\"Michael E.\", \"Halkos\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0001-9191-7743\")),\nperson(\"Mani A.\", \"Daneshmand\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0002-0191-9911\")),\nperson(\"Joshua L.\", \"Chan\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0001-7220-561X\"))\n)",
  "Description": "Generates publication-ready summary tables for clinical\nresearch, supporting descriptive summaries and comparisons\nacross two or three groups. The package streamlines the\nanalytical workflow by detecting variable types and applying\nappropriate statistical tests (Welch t-test, Wilcoxon rank-sum,\nWelch ANOVA, Kruskal-Wallis, Chi-squared, or Fisher's exact\ntest). Results are formatted as 'tibble' objects and can be\nexported to 'Word' or 'Excel' using the 'officer', 'flextable',\nand 'writexl' packages. Optional pairwise post-hoc testing for\nthree-group comparisons (Games-Howell and Dunn's test) is\navailable via the 'rstatix' package. Example data are derived\nfrom the landmark adjuvant colon cancer trial described in\nMoertel et al. (1990) <doi:10.1056/NEJM199002083220602>.",
  "License": "MIT + file LICENSE",
  "URL": "https://cran.r-project.org/package=TernTables,\nhttps://github.com/jdpreston30/TernTables,\nhttps://tern-tables.com/",
  "BugReports": "https://github.com/jdpreston30/TernTables/issues",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libcairo2-dev cmake libfontconfig1-dev\nlibfreetype6-dev libfribidi-dev make libharfbuzz-dev libicu-dev\nlibjpeg-dev libpng-dev libtiff-dev libuv1-dev libwebp-dev\nlibxml2-dev libssl-dev zlib1g-dev",
  "Repository": "https://jdpreston30.r-universe.dev",
  "Date/Publication": "2026-06-04 18:05:21 UTC",
  "RemoteUrl": "https://github.com/jdpreston30/TernTables",
  "RemoteRef": "HEAD",
  "RemoteSha": "041d6fa9cc68f17a844ec8592140d0bffe7961ad",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-04 20:02:20 UTC",
    "User": "root"
  },
  "Author": "Joshua D. Preston [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-9834-3017>),\nHelen Abadiotakis [aut] (ORCID:\n<https://orcid.org/0009-0002-8268-927X>),\nAilin Tang [aut] (ORCID: <https://orcid.org/0009-0007-8715-1678>),\nClayton J. Rust [aut] (ORCID: <https://orcid.org/0000-0001-5929-0733>),\nMichael E. Halkos [aut] (ORCID:\n<https://orcid.org/0000-0001-9191-7743>),\nMani A. Daneshmand [aut] (ORCID:\n<https://orcid.org/0000-0002-0191-9911>),\nJoshua L. Chan [aut] (ORCID: <https://orcid.org/0000-0001-7220-561X>)",
  "Maintainer": "Joshua D. Preston <joshua.preston@emory.edu>",
  "MD5sum": "e4a605e44132a8441410ac7182fef85b",
  "_user": "jdpreston30",
  "_type": "src",
  "_file": "TernTables_1.7.2.tar.gz",
  "_fileid": "b87d4b2ac12668dc76b01b027c4a45b61bcc23124e88405c1cbd62bb24b360ad",
  "_filesize": 2664840,
  "_sha256": "b87d4b2ac12668dc76b01b027c4a45b61bcc23124e88405c1cbd62bb24b360ad",
  "_created": "2026-06-04T20:02:20.000Z",
  "_published": "2026-06-04T20:06:05.480Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79604187499,
      "time": 176,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7421811914"
    },
    {
      "job": 79604187496,
      "time": 178,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7421812495"
    },
    {
      "job": 79604187469,
      "time": 129,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7421796125"
    },
    {
      "job": 79604187459,
      "time": 98,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7421785331"
    },
    {
      "job": 79603360202,
      "time": 270,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7421750059"
    },
    {
      "job": 79604187464,
      "time": 154,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7421804079"
    },
    {
      "job": 79604187488,
      "time": 153,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7421804076"
    },
    {
      "job": 79604187461,
      "time": 113,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7421790555"
    },
    {
      "job": 79604187512,
      "time": 165,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7421808197"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jdpreston30/actions/runs/26976078165",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jdpreston30/TernTables",
  "_commit": {
    "id": "041d6fa9cc68f17a844ec8592140d0bffe7961ad",
    "author": "jdpreston30 <jdpreston30@gmail.com>",
    "committer": "jdpreston30 <jdpreston30@gmail.com>",
    "message": "submitted 1.7.2 to CRAN\n",
    "time": 1780596321
  },
  "_maintainer": {
    "name": "Joshua D. Preston",
    "email": "joshua.preston@emory.edu",
    "login": "jdpreston30",
    "orcid": "0000-0001-9834-3017",
    "description": "MD/PhD student at Emory University SOM with computational skills in metabolomics, machine learning, and clinical research.",
    "uuid": 78032257
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "epitools",
      "role": "Imports"
    },
    {
      "package": "flextable",
      "version": ">= 0.9.0",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "multcompView",
      "role": "Imports"
    },
    {
      "package": "officer",
      "version": ">= 0.4.6",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "rstatix",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "writexl",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "survival",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "jdpreston30",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-25",
      "n": 14
    },
    {
      "week": "2025-26",
      "n": 4
    },
    {
      "week": "2025-27",
      "n": 1
    },
    {
      "week": "2025-28",
      "n": 1
    },
    {
      "week": "2025-29",
      "n": 3
    },
    {
      "week": "2025-30",
      "n": 2
    },
    {
      "week": "2025-32",
      "n": 14
    },
    {
      "week": "2025-33",
      "n": 1
    },
    {
      "week": "2025-34",
      "n": 1
    },
    {
      "week": "2025-36",
      "n": 1
    },
    {
      "week": "2025-40",
      "n": 4
    },
    {
      "week": "2025-41",
      "n": 11
    },
    {
      "week": "2025-43",
      "n": 4
    },
    {
      "week": "2025-45",
      "n": 3
    },
    {
      "week": "2026-02",
      "n": 1
    },
    {
      "week": "2026-08",
      "n": 5
    },
    {
      "week": "2026-09",
      "n": 32
    },
    {
      "week": "2026-10",
      "n": 66
    },
    {
      "week": "2026-11",
      "n": 19
    },
    {
      "week": "2026-12",
      "n": 19
    },
    {
      "week": "2026-13",
      "n": 6
    },
    {
      "week": "2026-14",
      "n": 1
    },
    {
      "week": "2026-15",
      "n": 5
    },
    {
      "week": "2026-17",
      "n": 4
    },
    {
      "week": "2026-18",
      "n": 3
    },
    {
      "week": "2026-23",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v1.0",
      "date": "2025-11-06"
    },
    {
      "name": "v1.1.0",
      "date": "2026-01-08"
    },
    {
      "name": "v1.2.0",
      "date": "2026-02-16"
    },
    {
      "name": "v1.2.1",
      "date": "2026-02-26"
    },
    {
      "name": "v1.3.1",
      "date": "2026-02-27"
    },
    {
      "name": "v1.6.1",
      "date": "2026-03-03"
    },
    {
      "name": "v1.6.2",
      "date": "2026-03-04"
    },
    {
      "name": "v1.6.3",
      "date": "2026-03-04"
    },
    {
      "name": "v1.6.4",
      "date": "2026-03-23"
    },
    {
      "name": "v1.7.0",
      "date": "2026-03-27"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "jdpreston30",
      "count": 202,
      "uuid": 78032257
    },
    {
      "user": "atangx",
      "count": 26,
      "uuid": 223568622
    }
  ],
  "_userbio": {
    "uuid": 78032257,
    "type": "user",
    "name": "Joshua Preston",
    "description": "MD/PhD student at Emory University SOM with computational skills in metabolomics, machine learning, and clinical research."
  },
  "_downloads": {
    "count": 461,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/TernTables"
  },
  "_devurl": "https://github.com/jdpreston30/terntables",
  "_searchresults": 8,
  "_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/TernTables.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jdpreston30/terntables",
  "_realowner": "jdpreston30",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.6.4",
      "date": "2026-03-26"
    },
    {
      "version": "1.7.2",
      "date": "2026-06-04"
    }
  ],
  "_exports": [
    "classify_normality",
    "ternB",
    "ternD",
    "ternG",
    "ternP",
    "ternStyle",
    "val_format",
    "val_p_format",
    "word_export",
    "write_cleaning_doc",
    "write_methods_doc"
  ],
  "_datasets": [
    {
      "name": "tern_colon",
      "title": "Colon Cancer Recurrence Data (Example Dataset)",
      "object": "tern_colon",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "ID",
        "Age_Years",
        "Sex",
        "Colonic_Obstruction",
        "Bowel_Perforation",
        "Positive_Lymph_Nodes_n",
        "Over_4_Positive_Nodes",
        "Tumor_Adherence",
        "Tumor_Differentiation",
        "Extent_of_Local_Spread",
        "Recurrence",
        "Treatment_Arm"
      ],
      "rows": 929,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "classify_normality",
      "title": "Classify variables by normality and routing decision",
      "topics": [
        "classify_normality"
      ]
    },
    {
      "page": "print.ternP_result",
      "title": "Print method for ternP_result objects",
      "topics": [
        "print.ternP_result"
      ]
    },
    {
      "page": "tern_colon",
      "title": "Colon Cancer Recurrence Data (Example Dataset)",
      "topics": [
        "tern_colon"
      ]
    },
    {
      "page": "ternB",
      "title": "Combine multiple ternD/ternG tables into a single Word document",
      "topics": [
        "ternB"
      ]
    },
    {
      "page": "ternD",
      "title": "Generate descriptive summary table (optionally normality-aware)",
      "topics": [
        "ternD"
      ]
    },
    {
      "page": "ternG",
      "title": "Generate grouped summary table with appropriate statistical tests",
      "topics": [
        "ternG"
      ]
    },
    {
      "page": "ternP",
      "title": "Preprocess a raw data frame for use with ternG or ternD",
      "topics": [
        "ternP"
      ]
    },
    {
      "page": "ternStyle",
      "title": "Export a custom tibble to Word with TernTables formatting",
      "topics": [
        "ternStyle"
      ]
    },
    {
      "page": "val_format",
      "title": "Format a mean +/- SD string",
      "topics": [
        "val_format"
      ]
    },
    {
      "page": "val_p_format",
      "title": "Format a P value for reporting",
      "topics": [
        "val_p_format"
      ]
    },
    {
      "page": "word_export",
      "title": "Export TernTables output to a formatted Word document",
      "topics": [
        "word_export"
      ]
    },
    {
      "page": "write_cleaning_doc",
      "title": "Write a cleaning summary document for ternP output",
      "topics": [
        "write_cleaning_doc"
      ]
    },
    {
      "page": "write_methods_doc",
      "title": "Write a methods section Word document for TernTables output",
      "topics": [
        "write_methods_doc"
      ]
    }
  ],
  "_readme": "https://github.com/jdpreston30/TernTables/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "askpass",
    "backports",
    "base64enc",
    "boot",
    "broom",
    "bslib",
    "cachem",
    "car",
    "carData",
    "cli",
    "colorspace",
    "corrplot",
    "cowplot",
    "cpp11",
    "data.table",
    "Deriv",
    "digest",
    "doBy",
    "dplyr",
    "epitools",
    "evaluate",
    "farver",
    "fastmap",
    "flextable",
    "fontawesome",
    "fontBitstreamVera",
    "fontLiberation",
    "fontquiver",
    "forecast",
    "Formula",
    "fracdiff",
    "fs",
    "gdtools",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "htmltools",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "memoise",
    "mgcv",
    "microbenchmark",
    "mime",
    "minqa",
    "modelr",
    "multcompView",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "officer",
    "openssl",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "purrr",
    "quantreg",
    "R6",
    "ragg",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "rmarkdown",
    "rstatix",
    "S7",
    "sass",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "sys",
    "systemfonts",
    "textshaping",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "tinytex",
    "urca",
    "utf8",
    "uuid",
    "vctrs",
    "viridisLite",
    "withr",
    "writexl",
    "xfun",
    "xml2",
    "yaml",
    "zip",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting Started with TernTables",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Example Dataset",
        "Preprocessing Raw Data (ternP)",
        "Descriptive Table (ternD)",
        "Two-Group Comparison (ternG — 2 levels)",
        "Three or More Groups (ternG — 3+ levels)",
        "BH FDR Correction (p_adjust)",
        "Row Percentages (percentage_compute)",
        "Suppressing P Values (show_p) and Showing Missingness (show_missing)",
        "Word Output Formatting",
        "Statistical Test Logic",
        "Auditing Normality Routing (classify_normality)",
        "Methods Document",
        "Custom Tables (ternStyle)",
        "Web Application",
        "References"
      ],
      "created": "2026-02-26 14:07:07",
      "modified": "2026-04-03 03:33:05",
      "commits": 29
    }
  ],
  "_score": 5.113943352306837,
  "_indexed": true,
  "_nocasepkg": "terntables",
  "_universes": [
    "jdpreston30"
  ],
  "_previous": "1.7.1.9010",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.7.2",
      "date": "2026-06-04T20:05:05.000Z",
      "distro": "noble",
      "commit": "041d6fa9cc68f17a844ec8592140d0bffe7961ad",
      "fileid": "026fb5fcc67a137ce5d6b4c21de5165e1ba61bc07fbdc1dc346db50639bf05c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jdpreston30/actions/runs/26976078165"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.7.2",
      "date": "2026-06-04T20:05:05.000Z",
      "distro": "noble",
      "commit": "041d6fa9cc68f17a844ec8592140d0bffe7961ad",
      "fileid": "15320b4f67beb6ef3252f5b28db508e5958d101cdf70c9415996e7b27f33a2c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jdpreston30/actions/runs/26976078165"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.7.2",
      "date": "2026-06-04T20:04:23.000Z",
      "commit": "041d6fa9cc68f17a844ec8592140d0bffe7961ad",
      "fileid": "e6fa6f8ace387dc8a0f71fe76bb79f0692778485d75c682acb129bbad63301bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jdpreston30/actions/runs/26976078165"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.7.2",
      "date": "2026-06-04T20:04:00.000Z",
      "commit": "041d6fa9cc68f17a844ec8592140d0bffe7961ad",
      "fileid": "5a873c9554d946d65806cffc842afd26ebbd1d1fa81297b556e2854804fdb1c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jdpreston30/actions/runs/26976078165"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.7.2",
      "date": "2026-06-04T20:05:18.000Z",
      "commit": "041d6fa9cc68f17a844ec8592140d0bffe7961ad",
      "fileid": "3f2282cfb9ce0bec673578519be1dc170597d0f506fdf66966d9628de1cc69c3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jdpreston30/actions/runs/26976078165"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.7.2",
      "date": "2026-06-04T20:04:29.000Z",
      "commit": "041d6fa9cc68f17a844ec8592140d0bffe7961ad",
      "fileid": "603ccd6137af0c637b812d8989e9a992b7eeebfc6d453946e4a62fa8f79d2144",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jdpreston30/actions/runs/26976078165"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.7.2",
      "date": "2026-06-04T20:03:56.000Z",
      "commit": "041d6fa9cc68f17a844ec8592140d0bffe7961ad",
      "fileid": "78fe4a5f69936153c8c37f1aa7af71f336054dd90b4dede11b669029dfd14efd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jdpreston30/actions/runs/26976078165"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.7.2",
      "date": "2026-06-04T20:04:36.000Z",
      "commit": "041d6fa9cc68f17a844ec8592140d0bffe7961ad",
      "fileid": "9beabf429cd847326f8f03cc39019e8eeb90eecdff683b0290c5dda29ac0a135",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jdpreston30/actions/runs/26976078165"
    }
  ]
}