gridpattern
grid Pattern Grobs
gridpattern keeps widening its catalogue, and the newest patterns finally use the device's own line rendering.
◆Recent moves
- 1mo ago
Hatch and line patterns added; wave gains ten new types
The line pattern is the substantive addition — it draws stroked lines using the device's native rendering rather than filling bands with colour, which makes all of R's built-in linetype values usable inside a pattern fill for the first time. A hatch pattern and ten new wave types arrive alongside it. The indented wave type also widens its stroke to match the new types, a breaking visual change users compensate for by reducing density.
View source ↗ - 1y ago
aRtsy generative patterns available as fills
Adds an aRtsy pattern type backed by the aRtsy package, bringing generative art output into the pattern-fill system. Consistent with the package's approach of wrapping external generators rather than reimplementing them.
View source ↗ - 2y ago
units parameter reaches weave; polygon tiling honours it
Extends the units parameter to grid.pattern_weave() and fixes polygon tiling to respect it when set away from the snpc default, continuing the propagation begun in v1.2.1. Also rotates several placeholder image names to a new hosting service and drops those whose sources disappeared.
View source ↗ - 2y ago
patternFill() returns a grid pattern object; patterns can nest
Adds patternFill() wrapping patternGrob() to produce a grid::pattern() fill object, and lets the geometry patterns take pattern fills themselves, so patterns can nest. The units parameter is introduced here for spacing and offsets, the change that later releases spend their time propagating. The placeholder default also moves from kitten to bear after the former's host became unreliable.
View source ↗ - 2y ago
Text pattern example skipped on devices lacking the glyphs
Skips the text pattern example on graphics devices such as pdf() that cannot render the playing-card Unicode glyphs it uses. A documentation-example fix with no effect on the package's behaviour.
View source ↗ - 2y ago
reset_image_cache() added; R 4.1 feature detection offered standalone
Adds reset_image_cache() to clear the cache backing the image and placeholder patterns, and republishes guess_has_R4.1_features() as a standalone MIT-0 file other package authors can copy in. The standalone release is the more interesting move — a maintenance helper generalised into something the wider ecosystem can reuse.
View source ↗