{
  "_id": "6a106e25acfb0bcc41cab0e9",
  "Package": "formatters",
  "Title": "ASCII Formatting for Values and Tables",
  "Version": "0.5.12",
  "Date": "2025-12-05",
  "Authors@R": "c(\nperson(\"Gabriel\", \"Becker\", , \"gabembecker@gmail.com\", role = \"aut\",\ncomment = \"original creator of the package\"),\nperson(\"Adrian\", \"Waddell\", , \"adrian.waddell@gene.com\", role = \"aut\"),\nperson(\"Davide\", \"Garolini\", , \"davide.garolini@roche.com\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-1445-1369\")),\nperson(\"Emily\", \"de la Rua\", , \"emily.de_la_rua@contractors.roche.com\", role = \"aut\",\ncomment = c(ORCID = \"0009-0000-8738-5561\")),\nperson(\"Abinaya\", \"Yogasekaram\", , \"abinaya.yogasekaram@contractors.roche.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://insightsengineering.r-universe.dev",
  "Date/Publication": "2025-12-08 10:54:35 UTC",
  "RemoteUrl": "https://github.com/insightsengineering/formatters",
  "RemoteRef": "v0.5.12",
  "RemoteSha": "d581c8a1e0c01740f3be96a803a61c1cbe66fb05",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-07 08:12:18 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": "8309e4b92edfca943342356143d382b5",
  "_user": "insightsengineering",
  "_type": "src",
  "_file": "formatters_0.5.12.tar.gz",
  "_fileid": "a1458d3d3c041935ffdf69ac93985ca6a15dc5e4969bd3e60b95e350c1d84a3f",
  "_filesize": 2779301,
  "_sha256": "a1458d3d3c041935ffdf69ac93985ca6a15dc5e4969bd3e60b95e350c1d84a3f",
  "_created": "2026-05-07T08:12:18.000Z",
  "_published": "2026-05-22T14:54:29.021Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77404716580,
      "time": 166,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6850133489"
    },
    {
      "job": 77404716478,
      "time": 151,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6850127068"
    },
    {
      "job": 77404716470,
      "time": 106,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6850113825"
    },
    {
      "job": 77404716190,
      "time": 115,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6850116653"
    },
    {
      "job": 77404715853,
      "time": 208,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6850081812"
    },
    {
      "job": 77404715506,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7163516335"
    },
    {
      "job": 77404716421,
      "time": 118,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6850117197"
    },
    {
      "job": 77404716725,
      "time": 104,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6850113337"
    },
    {
      "job": 77404716189,
      "time": 141,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6850118124"
    }
  ],
  "_buildurl": "https://github.com/r-universe/insightsengineering/actions/runs/25483946667",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/insightsengineering/formatters",
  "_commit": {
    "id": "d581c8a1e0c01740f3be96a803a61c1cbe66fb05",
    "author": "Emily de la Rua <emily.de_la_rua@contractors.roche.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Release v0.5.12 [skip vbump] (#367)\n\nCloses #365\n\nSigned-off-by: Joe Zhu <sha.joe.zhu@gmail.com>\nCo-authored-by: Joe Zhu <sha.joe.zhu@gmail.com>",
    "time": 1765191275
  },
  "_maintainer": {
    "name": "Joe Zhu",
    "email": "joe.zhu@roche.com",
    "login": "shajoezhu",
    "orcid": "0000-0001-7566-2787",
    "twitter": "@shajoezhu",
    "uuid": 3692541
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 2.10",
      "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.0.9",
      "role": "Suggests"
    },
    {
      "package": "gt",
      "version": ">= 0.10.0",
      "role": "Suggests"
    },
    {
      "package": "huxtable",
      "version": ">= 2.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "version": ">= 1.50",
      "role": "Suggests"
    },
    {
      "package": "processx",
      "version": ">= 3.8.4",
      "role": "Suggests"
    },
    {
      "package": "r2rtf",
      "version": ">= 0.3.2",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "version": ">= 2.28",
      "role": "Suggests"
    },
    {
      "package": "sass",
      "version": ">= 0.4.9",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.2.1.1",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "version": ">= 2.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "insightsengineering",
  "_selfowned": true,
  "_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": 1
    }
  ],
  "_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": 66,
      "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": "averissimo",
      "count": 4,
      "uuid": 211358
    },
    {
      "user": "llrs-roche",
      "count": 4,
      "uuid": 185338939
    },
    {
      "user": "m7pr",
      "count": 4,
      "uuid": 133694481
    },
    {
      "user": "vedhav",
      "count": 2,
      "uuid": 49812166
    },
    {
      "user": "arkadiuszbeer",
      "count": 2,
      "uuid": 86738093
    },
    {
      "user": "clarkliming",
      "count": 2,
      "uuid": 36079400
    },
    {
      "user": "denisovan31415",
      "count": 2,
      "uuid": 12874196
    },
    {
      "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": 80070020,
    "type": "organization",
    "name": "Roche/Genentech - Insights Engineering",
    "description": "Roche/Genentech - Insights Engineering"
  },
  "_downloads": {
    "count": 16528,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/formatters"
  },
  "_devurl": "https://github.com/insightsengineering/formatters",
  "_pkgdown": "https://insightsengineering.github.io/formatters/",
  "_searchresults": 74,
  "_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_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_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/v0.5.12/man/figures/logo.svg",
  "_readme": "https://github.com/insightsengineering/formatters/raw/v0.5.12/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": 11.004395265050189,
  "_indexed": true,
  "_nocasepkg": "formatters",
  "_universes": [
    "insightsengineering",
    "shajoezhu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.12",
      "date": "2026-05-07T08:14:49.000Z",
      "distro": "noble",
      "commit": "d581c8a1e0c01740f3be96a803a61c1cbe66fb05",
      "fileid": "7f1ffd0b559b01ade0ca4d953f7c97d43edbe8599d4c5ee13b97216f20af5ed1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/insightsengineering/actions/runs/25483946667"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.12",
      "date": "2026-05-07T08:14:33.000Z",
      "distro": "noble",
      "commit": "d581c8a1e0c01740f3be96a803a61c1cbe66fb05",
      "fileid": "85c72e4e7f1df91c67ea7155bc768f2a171ebff76c99c4e03adb30218484085c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/insightsengineering/actions/runs/25483946667"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.12",
      "date": "2026-05-07T08:14:05.000Z",
      "commit": "d581c8a1e0c01740f3be96a803a61c1cbe66fb05",
      "fileid": "90719f230ca0d4272932c0f4a7799aa5bd54648afa0499e94b730e0871f86a65",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/insightsengineering/actions/runs/25483946667"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.12",
      "date": "2026-05-07T08:14:07.000Z",
      "commit": "d581c8a1e0c01740f3be96a803a61c1cbe66fb05",
      "fileid": "dd3f9d01d988a33cb6633fe571e1239dfef99c3918adeedbbec430911ced8b1e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/insightsengineering/actions/runs/25483946667"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.12",
      "date": "2026-05-07T08:13:50.000Z",
      "commit": "d581c8a1e0c01740f3be96a803a61c1cbe66fb05",
      "fileid": "c1618c866208a89f598ff6a1d84cb54253cf1378578b4f5d4a4fff4b7c4c1f8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/insightsengineering/actions/runs/25483946667"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.12",
      "date": "2026-05-07T08:13:35.000Z",
      "commit": "d581c8a1e0c01740f3be96a803a61c1cbe66fb05",
      "fileid": "1db9ebe9405c7209fadc1ce7216115b167bbd6e730999b3b858d290c70075e1c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/insightsengineering/actions/runs/25483946667"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5.12",
      "date": "2026-05-07T08:13:43.000Z",
      "commit": "d581c8a1e0c01740f3be96a803a61c1cbe66fb05",
      "fileid": "95d436442bf3232178377791c67249b498e3db5f732bcd81d737092a730a06ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/insightsengineering/actions/runs/25483946667"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.12",
      "date": "2026-05-22T14:54:11.000Z",
      "commit": "d581c8a1e0c01740f3be96a803a61c1cbe66fb05",
      "fileid": "139d41e9aa524cdad2f172aef467da43a4f7aefa52607a30514daf52aa35bc96",
      "status": "success",
      "buildurl": "https://github.com/r-universe/insightsengineering/actions/runs/25483946667"
    }
  ]
}