diff --git a/DESCRIPTION b/DESCRIPTION index c60958c..a5325b9 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: ggcheck Title: Inspect 'ggplot2' Plots for Automated Grading in Learning Exercises -Version: 0.0.1 +Version: 0.0.2 Authors@R: c( person("Garrick", "Aden-Buie", , "garrick@rstudio.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-7111-0077")), diff --git a/NEWS.md b/NEWS.md index 494d405..e32455a 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,20 @@ +# 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) + # ggcheck 0.0.1 (2021-10-22) - Initial release of ggcheck