Skip to content

gtable

0.3.6

Arrange 'Grobs' in Tables

85packages dependsuggested by 29
18Mdownloads / year
62.8%test coverage
13/13flavors OK

Overview

About

Tools to make it easier to work with "tables" of 'grobs'. The 'gtable' package defines a 'gtable' grob class that specifies a grid along with a list of grobs and their placement in the grid. Further the package makes it easy to manipulate and combine 'gtable' objects so that complex compositions can be built up sequentially.

Changes in 0.3.6
  • Added as.gtable() S3 method (#97).
  • Add clip argument to gtable_col() and gtable_row() (#56)
  • Indexing a gtable with NA will now insert a zero-dimension row/column at the position of the NA-index (#13)

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • ERROR12 OK, 1 ERROR2026-07-29
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3.6
READMEYes · 235 wordsVignettesYes · 1 · staticNEWSYes · 100% structured · mentions 0.3.6Citation fileNoWebsiteYes · pkgdown
Help pages
20 (1 internal)includes a package overview page
Examples that run
100%13 run in a plain check
Exported functions with examples
71%
Documented parameters
98%
Return-value docs
76%
Help pages citing references
0%

Downloads

18M
CRAN downloads in the past year
Rank #22 · ~49.2K/day · ~1.5M/mo
Daily download trend is not available in this view yet.
1.4M30 days
4.3M90 days
18M1 year
Compare downloads with other packages →
Also on169.3K r2u221 autocran1.7M conda_forge24K c2d4u

Repository

r-lib/gtable ↗Organization: r-lib
94Stars
19Forks
2Open issues
2Open PRs
8Releases
227Commits
11Commit identities
r
227 commits · Last activity 2025-04-25 · 0% stars, 30d · Default branch at 0.3.6.9000, ahead of CRAN 0.3.6 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
72%
Median days to close, 50 most recently updated closed issues
937
Median days to close, 50 most recently updated closed PRs
4

Stars over time

2025-05-09 · 932026-07-07 · 94
PracticesBeta

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

Checks run against github.com/r-lib/gtable 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

Governance and community (1)
Code of conduct
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2025-04-25 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 2 practices
CRAN release process (2)
cran-comments.mdrevdep/
Lint, format, editor (3)
AirVS CodeRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

Installing gtable adds 4 packages (3 with compiled code, 1.6 MB of source tarballs). Heaviest: rlang 766 KB, cli 629 KB, glue 127 KB.

Depends (1)
R >= 4.0
Imports (6)
LinkingTo (0)
none
Enhances (0)
none

People & History

People (3)
Author, Maintainer since 0.3.2 (2023) · added in 0.3.0
Copyright holder, Funder · added in 0.3.2

Previously maintained by Hadley Wickham (0.1.1 to 0.3.1).

Listed in earlier versions (1)
RStudio
no longer listed · 0.3.0 to 0.3.1
Releases (12)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • R
    R 3.0.0 released · 2013-04-03
  • 2.15.3Latest
    record
    2012-12-04 · current release · diff ↗
  • 2.15.2
    record
    2012-09-03 · diff ↗ ·
    added 18 exports
    gtable, gtable_add_col_space, gtable_add_cols, gtable_add_grob, gtable_add_padding, gtable_add_row_space, gtable_add_rows, gtable_col, gtable_col_spacer, gtable_filter, gtable_height, gtable_matrix, gtable_row, gtable_row_spacer, gtable_show_layout, gtable_trim, gtable_width, is.gtable
Show 11 earlier eventsHide 11 earlier events

Package metadata

First published
2012-09-03
Total releases
12 / 14 yrs
License
MIT + file LICENSE OSI · relicensed from GPL-2 in 0.3.1
Minimum R
≥ 4.0
Download size
145 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("gtable")
Pedersen, T. L., Posit Software, PBC, & Wickham, H. (2024). gtable: Arrange 'Grobs' in Tables (Version 0.3.6) [Computer software]. https://doi.org/10.32614/CRAN.package.gtable

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 gtable version 0.3.6 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, 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