Skip to content

ggdiceplot 1.2.0

Pre-release
Pre-release

Choose a tag to compare

@maflot maflot released this 27 Mar 08:11
· 6 commits to main since this release
29afcd1

Bug fixes

note official release will be on cran

Fixed dice not rendering with ggplot2 >= 4.0 — The drawDetails.DiceGrob S3 method was not registered in the package NAMESPACE, so grid never dispatched to the custom drawing code. Neither tiles nor pips were drawn. Fixed by adding S3method(grid::drawDetails, DiceGrob) to NAMESPACE via @exportS3Method.

Fixed invisible pips when fill is not mapped — When the fill aesthetic was not mapped (default NA), pip colour was also set to NA, making pips invisible. Pips now default to black when fill is unmapped.