gradethis_equal()
method for ggplot
objects (#37).fail_if_not_ggplot()
attempted to access a gradethis
.result
object (#33)get_labels()
lists (a subset of) the labels of a plotuses_labels()
checks if labels match their expected valuesfail_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)....
in uses_labels()
(#26)uses_labels()
check if label is set (#27)aes
params in uses_geom_param()
(#28)Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.