{
  "_id": "6a0f626eacfb0bcc41c5c335",
  "Package": "formatters",
  "Title": "ASCII Formatting for Values and Tables",
  "Version": "0.5.12.9003",
  "Date": "2026-05-21",
  "Authors@R": "c(\nperson(\"Gabriel\", \"Becker\", , \"gabembecker@gmail.com\", role = \"aut\",\ncomment = \"original creator of the package\"),\nperson(\"Adrian\", \"Waddell\", , \"adrian.waddell@gmail.com\", role = \"aut\"),\nperson(\"Davide\", \"Garolini\", , \"davide.garolini@roche.com\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-1445-1369\")),\nperson(\"Emily\", \"de la Rua\", , \"emilydelarua@gmail.com\", role = \"aut\",\ncomment = c(ORCID = \"0009-0000-8738-5561\")),\nperson(\"Abinaya\", \"Yogasekaram\", , \"ayogasek@gmail.com\", role = \"ctb\",\ncomment = c(ORCID = \"0009-0005-2083-1105\")),\nperson(\"Joe\", \"Zhu\", , \"joe.zhu@roche.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-7566-2787\")),\nperson(\"F. Hoffmann-La Roche AG\", role = c(\"cph\", \"fnd\"))\n)",
  "Description": "We provide a framework for rendering complex tables to\nASCII, and a set of formatters for transforming values or sets\nof values into ASCII-ready display strings.",
  "License": "Apache License 2.0",
  "URL": "https://insightsengineering.github.io/formatters/,\nhttps://github.com/insightsengineering/formatters/",
  "BugReports": "https://github.com/insightsengineering/formatters/issues",
  "VignetteBuilder": "knitr, rmarkdown",
  "Config/Needs/verdepcheck": "mllg/checkmate, rstudio/htmltools,\nr-lib/lifecycle, tidyverse/dplyr, rstudio/gt,\nhughjonesd/huxtable, yihui/knitr, Merck/r2rtf,\nrstudio/rmarkdown, gagolews/stringi, r-lib/testthat,\nr-lib/withr",
  "Config/Needs/website": "insightsengineering/nesttemplate",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Collate": "'data.R' 'format_value.R' 'matrix_form.R' 'generics.R'\n'labels.R' 'mpf_exporters.R' 'package.R' 'page_size.R'\n'pagination.R' 'tostring.R' 'utils.R' 'zzz.R'",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://pharmaverse.r-universe.dev",
  "Date/Publication": "2026-05-21 09:09:51 UTC",
  "RemoteUrl": "https://github.com/insightsengineering/formatters",
  "RemoteRef": "HEAD",
  "RemoteSha": "768481800c67ab2e4a8e41f2dab6f307a1997d89",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-21 10:41:56 UTC",
    "User": "root"
  },
  "Author": "Gabriel Becker [aut] (original creator of the package),\nAdrian Waddell [aut],\nDavide Garolini [aut] (ORCID: <https://orcid.org/0000-0002-1445-1369>),\nEmily de la Rua [aut] (ORCID: <https://orcid.org/0009-0000-8738-5561>),\nAbinaya Yogasekaram [ctb] (ORCID:\n<https://orcid.org/0009-0005-2083-1105>),\nJoe Zhu [aut, cre] (ORCID: <https://orcid.org/0000-0001-7566-2787>),\nF. Hoffmann-La Roche AG [cph, fnd]",
  "Maintainer": "Joe Zhu <joe.zhu@roche.com>",
  "MD5sum": "92c98696133068a0986d3ea85b3473db",
  "_user": "pharmaverse",
  "_type": "src",
  "_file": "formatters_0.5.12.9003.tar.gz",
  "_fileid": "3277ecdbb0d6f105c8306a6230bfcd95a91030b96aefc1f5386531aef80b932c",
  "_filesize": 2774999,
  "_sha256": "3277ecdbb0d6f105c8306a6230bfcd95a91030b96aefc1f5386531aef80b932c",
  "_created": "2026-05-21T10:41:56.000Z",
  "_published": "2026-05-21T19:52:14.286Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77256167123,
      "time": 170,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7133665228"
    },
    {
      "job": 77256167524,
      "time": 183,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133669270"
    },
    {
      "job": 77256166793,
      "time": 159,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7133697500"
    },
    {
      "job": 77256166926,
      "time": 146,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133741431"
    },
    {
      "job": 77256166503,
      "time": 213,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133608873"
    },
    {
      "job": 77256166135,
      "time": 100,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7145728112"
    },
    {
      "job": 77256167213,
      "time": 113,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7133646984"
    },
    {
      "job": 77256167468,
      "time": 104,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7133643643"
    },
    {
      "job": 77256167166,
      "time": 103,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133643399"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26220896817",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/insightsengineering/formatters",
  "_commit": {
    "id": "768481800c67ab2e4a8e41f2dab6f307a1997d89",
    "author": "Melkiades <11279768+Melkiades@users.noreply.github.com>",
    "committer": "github-actions <41898282+github-actions[bot]@users.noreply.github.com>",
    "message": "[skip actions] Bump version to 0.5.12.9003\n",
    "time": 1779354591
  },
  "_maintainer": {
    "name": "Joe Zhu",
    "email": "joe.zhu@roche.com",
    "login": "shajoezhu",
    "orcid": "0000-0001-7566-2787",
    "twitter": "@shajoezhu",
    "description": "Programmer, data scientist, statistician. Made in China, built in NZ, upgraded in Oxford",
    "uuid": 3692541
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 3.6.3",
      "role": "Depends"
    },
    {
      "package": "checkmate",
      "version": ">= 2.1.0",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "htmltools",
      "version": ">= 0.5.8.1",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "version": ">= 0.2.0",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "version": ">= 1.7.12",
      "role": "Imports"
    },
    {
      "package": "digest",
      "version": ">= 0.6.37",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.4",
      "role": "Suggests"
    },
    {
      "package": "gt",
      "version": ">= 0.10.1",
      "role": "Suggests"
    },
    {
      "package": "huxtable",
      "version": ">= 5.5.5",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "version": ">= 1.50",
      "role": "Suggests"
    },
    {
      "package": "r2rtf",
      "version": ">= 1.1.2",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "version": ">= 2.28",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.3.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "version": ">= 2.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "insightsengineering",
  "_selfowned": false,
  "_usedby": 23,
  "_updates": [
    {
      "week": "2025-28",
      "n": 3
    },
    {
      "week": "2025-30",
      "n": 2
    },
    {
      "week": "2025-31",
      "n": 1
    },
    {
      "week": "2025-48",
      "n": 4
    },
    {
      "week": "2025-49",
      "n": 3
    },
    {
      "week": "2025-50",
      "n": 2
    },
    {
      "week": "2026-01",
      "n": 8
    },
    {
      "week": "2026-21",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.5.12",
      "date": "2025-12-08"
    }
  ],
  "_topics": [
    "format",
    "matrix",
    "table"
  ],
  "_stars": 19,
  "_contributors": [
    {
      "user": "gmbecker",
      "count": 93,
      "uuid": 908721
    },
    {
      "user": "melkiades",
      "count": 67,
      "uuid": 11279768
    },
    {
      "user": "shajoezhu",
      "count": 46,
      "uuid": 3692541
    },
    {
      "user": "edelarua",
      "count": 36,
      "uuid": 59304861
    },
    {
      "user": "cicdguy",
      "count": 25,
      "uuid": 26552821
    },
    {
      "user": "walkowif",
      "count": 19,
      "uuid": 59475134
    },
    {
      "user": "insights-engineering-bot",
      "count": 17,
      "uuid": 68416928
    },
    {
      "user": "pawelru",
      "count": 16,
      "uuid": 12943682
    },
    {
      "user": "ayogasekaram",
      "count": 9,
      "uuid": 73252787
    },
    {
      "user": "m7pr",
      "count": 4,
      "uuid": 133694481
    },
    {
      "user": "llrs-roche",
      "count": 4,
      "uuid": 185338939
    },
    {
      "user": "averissimo",
      "count": 4,
      "uuid": 211358
    },
    {
      "user": "clarkliming",
      "count": 2,
      "uuid": 36079400
    },
    {
      "user": "denisovan31415",
      "count": 2,
      "uuid": 12874196
    },
    {
      "user": "arkadiuszbeer",
      "count": 2,
      "uuid": 86738093
    },
    {
      "user": "vedhav",
      "count": 2,
      "uuid": 49812166
    },
    {
      "user": "munoztd0",
      "count": 1,
      "uuid": 43644805
    },
    {
      "user": "gogonzo",
      "count": 1,
      "uuid": 6959016
    },
    {
      "user": "iaugusty",
      "count": 1,
      "uuid": 55379552
    },
    {
      "user": "anajens",
      "count": 1,
      "uuid": 43623360
    },
    {
      "user": "polkas",
      "count": 1,
      "uuid": 10676545
    },
    {
      "user": "martincadek",
      "count": 1,
      "uuid": 7356171
    },
    {
      "user": "tomszosz",
      "count": 1,
      "uuid": 42359321
    }
  ],
  "_userbio": {
    "uuid": 84541169,
    "type": "organization",
    "name": "pharmaverse"
  },
  "_downloads": {
    "count": 8554,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/formatters"
  },
  "_devurl": "https://github.com/insightsengineering/formatters",
  "_pkgdown": "https://insightsengineering.github.io/formatters/",
  "_searchresults": 73,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/formatters.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/insightsengineering/formatters",
  "_realowner": "insightsengineering",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2022-03-29"
    },
    {
      "version": "0.3.1",
      "date": "2022-05-21"
    },
    {
      "version": "0.3.2",
      "date": "2022-06-09"
    },
    {
      "version": "0.4.0",
      "date": "2023-03-02"
    },
    {
      "version": "0.4.1",
      "date": "2023-04-15"
    },
    {
      "version": "0.5.0",
      "date": "2023-05-25"
    },
    {
      "version": "0.5.2",
      "date": "2023-08-25"
    },
    {
      "version": "0.5.5",
      "date": "2023-12-06"
    },
    {
      "version": "0.5.6",
      "date": "2024-04-15"
    },
    {
      "version": "0.5.8",
      "date": "2024-06-19"
    },
    {
      "version": "0.5.9",
      "date": "2024-09-12"
    },
    {
      "version": "0.5.10",
      "date": "2025-01-09"
    },
    {
      "version": "0.5.11",
      "date": "2025-04-09"
    },
    {
      "version": "0.5.12",
      "date": "2025-12-11"
    }
  ],
  "_exports": [
    "%||%",
    "all_footers",
    "all_titles",
    "basic_listing_mf",
    "basic_matrix_form",
    "basic_pagdf",
    "check_aligns",
    "close_font_dev",
    "debug_font_dev",
    "decimal_align",
    "default_hsep",
    "default_page_number",
    "diagnose_pagination",
    "divider_height",
    "do_forced_paginate",
    "export_as_pdf",
    "export_as_rtf",
    "export_as_txt",
    "fmt_config",
    "font_spec",
    "format_value",
    "is_valid_format",
    "is.wholenumber",
    "list_valid_aligns",
    "list_valid_format_labels",
    "main_footer",
    "main_footer<-",
    "main_title",
    "main_title<-",
    "make_row_df",
    "matrix_form",
    "MatrixPrintForm",
    "mf_aligns",
    "mf_aligns<-",
    "mf_cinfo",
    "mf_cinfo<-",
    "mf_col_widths",
    "mf_col_widths<-",
    "mf_colgap",
    "mf_colgap<-",
    "mf_display",
    "mf_display<-",
    "mf_fontspec",
    "mf_fontspec<-",
    "mf_formats",
    "mf_formats<-",
    "mf_has_rlabels",
    "mf_has_topleft",
    "mf_lgrouping",
    "mf_lgrouping<-",
    "mf_ncol",
    "mf_ncol<-",
    "mf_nlheader",
    "mf_nrheader",
    "mf_nrheader<-",
    "mf_nrow",
    "mf_rfnotes",
    "mf_rfnotes<-",
    "mf_rinfo",
    "mf_rinfo<-",
    "mf_spans",
    "mf_spans<-",
    "mf_strings",
    "mf_strings<-",
    "mpf_has_rlabels",
    "mpf_to_rtf",
    "nchar_ttype",
    "ncol",
    "nlines",
    "num_rep_cols",
    "num_rep_cols<-",
    "obj_align",
    "obj_align<-",
    "obj_format",
    "obj_format<-",
    "obj_label",
    "obj_label<-",
    "obj_na_str",
    "obj_na_str<-",
    "obj_name",
    "obj_name<-",
    "obj_round_type",
    "obj_round_type<-",
    "open_font_dev",
    "padstr",
    "pag_indices_inner",
    "pagdfrow",
    "page_dim",
    "page_lcpp",
    "page_titles",
    "page_titles<-",
    "page_types",
    "paginate_indices",
    "paginate_to_mpfs",
    "propose_column_widths",
    "prov_footer",
    "prov_footer<-",
    "ref_df_row",
    "round_fmt",
    "set_default_hsep",
    "set_default_page_number",
    "spans_to_viscell",
    "split_word_ttype",
    "spread_integer",
    "sprintf_format",
    "subtitles",
    "subtitles<-",
    "table_inset",
    "table_inset<-",
    "toString",
    "undebug_font_dev",
    "valid_round_type",
    "var_labels",
    "var_labels_remove",
    "var_labels<-",
    "var_relabel",
    "vert_pag_indices",
    "with_label",
    "wrap_string",
    "wrap_string_ttype",
    "wrap_txt"
  ],
  "_datasets": [
    {
      "name": "DM",
      "title": "DM data",
      "object": "DM",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "ID",
        "AGE",
        "SEX",
        "RACE",
        "COUNTRY",
        "ARM",
        "BMRKR1",
        "STRATA1"
      ],
      "rows": 356,
      "table": true,
      "tojson": true
    },
    {
      "name": "ex_adae",
      "title": "Simulated CDISC-like data for examples",
      "object": "ex_adae",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "STUDYID",
        "USUBJID",
        "SUBJID",
        "SITEID",
        "AGE",
        "SEX",
        "RACE",
        "COUNTRY",
        "INVID",
        "ARM",
        "ARMCD",
        "ACTARM",
        "ACTARMCD",
        "STRATA1",
        "STRATA2",
        "BMRKR1",
        "BMRKR2",
        "ITTFL",
        "SAFFL",
        "BMEASIFL",
        "BEP01FL",
        "RANDDT",
        "TRTSDTM",
        "TRTEDTM",
        "EOSSTT",
        "EOSDT",
        "EOSDY",
        "DCSREAS",
        "DTHDT",
        "LSTALVDT",
        "study_duration_secs",
        "ASEQ",
        "AESEQ",
        "AETERM",
        "AELLT",
        "AEDECOD",
        "AEHLT",
        "AEHLGT",
        "AEBODSYS",
        "AESOC",
        "AESEV",
        "AESER",
        "AREL",
        "ASTDTM",
        "AENDTM",
        "ASTDY",
        "AENDY",
        "AETOXGR"
      ],
      "rows": 1934,
      "table": true,
      "tojson": true
    },
    {
      "name": "ex_adaette",
      "title": "Simulated CDISC-like data for examples",
      "object": "ex_adaette",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "STUDYID",
        "USUBJID",
        "SUBJID",
        "SITEID",
        "AGE",
        "SEX",
        "RACE",
        "COUNTRY",
        "INVID",
        "ARM",
        "ARMCD",
        "ACTARM",
        "ACTARMCD",
        "STRATA1",
        "STRATA2",
        "BMRKR1",
        "BMRKR2",
        "ITTFL",
        "SAFFL",
        "BMEASIFL",
        "BEP01FL",
        "RANDDT",
        "TRTSDTM",
        "TRTEDTM",
        "EOSSTT",
        "EOSDT",
        "EOSDY",
        "DCSREAS",
        "DTHDT",
        "LSTALVDT",
        "study_duration_secs",
        "ASEQ",
        "TTESEQ",
        "PARAM",
        "PARAMCD",
        "AVAL",
        "AVALU",
        "ADTM",
        "ADY",
        "CNSR",
        "EVNTDESC",
        "CNSDTDSC"
      ],
      "rows": 1200,
      "table": true,
      "tojson": true
    },
    {
      "name": "ex_adcm",
      "title": "Simulated CDISC-like data for examples",
      "object": "ex_adcm",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "STUDYID",
        "USUBJID",
        "SUBJID",
        "SITEID",
        "AGE",
        "SEX",
        "RACE",
        "COUNTRY",
        "INVID",
        "ARM",
        "ARMCD",
        "ACTARM",
        "ACTARMCD",
        "STRATA1",
        "STRATA2",
        "BMRKR1",
        "BMRKR2",
        "ITTFL",
        "SAFFL",
        "BMEASIFL",
        "BEP01FL",
        "RANDDT",
        "TRTSDTM",
        "TRTEDTM",
        "EOSSTT",
        "EOSDT",
        "EOSDY",
        "DCSREAS",
        "DTHDT",
        "LSTALVDT",
        "study_duration_secs",
        "ASEQ",
        "CMSEQ",
        "CMDECOD",
        "CMCAT",
        "CMCLAS",
        "ATIREL",
        "ASTDTM",
        "AENDTM",
        "ASTDY",
        "AENDY"
      ],
      "rows": 1934,
      "table": true,
      "tojson": true
    },
    {
      "name": "ex_adlb",
      "title": "Simulated CDISC-like data for examples",
      "object": "ex_adlb",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "STUDYID",
        "USUBJID",
        "SUBJID",
        "SITEID",
        "AGE",
        "SEX",
        "RACE",
        "COUNTRY",
        "INVID",
        "ARM",
        "ARMCD",
        "ACTARM",
        "ACTARMCD",
        "STRATA1",
        "STRATA2",
        "BMRKR1",
        "BMRKR2",
        "ITTFL",
        "SAFFL",
        "BMEASIFL",
        "BEP01FL",
        "RANDDT",
        "TRTSDTM",
        "TRTEDTM",
        "EOSSTT",
        "EOSDT",
        "EOSDY",
        "DCSREAS",
        "DTHDT",
        "LSTALVDT",
        "study_duration_secs",
        "ASEQ",
        "LBSEQ",
        "LBTESTCD",
        "LBTEST",
        "LBCAT",
        "LBSTRESC",
        "ASPID",
        "PARAM",
        "PARAMCD",
        "AVAL",
        "AVALU",
        "BASE2",
        "BASE",
        "BASETYPE",
        "ABLFL2",
        "ABLFL",
        "CHG2",
        "PCHG2",
        "CHG",
        "PCHG",
        "DTYPE",
        "ANRIND",
        "ADTM",
        "ADY",
        "ATPTN",
        "AVISIT",
        "AVISITN",
        "LOQFL"
      ],
      "rows": 8400,
      "table": true,
      "tojson": true
    },
    {
      "name": "ex_admh",
      "title": "Simulated CDISC-like data for examples",
      "object": "ex_admh",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "STUDYID",
        "USUBJID",
        "SUBJID",
        "SITEID",
        "AGE",
        "SEX",
        "RACE",
        "COUNTRY",
        "INVID",
        "ARM",
        "ARMCD",
        "ACTARM",
        "ACTARMCD",
        "STRATA1",
        "STRATA2",
        "BMRKR1",
        "BMRKR2",
        "ITTFL",
        "SAFFL",
        "BMEASIFL",
        "BEP01FL",
        "RANDDT",
        "TRTSDTM",
        "TRTEDTM",
        "EOSSTT",
        "EOSDT",
        "EOSDY",
        "DCSREAS",
        "DTHDT",
        "LSTALVDT",
        "study_duration_secs",
        "ASEQ",
        "MHSEQ",
        "MHTERM",
        "MHDECOD",
        "MHBODSYS",
        "MHSOC",
        "ASTDTM",
        "AENDTM",
        "ASTDY",
        "AENDY"
      ],
      "rows": 1934,
      "table": true,
      "tojson": true
    },
    {
      "name": "ex_adqs",
      "title": "Simulated CDISC-like data for examples",
      "object": "ex_adqs",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "STUDYID",
        "USUBJID",
        "SUBJID",
        "SITEID",
        "AGE",
        "SEX",
        "RACE",
        "COUNTRY",
        "INVID",
        "ARM",
        "ARMCD",
        "ACTARM",
        "ACTARMCD",
        "STRATA1",
        "STRATA2",
        "BMRKR1",
        "BMRKR2",
        "ITTFL",
        "SAFFL",
        "BMEASIFL",
        "BEP01FL",
        "RANDDT",
        "TRTSDTM",
        "TRTEDTM",
        "EOSSTT",
        "EOSDT",
        "EOSDY",
        "DCSREAS",
        "DTHDT",
        "LSTALVDT",
        "study_duration_secs",
        "ASEQ",
        "QSSEQ",
        "PARAM",
        "PARAMCD",
        "AVAL",
        "BASE2",
        "BASE",
        "ABLFL2",
        "ABLFL",
        "CHG2",
        "PCHG2",
        "CHG",
        "PCHG",
        "ADTM",
        "ADY",
        "AVISIT",
        "AVISITN",
        "LOQFL"
      ],
      "rows": 14000,
      "table": true,
      "tojson": true
    },
    {
      "name": "ex_adrs",
      "title": "Simulated CDISC-like data for examples",
      "object": "ex_adrs",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "STUDYID",
        "USUBJID",
        "SUBJID",
        "SITEID",
        "AGE",
        "SEX",
        "RACE",
        "COUNTRY",
        "INVID",
        "ARM",
        "ARMCD",
        "ACTARM",
        "ACTARMCD",
        "STRATA1",
        "STRATA2",
        "BMRKR1",
        "BMRKR2",
        "ITTFL",
        "SAFFL",
        "BMEASIFL",
        "BEP01FL",
        "RANDDT",
        "TRTSDTM",
        "TRTEDTM",
        "EOSSTT",
        "EOSDT",
        "EOSDY",
        "DCSREAS",
        "DTHDT",
        "LSTALVDT",
        "study_duration_secs",
        "ASEQ",
        "RSSEQ",
        "PARAM",
        "PARAMCD",
        "AVAL",
        "AVALC",
        "ADTM",
        "ADY",
        "AVISIT",
        "AVISITN"
      ],
      "rows": 2400,
      "table": true,
      "tojson": true
    },
    {
      "name": "ex_adsl",
      "title": "Simulated CDISC-like data for examples",
      "object": "ex_adsl",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "STUDYID",
        "USUBJID",
        "SUBJID",
        "SITEID",
        "AGE",
        "SEX",
        "RACE",
        "COUNTRY",
        "INVID",
        "ARM",
        "ARMCD",
        "ACTARM",
        "ACTARMCD",
        "STRATA1",
        "STRATA2",
        "BMRKR1",
        "BMRKR2",
        "ITTFL",
        "SAFFL",
        "BMEASIFL",
        "BEP01FL",
        "RANDDT",
        "TRTSDTM",
        "TRTEDTM",
        "EOSSTT",
        "EOSDT",
        "EOSDY",
        "DCSREAS",
        "DTHDT",
        "LSTALVDT",
        "study_duration_secs"
      ],
      "rows": 400,
      "table": true,
      "tojson": true
    },
    {
      "name": "ex_adtte",
      "title": "Simulated CDISC-like data for examples",
      "object": "ex_adtte",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "STUDYID",
        "USUBJID",
        "SUBJID",
        "SITEID",
        "AGE",
        "SEX",
        "RACE",
        "COUNTRY",
        "INVID",
        "ARM",
        "ARMCD",
        "ACTARM",
        "ACTARMCD",
        "STRATA1",
        "STRATA2",
        "BMRKR1",
        "BMRKR2",
        "ITTFL",
        "SAFFL",
        "BMEASIFL",
        "BEP01FL",
        "RANDDT",
        "TRTSDTM",
        "TRTEDTM",
        "EOSSTT",
        "EOSDT",
        "EOSDY",
        "DCSREAS",
        "DTHDT",
        "LSTALVDT",
        "study_duration_secs",
        "ASEQ",
        "TTESEQ",
        "PARAM",
        "PARAMCD",
        "AVAL",
        "AVALU",
        "ADTM",
        "ADY",
        "CNSR",
        "EVNTDESC",
        "CNSDTDSC"
      ],
      "rows": 1200,
      "table": true,
      "tojson": true
    },
    {
      "name": "ex_advs",
      "title": "Simulated CDISC-like data for examples",
      "object": "ex_advs",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "STUDYID",
        "USUBJID",
        "SUBJID",
        "SITEID",
        "AGE",
        "SEX",
        "RACE",
        "COUNTRY",
        "INVID",
        "ARM",
        "ARMCD",
        "ACTARM",
        "ACTARMCD",
        "STRATA1",
        "STRATA2",
        "BMRKR1",
        "BMRKR2",
        "ITTFL",
        "SAFFL",
        "BMEASIFL",
        "BEP01FL",
        "RANDDT",
        "TRTSDTM",
        "TRTEDTM",
        "EOSSTT",
        "EOSDT",
        "EOSDY",
        "DCSREAS",
        "DTHDT",
        "LSTALVDT",
        "study_duration_secs",
        "ASEQ",
        "VSSEQ",
        "VSTESTCD",
        "VSTEST",
        "VSCAT",
        "VSSTRESC",
        "ASPID",
        "PARAM",
        "PARAMCD",
        "AVAL",
        "AVALU",
        "BASE2",
        "BASE",
        "BASETYPE",
        "ABLFL2",
        "ABLFL",
        "CHG2",
        "PCHG2",
        "CHG",
        "PCHG",
        "DTYPE",
        "ANRIND",
        "ADTM",
        "ADY",
        "ATPTN",
        "AVISIT",
        "AVISITN",
        "LOQFL"
      ],
      "rows": 16800,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "basic_pagdf",
      "title": "Basic/spoof pagination info data frame",
      "topics": [
        "basic_pagdf"
      ]
    },
    {
      "page": "check_formats",
      "title": "Check if a format or alignment is supported",
      "topics": [
        "check_aligns",
        "check_formats",
        "is_valid_format"
      ]
    },
    {
      "page": "decimal_align",
      "title": "Decimal alignment",
      "topics": [
        "decimal_align"
      ]
    },
    {
      "page": "default_horizontal_sep",
      "title": "Default horizontal separator",
      "topics": [
        "default_horizontal_sep",
        "default_hsep",
        "set_default_hsep"
      ]
    },
    {
      "page": "default_page_number",
      "title": "Default page number format",
      "topics": [
        "default_page_number",
        "set_default_page_number"
      ]
    },
    {
      "page": "divider_height",
      "title": "Divider height",
      "topics": [
        "divider_height",
        "divider_height,ANY-method"
      ]
    },
    {
      "page": "DM",
      "title": "DM data",
      "topics": [
        "DM"
      ]
    },
    {
      "page": "do_forced_paginate",
      "title": "Generic for performing \"forced\" pagination",
      "topics": [
        "do_forced_paginate",
        "do_forced_paginate,ANY-method"
      ]
    },
    {
      "page": "cdisc_data",
      "title": "Simulated CDISC-like data for examples",
      "topics": [
        "ex_adae",
        "ex_adaette",
        "ex_adcm",
        "ex_adlb",
        "ex_admh",
        "ex_adqs",
        "ex_adrs",
        "ex_adsl",
        "ex_adtte",
        "ex_advs"
      ]
    },
    {
      "page": "export_as_pdf",
      "title": "Export as PDF",
      "topics": [
        "export_as_pdf"
      ]
    },
    {
      "page": "export_as_rtf",
      "title": "Export as RTF",
      "topics": [
        "export_as_rtf"
      ]
    },
    {
      "page": "export_as_txt",
      "title": "Export a table-like object to plain (ASCII) text with page breaks",
      "topics": [
        "export_as_txt"
      ]
    },
    {
      "page": "fmt_config",
      "title": "Format configuration",
      "topics": [
        "fmt_config"
      ]
    },
    {
      "page": "font_spec",
      "title": "Font size specification",
      "topics": [
        "font_spec"
      ]
    },
    {
      "page": "format_value",
      "title": "Converts a (possibly compound) value into a string using the 'format' information",
      "topics": [
        "format_value"
      ]
    },
    {
      "page": "ifnotlen0",
      "title": "%||% (if length-0) alternative operator",
      "topics": [
        "%||%",
        "ifnotlen0"
      ]
    },
    {
      "page": "is.wholenumber",
      "title": "Check if a value is a whole number",
      "topics": [
        "is.wholenumber"
      ]
    },
    {
      "page": "lab_name",
      "title": "Label, name, and format accessor generics",
      "topics": [
        "lab_name",
        "obj_align",
        "obj_align,ANY-method",
        "obj_align,fmt_config-method",
        "obj_align<-",
        "obj_align<-,ANY-method",
        "obj_align<-,fmt_config-method",
        "obj_format",
        "obj_format,ANY-method",
        "obj_format,fmt_config-method",
        "obj_format<-",
        "obj_format<-,ANY-method",
        "obj_format<-,fmt_config-method",
        "obj_label",
        "obj_label,ANY-method",
        "obj_label<-",
        "obj_label<-,ANY-method",
        "obj_name",
        "obj_name<-",
        "obj_na_str",
        "obj_na_str,ANY-method",
        "obj_na_str,fmt_config-method",
        "obj_na_str<-",
        "obj_na_str<-,ANY-method",
        "obj_na_str<-,fmt_config-method"
      ]
    },
    {
      "page": "list_formats",
      "title": "List of currently supported formats and vertical alignments",
      "topics": [
        "list_formats",
        "list_valid_aligns",
        "list_valid_format_labels"
      ]
    },
    {
      "page": "title_footer",
      "title": "General title and footer accessors",
      "topics": [
        "all_footers",
        "all_titles",
        "main_footer",
        "main_footer,MatrixPrintForm-method",
        "main_footer<-",
        "main_footer<-,MatrixPrintForm-method",
        "main_title",
        "main_title,MatrixPrintForm-method",
        "main_title<-",
        "main_title<-,MatrixPrintForm-method",
        "page_titles",
        "page_titles,ANY-method",
        "page_titles,MatrixPrintForm-method",
        "page_titles<-",
        "page_titles<-,MatrixPrintForm-method",
        "prov_footer",
        "prov_footer,MatrixPrintForm-method",
        "prov_footer<-",
        "prov_footer<-,MatrixPrintForm-method",
        "subtitles",
        "subtitles,MatrixPrintForm-method",
        "subtitles<-",
        "subtitles<-,MatrixPrintForm-method"
      ]
    },
    {
      "page": "make_row_df",
      "title": "Make row layout summary data frames for use during pagination",
      "topics": [
        "make_row_df",
        "make_row_df,MatrixPrintForm-method"
      ]
    },
    {
      "page": "matrix_form",
      "title": "Transform 'rtable' to a list of matrices which can be used for outputting",
      "topics": [
        "matrix_form",
        "matrix_form,MatrixPrintForm-method"
      ]
    },
    {
      "page": "MatrixPrintForm",
      "title": "Constructor for Matrix Print Form",
      "topics": [
        "MatrixPrintForm"
      ]
    },
    {
      "page": "MatrixPrintForm_class",
      "title": "Class for Matrix Print Form",
      "topics": [
        "MatrixPrintForm-class"
      ]
    },
    {
      "page": "mpf_accessors",
      "title": "Getters and setters for aspects of 'MatrixPrintForm' objects",
      "topics": [
        "mf_aligns",
        "mf_aligns<-",
        "mf_cinfo",
        "mf_cinfo<-",
        "mf_colgap",
        "mf_colgap<-",
        "mf_col_widths",
        "mf_col_widths<-",
        "mf_display",
        "mf_display<-",
        "mf_fontspec",
        "mf_fontspec<-",
        "mf_formats",
        "mf_formats<-",
        "mf_has_rlabels",
        "mf_has_topleft",
        "mf_lgrouping",
        "mf_lgrouping<-",
        "mf_ncol",
        "mf_ncol<-",
        "mf_nlheader",
        "mf_nrheader",
        "mf_nrheader<-",
        "mf_nrow",
        "mf_rfnotes",
        "mf_rfnotes<-",
        "mf_rinfo",
        "mf_rinfo<-",
        "mf_spans",
        "mf_spans<-",
        "mf_strings",
        "mf_strings<-",
        "mpf_has_rlabels",
        "ncol,MatrixPrintForm-method"
      ]
    },
    {
      "page": "mpf_to_rtf",
      "title": "Transform 'MatrixPrintForm' to RTF",
      "topics": [
        "mpf_to_rtf"
      ]
    },
    {
      "page": "nchar_ttype",
      "title": "Calculate font-specific string width",
      "topics": [
        "nchar_ttype"
      ]
    },
    {
      "page": "nlines",
      "title": "Number of lines required to print a value",
      "topics": [
        "nlines",
        "nlines,character-method",
        "nlines,list-method",
        "nlines,NULL-method"
      ]
    },
    {
      "page": "num_rep_cols",
      "title": "Number of repeated columns",
      "topics": [
        "num_rep_cols",
        "num_rep_cols,ANY-method",
        "num_rep_cols,MatrixPrintForm-method",
        "num_rep_cols<-",
        "num_rep_cols<-,ANY-method",
        "num_rep_cols<-,MatrixPrintForm-method"
      ]
    },
    {
      "page": "obj_round_type",
      "title": "Rounding Type",
      "topics": [
        "obj_round_type",
        "obj_round_type,list-method",
        "obj_round_type,MatrixPrintForm-method",
        "obj_round_type<-",
        "obj_round_type<-,list-method",
        "obj_round_type<-,MatrixPrintForm-method"
      ]
    },
    {
      "page": "open_font_dev",
      "title": "Activate font state",
      "topics": [
        "close_font_dev",
        "debug_font_dev",
        "open_font_dev",
        "undebug_font_dev"
      ]
    },
    {
      "page": "padstr",
      "title": "Pad a string and align within string",
      "topics": [
        "padstr"
      ]
    },
    {
      "page": "pag_indices_inner",
      "title": "Find pagination indices from pagination info data frame",
      "topics": [
        "pag_indices_inner"
      ]
    },
    {
      "page": "pagdfrow",
      "title": "Create a row of a pagination data frame",
      "topics": [
        "pagdfrow"
      ]
    },
    {
      "page": "page_lcpp",
      "title": "Determine lines per page (LPP) and characters per page (CPP) based on font and page type",
      "topics": [
        "page_lcpp"
      ]
    },
    {
      "page": "page_types",
      "title": "Supported named page types",
      "topics": [
        "page_dim",
        "page_types"
      ]
    },
    {
      "page": "paginate_indices",
      "title": "Paginate a table-like object for rendering",
      "topics": [
        "diagnose_pagination",
        "paginate",
        "paginate_indices",
        "paginate_to_mpfs",
        "pagination"
      ]
    },
    {
      "page": "pagination_algo",
      "title": "Pagination",
      "topics": [
        "pagination_algo"
      ]
    },
    {
      "page": "basemethods",
      "title": "Print",
      "topics": [
        "print,ANY-method"
      ]
    },
    {
      "page": "propose_column_widths",
      "title": "Propose column widths based on the 'MatrixPrintForm' of an object",
      "topics": [
        "propose_column_widths"
      ]
    },
    {
      "page": "ref_df_row",
      "title": "Create a row for a referential footnote information data frame",
      "topics": [
        "ref_df_row"
      ]
    },
    {
      "page": "spans_to_viscell",
      "title": "Transform a vector of spans (with duplication) into a visibility vector",
      "topics": [
        "spans_to_viscell"
      ]
    },
    {
      "page": "wrap_string_ttype",
      "title": "wrap string given a Truetype font",
      "topics": [
        "split_word_ttype",
        "wrap_string_ttype"
      ]
    },
    {
      "page": "spread_integer",
      "title": "Spread an integer to a given length",
      "topics": [
        "spread_integer"
      ]
    },
    {
      "page": "sprintf_format",
      "title": "Specify text format via a 'sprintf' format string",
      "topics": [
        "sprintf_format"
      ]
    },
    {
      "page": "table_inset",
      "title": "Access or (recursively) set table inset",
      "topics": [
        "table_inset",
        "table_inset,MatrixPrintForm-method",
        "table_inset<-",
        "table_inset<-,MatrixPrintForm-method"
      ]
    },
    {
      "page": "test_matrix_form",
      "title": "Create spoof matrix form from a data frame",
      "topics": [
        "basic_listing_mf",
        "basic_matrix_form",
        "test_matrix_form"
      ]
    },
    {
      "page": "tostring",
      "title": "Transform objects into string representations",
      "topics": [
        "toString",
        "toString,MatrixPrintForm-method"
      ]
    },
    {
      "page": "round_fmt",
      "title": "Round and prepare a value for display",
      "topics": [
        "rounding",
        "round_fmt",
        "valid_round_type"
      ]
    },
    {
      "page": "var_labels",
      "title": "Get label attributes of variables in a 'data.frame'",
      "topics": [
        "var_labels"
      ]
    },
    {
      "page": "var_labels_remove",
      "title": "Remove variable labels of a 'data.frame'",
      "topics": [
        "var_labels_remove"
      ]
    },
    {
      "page": "var_labels-set",
      "title": "Set label attributes of all variables in a 'data.frame'",
      "topics": [
        "var_labels<-"
      ]
    },
    {
      "page": "var_relabel",
      "title": "Copy and change variable labels of a 'data.frame'",
      "topics": [
        "var_relabel"
      ]
    },
    {
      "page": "vert_pag_indices",
      "title": "Find column indices for vertical pagination",
      "topics": [
        "vert_pag_indices"
      ]
    },
    {
      "page": "with_label",
      "title": "Return an object with a label attribute",
      "topics": [
        "with_label"
      ]
    },
    {
      "page": "wrap_string",
      "title": "Wrap a string to a precise width",
      "topics": [
        "wrap_string",
        "wrap_txt"
      ]
    }
  ],
  "_pkglogo": "https://github.com/insightsengineering/formatters/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/insightsengineering/formatters/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "base64enc",
    "checkmate",
    "cli",
    "digest",
    "fastmap",
    "htmltools",
    "lifecycle",
    "rlang",
    "stringi"
  ],
  "_vignettes": [
    {
      "source": "formatters.Rmd",
      "filename": "formatters.html",
      "title": "Introduction to the formatters package",
      "author": "Gabriel Becker",
      "engine": "knitr::rmarkdown",
      "headings": [
        "formatters",
        "Formatting values",
        "Format labels",
        "Table Rendering Framework"
      ],
      "created": "2022-03-25 01:01:03",
      "modified": "2024-01-19 13:15:25",
      "commits": 8
    }
  ],
  "_score": 10.857577469881502,
  "_indexed": false,
  "_nocasepkg": "formatters",
  "_universes": [
    "pharmaverse"
  ],
  "_indexurl": "https://insightsengineering.r-universe.dev/formatters",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.12.9003",
      "date": "2026-05-21T10:44:23.000Z",
      "distro": "noble",
      "commit": "768481800c67ab2e4a8e41f2dab6f307a1997d89",
      "fileid": "187f1b5c605e41973d4762fe3af709b14ca12fd510a976de0226dcec4a5b3483",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26220896817"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.12.9003",
      "date": "2026-05-21T10:44:36.000Z",
      "distro": "noble",
      "commit": "768481800c67ab2e4a8e41f2dab6f307a1997d89",
      "fileid": "ccc87e17aa1a998c79d02b38b60dbd2797993d371cb088efbba860ece8eeb872",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26220896817"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.12.9003",
      "date": "2026-05-21T10:46:05.000Z",
      "commit": "768481800c67ab2e4a8e41f2dab6f307a1997d89",
      "fileid": "dfbcee57b11b925f95ca7fe3905e3feea3777d175f012a2ac5e29420b3fb4d63",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26220896817"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.12.9003",
      "date": "2026-05-21T10:48:31.000Z",
      "commit": "768481800c67ab2e4a8e41f2dab6f307a1997d89",
      "fileid": "672659905bc72acefeabcfee067f9f2dd7808d765c7fcb91b16adbebc08cf336",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26220896817"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.12.9003",
      "date": "2026-05-21T19:51:57.000Z",
      "commit": "768481800c67ab2e4a8e41f2dab6f307a1997d89",
      "fileid": "849bfb1509de92bf6fb1114da98b831740cbdf784dd938a8e66d71d7656089d2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26220896817"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.12.9003",
      "date": "2026-05-21T10:43:17.000Z",
      "commit": "768481800c67ab2e4a8e41f2dab6f307a1997d89",
      "fileid": "cd656c9e980b66a655f39db552172eac193756746176ddde7ca3f9f549684f7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26220896817"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.12.9003",
      "date": "2026-05-21T10:43:11.000Z",
      "commit": "768481800c67ab2e4a8e41f2dab6f307a1997d89",
      "fileid": "e85996750ca9006c78394e94ca8aa5a71fe4ee32259ffb5936a527f5416642a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26220896817"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5.12.9003",
      "date": "2026-05-21T10:43:08.000Z",
      "commit": "768481800c67ab2e4a8e41f2dab6f307a1997d89",
      "fileid": "72fa7478faecf3480567de5a76fae9c0e27110cfc58395e5e405f087fc7f5508",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/26220896817"
    }
  ]
}