Skip to content

v0.0.2

Compare
Choose a tag to compare
@gadenbuie gadenbuie released this 22 Dec 17:41
· 6 commits to main since this release

ggcheck 0.0.2 (2021-12-22)

New Features

  • New functions for checking plot labels (#22)
    • get_labels() lists (a subset of) the labels of a plot
    • uses_labels() checks if labels match their expected values
  • Added fail_if_not_ggplot() for use in grading code to check that the submitted result is a ggplot, powered by the lower-level testing function is_ggplot() (#29).

Improvements and Updates

  • Improve handling of ... in uses_labels() (#26)
  • Unnamed arguments to uses_labels() check if label is set (#27)
  • Check for aes params in uses_geom_param() (#28)