gtxlsx: Write 'gt' and HTML Tables into 'openxlsx2' Workbooks

Turns a 'gt' table into a range of cells in an 'openxlsx2' workbook, keeping the heading, column spanners, row groups, stub, summary rows, footnotes and the styling set through 'gt'. Numbers stay numbers wherever a spreadsheet number format can reproduce what 'gt' shows. A second entry point does the same for a plain HTML table, so output from other table packages can be written to a worksheet as well; that path needs nothing beyond 'openxlsx2'.

Version: 0.4.0
Depends: R (≥ 3.6.0)
Imports: grDevices, openxlsx2 (≥ 1.0), utils
Suggests: gt (≥ 0.8.0), lt (≥ 0.2), markdown, testthat (≥ 3.0.0)
Published: 2026-10-08
DOI: 10.32614/CRAN.package.gtxlsx (may not be active yet)
Author: Jan Marvin Garbuszus [aut, cre]
Maintainer: Jan Marvin Garbuszus <jan.garbuszus at ruhr-uni-bochum.de>
BugReports: https://github.com/JanMarvin/gtxlsx/issues
License: MIT + file LICENSE
URL: https://janmarvin.github.io/gtxlsx/, https://github.com/JanMarvin/gtxlsx
NeedsCompilation: no
Language: en-US
Materials: NEWS
CRAN checks: gtxlsx results

Documentation:

Reference manual: gtxlsx.html , gtxlsx.pdf

Downloads:

Package source: gtxlsx_0.4.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=gtxlsx to link to this page.