htmltools
Tools for creating, manipulating and rendering HTML from R
htmltools spends three releases walking back its own fill-layout opinions
◆Recent moves
- 8mo ago
Test fix for testthat 3.3.0
A one-line test fix for testthat 3.3.0 - the release exists to keep checks green. Nothing user-visible, and the second consecutive release of that kind.
View source ↗ - 8mo ago
capturePlot() examples run only interactively
Example code for capturePlot() is now gated behind an interactive-session check, a concession to the check environment rather than a change to the function itself.
View source ↗ - 2y ago
Fill CSS moves into its own cascade layer
The fill layout system's CSS is now scoped to a named htmltools cascade layer, deliberately lowering its precedence so app authors' own styles win. It is the third consecutive release walking back how forcefully fill styling is applied.
View source ↗ - 2y ago
save_html() becomes generic; css() passes CSS variables through
Two real additions: save_html() becomes an S3 generic so classes can control how they serialize to a file, and css() leaves custom properties untouched, making CSS variables settable inline. Fill items also stop forcing full width, continuing the correction series.
View source ↗ - 2y ago
tagQuery() no longer errors traversing NULL on r-devel
A single compatibility fix for an r-devel behavior change in tagQuery() traversal. Upkeep, not direction.
View source ↗ - 3y ago
Fillable containers stop forcing overflow, respect intrinsic size
The first correction in the fill series: fillable containers no longer set overflow automatically, and non-fill items inside them respect their intrinsic size instead of stretching. htmlDependency() objects also render properly inside knitr chunks now instead of printing their structure.
View source ↗