Skip to content

forestplot

3.2.0Package record

Advanced Forest Plot Using 'grid' Graphics

16packages dependsuggested by 1
182.8Kdownloads / year
77.0%test coverage
8/13flavors OK

Overview

About

Allows the creation of forest plots with advanced features, such as multiple confidence intervals per row, customizable fonts for individual text elements, and flexible confidence interval drawing. It also supports mixing text with mathematical expressions. The package extends the application of forest plots beyond traditional meta-analyses, offering a more general version of the original 'rmeta' package’s forestplot() function. It relies heavily on the 'grid' package for rendering the plots.

Changes in 3.2.0
  • Added input validation: error if a mean lies outside its confidence limits or if a lower bound exceeds its upper bound. Prevents missing boxes and internal Inf/logical errors when working with negative estimates.
  • New fp_span() helper (and span attribute) allows a label to occupy multiple text columns. Useful for centering sub‑headers such as "Events / N" beneath several adjacent columns.
  • New fp_extract_labeltext() helper simplifies label column extraction for both grouped and ungrouped data, with optional column renaming and NA replacement.
  • New selector-style post-processing helpers fp_align_where(), fp_txt_where(), and fp_span_where() allow row/column/cell targeted alignment, text styling, and spanning directly on gforge_forestplot objects.
Show all changes in 3.2.0Hide the rest of the changes in 3.2.0
  • New fp_set_summary() helper allows setting summary rows on existing gforge_forestplot objects using selector-style predicates in a pipe flow.
  • Internal label handling now tolerates grid grobs and other non-atomic objects in labeltext. Previously such values could trigger coercion errors during preparation; these are now treated as valid content.
  • New fp_set_favors() helper allows setting the "favors" text on existing gforge_forestplot objects in a pipe flow.

From NEWS.md in the release

Install

Health

CRAN checks
5NOTE8OK
Check messages
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names:
  forestplot/tests/test_visual_w_cochrane_mdata.R (.Names: 1)
  forestplot/tests/vtest_from_vignette.R (.Names: 1)
'.Names' should be changed to 'names'.

CRAN check page ↗

Slowest check: 3.0 min · r-oldrel-macos-x86_64
Status changes
  • NOTE8 OK, 5 NOTENow
  • NOTE11 OK, 2 NOTE2026-07-16
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-07
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 3.2.0
READMEYes · 208 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 3.2.0Citation fileNoWebsiteYes
Help pages
54 (22 internal)includes a package overview page
Examples that run
100%20 run in a plain check
Exported functions with examples
76%
Documented parameters
94%
Return-value docs
100%
Help pages citing references
0%

Downloads

182.8K
CRAN downloads in the past year
Rank #1,023 · ~501/day · ~15.2K/mo
Daily download trend is not available in this view yet.
10.9K30 days
37.9K90 days
182.8K1 year
Compare downloads with other packages →
Also on722 r2u7 autocran4.8K conda_forge137 c2d4u

Repository

52Stars
17Forks
2Open issues
0Open PRs
2Releases
227Commits
4Commit identities
forestplotcranr
227 commits · Last activity 2026-03-03 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
5
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-10-23 · 472026-07-07 · 52
PracticesBeta

4 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/gforge/forestplot on 2026-10-21.

Continuous integration (1)
Travis CI (config file)
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)

Installing forestplot adds 3 packages (2 with compiled code, 297 KB of source tarballs). Heaviest: checkmate 247 KB, backports 29 KB, abind 21 KB.

Depends (4)
R >= 4.1.0gridcheckmateabind
Imports (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
16direct
3indirect
Depends 3 · Imports 13
Suggested by 1
Show all 17 packagesHide all 17 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (2)
Author, Maintainer since 1.0 (2014)
Author, Contributor
Releases (22)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 3.2.0Latest
    record
    2026-03-04 · current release · diff ↗ ·
    added 8 exports
    fp_align_where, fp_extract_labels, fp_extract_labeltext, fp_set_favors, fp_set_summary, fp_span, fp_span_where, fp_txt_where
  • 3.1.7
    record
    2025-06-12 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 3.1.6
    record
    2024-11-19 · diff ↗
  • 3.1.5
    record
    2024-10-11 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 3.1.3
    record
    2023-08-26 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 3.1.1
    record
    2022-12-06 · diff ↗
  • 3.1.0
    record
    2022-10-10 · diff ↗ ·
    added 1 export
    fp_add_lines
  • 3.0.0
    record
    2022-09-29 · diff ↗ ·
    added 13 exports
    fp_add_header, fp_align_center, fp_align_left, fp_align_right, fp_append_row, fp_decorate_graph, fp_insert_row, fp_set_style, fp_set_zebra_style, fp_txt_bold, fp_txt_gp, fp_txt_italic, fp_txt_plain
  • R
    R 4.2.0 released · 2022-04-22
  • 2.0.1
    record
    2021-09-03 · diff ↗
  • 2.0.0
    record
    2021-08-10 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
Show 19 earlier eventsHide 19 earlier events

Package metadata

First published
2014-12-30
Total releases
22 / 12 yrs
License
GPL-2 OSI
Minimum R
≥ 4.1.0
Bundled data
3.1 KB / 3 files
Download size
1.9 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("forestplot")
Gordon, M., & Lumley, T. (2026). forestplot: Advanced Forest Plot Using 'grid' Graphics (Version 3.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.forestplot

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

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