Changelog
Source:NEWS.md
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 functionis_ggplot()
(#29).
Improvements and Updates
- Improve handling of
...
inuses_labels()
(#26) - Unnamed arguments to
uses_labels()
check if label is set (#27) - Check for
aes
params inuses_geom_param()
(#28)