HTML Widgets for R
Overview
A framework for creating HTML widgets that render in various contexts including the R console, 'R Markdown' documents, and 'Shiny' web applications.
This release reverts the change made in v1.6.3 (to no longer recurse into list-like objects when searching for JavaScript strings wrapped in JS()). Although that change helped prevent infinite recursion in some cases, it ultimately broke too many existing widgets that relied on the previous behavior. If you encounter infinite recursion errors ("C stack usage is too close to the limit"), the best strategy is to coerce the offending items to a character string. (#478)
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 13 (1 internal)includes a package overview page
- Examples that run
- 50%2 run in a plain check · 2 never run
- Exported functions with examples
- 33%
- Documented parameters
- 99%
- Return-value docs
- 50%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 79%
- Median days to close, 50 most recently updated closed issues
- 8
- Median days to close, 50 most recently updated closed PRs
- 6
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
5 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/ramnathv/htmlwidgets on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2024-05-04
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-04-21Commits: at least 2 crediting it in the message
- Claude CodePull requests: 2 from outside contributors, first on 2026-04-21, 2 from forks
- Claude Opus 4.62 commits · Apr 2026
Dependencies
Installing htmlwidgets adds 25 packages (14 with compiled code, 18 MB of source tarballs). Heaviest: bslib 5.6 MB, sass 2.9 MB, rmarkdown 2.1 MB.
Show the 48 most downloaded dependentsHide the 48 most downloaded dependents
and 278 more dependents and 92 packages that suggest it on CRAN ↗
Code & Tests
People & History
Previously maintained by Joe Cheng (1.3 to 1.5.1) and JJ Allaire (0.3.2 to 1.2).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.6.4Latest
- 1.6.32023-11-22 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.6.22023-03-17 · diff ↗
- 1.6.12023-01-07 · diff ↗
- 1.6.02022-12-15 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.5.42021-09-08 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.5.3
- 1.5.22020-10-04 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.5.12019-10-08 · diff ↗
Show 17 earlier eventsHide 17 earlier events
- 1.52019-10-04 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 1.32018-09-30 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 1.22018-04-19 · diff ↗
- 1.02018-01-20 · diff ↗
- 0.92017-07-10 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 0.8
- 0.7
- RR 3.3.0 released · 2016-05-03
- 0.62016-02-25 · diff ↗ ·
added 4 exports
appendContent, onRender, onStaticRenderComplete, prependContent - 0.52015-06-21 · diff ↗
- 0.42015-05-18 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 0.3.22014-12-09
- RR 3.1.0 released · 2014-04-10
Package metadata
- First published
- 2014-12-09
- Total releases
- 20 / 12 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 849 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("htmlwidgets")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.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.