Skip to content

fillpattern 1.0.3

Latest

Choose a tag to compare

@dansmith01 dansmith01 released this 13 Feb 16:35

New Features

  • Hex Logo: Added an official hex logo to the package.

Dependency Changes

  • R Version Requirement: Bumped the minimum required R version from 4.1.0 to 4.2.0 to ensure compatibility with recent graphics engine features.

Bug Fixes

  • Size Parsing: Fixed a bug where size modifier strings ending in a colon (e.g., "brick_8mm:") were parsed incorrectly, applying the width dimension to the height.
  • Unit Validation: modify_size() now gracefully handles and reports invalid unit strings instead of crashing, and includes support for standard units like "in", "inches", and "cm".
  • Background Color: Fixed an issue in scale_fill_pattern() where the background color was not correctly calculated from the aesthetic mapping when a foreground color was manually specified.

Testing & Development

  • Code Coverage: Added a comprehensive test suite using testthat, achieving 100% code coverage.
  • Badges: Added a code coverage badge to the README.