Skip to content

tabxplor

2.0.1Package record

User-Friendly Tables with Color Helpers for Data Exploration

1packages depend
8.1Kdownloads / year
75.7%test coverage
13/13flavors OK

Overview

About

Make it easy to deal with multiple cross-tables in data exploration, by creating them, manipulating them, and adding color helpers to highlight deviations (differences from totals, comparisons between lines or columns, contributions to variance, odds ratios, etc.) and significance (confidence intervals, stars, etc.). Create the same kind of tables for regression models, with a framework to compare model effects with their crude/observed counterpart systematically. All functions render data frames which can be easily manipulated. All tables can be exported with formats and colors to 'Excel', html and markdown.

Changes in 2.0.1

New features

  • **The footer under a table is a template you can edit.** Everything printed there — the weight line, the colour legend, the significance-stars key — is a <placeholder> in the table's subtext, and everything you write is a line: the order of the lines is the order of the footer. get_subtext() shows it, set_subtext() replaces it, and dropping <legend> drops the legend, in the console too. set_legend_words() re-states what that legend calls a measure, for a table grading the same ladder on another quantity. See ?tabxplor-footer.
  • **A note, or a second table, under a table.** set_footer_tabs() takes a tabxplor_tab and renders it as a table, or any other data.frame and renders it as a grey note; tab_note() sets that note's headers, alignment and footnote.
  • **Data bars.** set_bars() draws a bar chart inside the table — in html and in Excel — scaled to the column's own largest data cell, or to a ceiling you state.
Show all changes in 2.0.1Hide the rest of the changes in 2.0.1
  • **options(tabxplor.print = "md").** A bare table prints as markdown instead of in the console or the Viewer, which is what a Quarto or R Markdown notebook knitted without pandoc needs.
  • **A wide html table scrolls instead of widening the page**, in a document, on a pkgdown site, in the Viewer and in jamovi alike. Its title stays outside the box, and printing lifts the clip.
  • **tab_html(cells = ) — write back what get_data = TRUE reads.** Hand back the same data.frame with some cells edited and each edit is written verbatim into its <td>, keeping the cell's colours, alignment and tooltip. This is the supported way to splice an input box, a link or a badge into a tabxplor table.
  • **The jamovi module is now built for macOS (Apple silicon and Intel), Windows and Linux**, on both jamovi lines, and published as downloadable files. It is installed by sideloading, not from jamovi's library: the procedure and the links are in the README and on the package website.

Minor improvements and fixes

  • **Two bugs with weighted data, both silent.** A variable whose name is not syntactic (Age group, Household weight) broke every formula built from names: with design_effect = TRUE the design-based tests returned NA with no message, and tab_reg(wt = ) stopped on a parse error.
  • **A subtext written by a user is escaped in html.** It is now shown, never executed — which matters for a table shared inside jamovi, where an html result can run scripts.
  • **Significance stars are now .05 / .01 / .001**, the discipline's usual scale, instead of .10 / .05 / .01. At the default confidence level a greyed cell can therefore no longer carry a star.
  • **display = "odds"** prints the odds behind a percentage — the middle rung between a percentage and an odds ratio.
  • **Options set in .Rprofile are no longer overwritten when the package loads.** tabxplor.print and tabxplor.theme set before library(tabxplor) now hold.
  • A regression's multiplicative count measure is named RoM (ratio of means) rather than IRR, so a column is headed Model_RoM; measure = "IRR" is still accepted.
  • The weight footer no longer mentions intervals and tests that are not in the table: a weighted table showing none of them prints only "Weighted by <wt>."
  • **A col_var span header is wrapped and compacted like every other header.** It was the one header no rule owned, so a long variable name widened the whole block. One visible consequence: its spaces are now narrow no-break spaces in html, as every other header's already were — code that matches a span's text literally has to allow for that.
  • A host table and its subordinate share one footer, instead of printing the colour legend twice in html and not at all in the console.
  • French translations: every multiplicative comparison that is not an odds ratio now reads *ratio*, and six mistranslated strings that were printing in English are fixed.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 14.2 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.0.1
READMEYes · 891 wordsVignettesYes · 5 · evaluation depends on the environmentNEWSYes · 67% structured · mentions 2.0.1Citation fileNoWebsiteYes · pkgdown

The repository also keeps web-only articles.

Help pages
124 (69 internal)includes a package overview page
Examples that run
56%27 run in a plain check (1 of them under a condition) · 21 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
73%
Documented parameters
95%
Return-value docs
100%
Help pages citing references
1%

Downloads

8.1K
CRAN downloads in the past year
Rank #5,544 · ~22/day · ~677/mo
Daily download trend is not available in this view yet.
73830 days
1.5K90 days
8.1K1 year
Compare downloads with other packages →
Also on94 r2u5 autocran

Repository

2Stars
1Forks
0Open issues
0Open PRs
6Releases
432Commits
1Commit identities
r
License file reads as GPL-3.0 · 432 commits · Last activity 2026-09-17 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
83%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-04-15 · 22026-07-07 · 2
PracticesBeta

11 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/bricenocenti/tabxplor on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-17 · The repository has a site deploy workflow

pkgdown site last built 2026-09-17, before release 2.0.1 (2026-09-18)

Coverage (2)
Coverage reporting (Codecov).covrignore
Reproducibility and dev environment (1)
data-raw/
Show all practicesHide 2 practices
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-04-10
    Seen in the repository: .claude, .claude/skills, CLAUDE.md
    Named in .Rbuildignore: .claude, CLAUDE.md
    Named in .gitignore: .claude
    Pull request it wrote: opened by a project member
    Commits: at least 36 crediting it in the message
Models named in its commits
  • Claude Opus 4.831 commits · Jul 2026
  • Claude Opus 55 commits · Aug 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
36 external dependencies (excludes base and recommended)

Installing tabxplor adds 29 packages (17 with compiled code, 30 MB of source tarballs). Heaviest: stringi 11 MB, data.table 5.7 MB, survey 2.3 MB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (1)
Author, Maintainer since 1.0.1 (2021)
Releases (13)

Pick two releases to compare their code metrics.

  • 2.0.1Latest
    record
    2026-09-18 · current release · diff ↗ ·
    added 11 exports
    get_bars, get_footer_tabs, get_legend_words, get_subtext, set_bars, set_footer_tabs, set_legend_words, set_subtext, tab_footer_text, tab_note, tab_pipe
  • 2.0.0
    record
    2026-08-29 · diff ↗ ·
    removed 3 exports
    %>%, get_ci_type, set_ci_type
    added 42 exports
    fmt_attr<-, conf_level_to_z, fmt_attr, forest_plot, get_caption, get_ci_method, get_col_group, get_color_bg, get_color_signif, get_model_family, get_pct_type, get_pvalue, get_row_kind, get_scale, get_test, gss_cat_data_formatting, is_lvl, jmvtabreg, new_lvl, reg_check_plots, reg_formulas, reg_measures, set_caption, set_color_palette, set_color_signif, set_model_family, set_pct_type, set_pvalue, set_ref_type, set_row_kind and 12 more
  • R
    R 4.6.0 released · 2026-04-24
  • 1.3.1
    record
    2025-09-27 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.3.0
    record
    2025-03-09 · diff ↗ ·
    removed 1 export
    tab_xl_confidential
    added 1 export
    tab_compact
  • 1.2.1
    record
    2024-10-04 · diff ↗ ·
    added 2 exports
    kable_tabxplor_style, score_from_lv1
  • 1.2.0
    record
    2024-08-30 · diff ↗ ·
    removed 1 export
    get_diff_type
    added 6 exports
    get_ref_type, jmvtab, set_display, tab_get_wrapped_dimensions, tab_plot, tab_wrap_text
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.3
    record
    2024-03-08 · diff ↗
  • 1.1.2
    record
    2024-02-08 · diff ↗
  • unarchivedReturned to CRAN
    2024-01-22
  • 1.1.1
    record
    2024-01-22 · diff ↗ ·
    added 3 exports
    complete_partial_totals, fct_recode_helper, tab_xl_confidential
  • R
    R 4.3.0 released · 2023-04-21
  • archivedRemoved from CRAN
    2022-09-06
    check problems were not corrected in time
  • 1.1.0
    record
    2022-06-16 · diff ↗ ·
    removed 1 export
    tab_core
    added 15 exports
    as_refcol, as_refrow, get_ci_type, get_col_var, get_color, get_comp_all, get_diff_type, is_refcol, is_refrow, set_ci_type, set_col_var, set_color, set_comp_all, set_diff_type, tab_num
Show 5 earlier eventsHide 5 earlier events
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.3
    record
    2022-04-09 · diff ↗ ·
    added 3 exports
    fmt_get_color_code, get_digits, set_digits
  • 1.0.2
    record
    2021-10-21 · diff ↗ ·
    added 1 export
    tab_plain
  • 1.0.1
    record
    2021-09-14
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-09-14
Total releases
13 / 5 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.1.0
Bundled data
45 KB / 4 files
Download size
3.2 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("tabxplor")
Nocenti, B. (2026). tabxplor: User-Friendly Tables with Color Helpers for Data Exploration (Version 2.0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.tabxplor

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for tabxplor version 2.0.1 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy