Skip to content

forestploter

1.2.0Package record

Create a Flexible Forest Plot

8packages dependsuggested by 1
59.8Kdownloads / year
95.2%test coverage
13/13flavors OK

Overview

About

Create a forest plot based on the layout of the data. Confidence intervals in multiple columns by groups can be done easily. The plot is built step by step with the pipe, adding the axis, the labels and a style, editing the plot, inserting/adding text, and much more.

Changes in 1.2.0

Breaking changes

  • sizes is now a multiple of one line of text for both points and summary diamonds, where it used to be char for one and a fraction of the row height for the other. **Summary diamonds are flatter than in 1.1.4**; pass a larger sizes to restore the old look.
  • Point size now follows the theme's base_size instead of the pointsize of whichever device happened to be open. Unchanged at the default base_size.
  • Summary rows in grouped plots grow to the height the group offsets need, rather than always doubling.

New features

  • The plot is now built step by step with the pipe |>. forest() draws the table and the confidence intervals, and the rest is added with set_xaxis() (limits, tick marks, scale and vertical lines), set_labs() (title, x-axis labels, footnote, arrow labels and legend text), scale_sizes() (point sizes from study weights) and set_style(). They must be used before the plot is edited with edit_plot() and the other editing functions.
  • Graphical parameters are set with forest_style(), which takes one gpar() for each part of the plot and is given to the new style argument of forest(). forest_theme() is superseded but keeps working, also with set_style(); ?forest_theme shows how its arguments map onto forest_style().
  • New fit of forest_style() lets the plot use the space it is drawn in: "width" gives the free width to the CI columns and "both" also shares the free height between the rows. The default "none" keeps the natural size of the plot, as before. The autofit argument of print() will be deprecated in favour of it.
  • New scale_sizes() to scale study weights into point sizes, following metafor and meta. Without it, sizes are used as they are (#37).
  • A warning is given when the plot is drawn if sizes falls outside 0.1 to 2, or if grouped confidence intervals are likely to overlap given nudge_y.
  • In the new functions, an argument left out keeps its current value and NULL goes back to the default. NA is only used for a CI column left at its default, as in xlim = list(c(0, 4), NA).

Superseded

Show all changes in 1.2.0Hide the rest of the changes in 1.2.0
  • The arguments of forest() that the functions above replace are still accepted and draw the same plot. Each of them gives a message once per session pointing to its replacement: xlim, ticks_at, ticks_digits, ticks_minor, x_trans and vert_line to set_xaxis(), and arrow_lab, xlab, title and footnote to set_labs(), and theme to style. They will be removed in 2.0.0.
  • forest() now gives a message once per session for an argument in ... that neither fn_ci, fn_summary nor index_args takes, instead of dropping it silently. The argument is still ignored.
  • The package now requires R >= 4.1.0 for the native pipe used in the examples.

Bug fixes

  • Fix automatic ticks_digits dropping decimals on linear axes, which rendered fractional ticks with duplicated labels (e.g. 1, 1.5, 2 as "1", "2", "2").
  • Fix error when gp is passed to forest with summary rows.
  • Error if the length of est is not a multiple of the length of ci_column, instead of silently dropping the extra series.
  • Replace gridtext with gridmicrotex in the vignettes, so the annotation examples are typeset as real LaTeX math.

From NEWS.md in the release

Install

Health

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

none known

Documentation

In release 1.2.0
READMEYes · 525 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 1.2.0Citation fileNoWebsiteYes · pkgdown
Help pages
27 (9 internal)includes a package overview page
Examples that run
88%7 run in a plain check · 1 never run
Exported functions with examples
50%
Documented parameters
99%
Return-value docs
100%
Help pages citing references
0%

Downloads

59.8K
CRAN downloads in the past year
Rank #1,618 · ~164/day · ~5K/mo
Daily download trend is not available in this view yet.
4.8K30 days
14.1K90 days
59.8K1 year
Compare downloads with other packages →
Also on293 r2u3 autocran112 c2d4u

Repository

127Stars
12Forks
5Open issues
1Open PRs
15Releases
216Commits
1Commit identities
rforestplot
216 commits · Last activity 2026-09-30 · +2.4% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
50
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-10-23 · 1092026-10-19 · 127
PracticesBeta

9 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/adayim/forestploter on 2026-10-21.

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-30 · The repository has a site deploy workflow

pkgdown site last built 2026-09-30

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing forestploter adds 6 packages (3 with compiled code, 2.2 MB of source tarballs). Heaviest: rlang 766 KB, cli 629 KB, gridExtra 469 KB.

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

Datasets

People & History

People (1)
Author, Maintainer since 0.0.1 (2022)
Releases (21)

Pick two releases to compare their code metrics.

  • 1.2.0Latest
    record
    2026-09-30 · current release · diff ↗ ·
    added 5 exports
    forest_style, scale_sizes, set_labs, set_style, set_xaxis
  • 1.1.4
    record
    2026-04-27 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.3
    record
    2025-04-13 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.2
    record
    2024-04-13 · diff ↗
  • 1.1.1
    record
    2023-09-23 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.1.0
    record
    2023-04-11 · diff ↗ ·
    added 2 exports
    make_boxplot, make_summary
  • 1.0.0
    record
    2023-02-08 · diff ↗ ·
    added 1 export
    add_grob
  • 0.2.3
    record
    2022-11-21 · diff ↗ ·
    removed 1 export
    add_underline
    added 1 export
    add_border
  • 0.2.2
    record
    2022-10-19 · diff ↗
  • 0.2.1
    record
    2022-09-29 · diff ↗ ·
    added 1 export
    makeci
  • 0.2.0
    record
    2022-09-20 · diff ↗
  • 0.1.9
    record
    2022-08-29 · diff ↗
Show 11 earlier eventsHide 11 earlier events

Package metadata

First published
2022-01-11
Total releases
21 / 4 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
1.8 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("forestploter")
Dayimu, A. (2026). forestploter: Create a Flexible Forest Plot (Version 1.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.forestploter

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

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