Code
grade
Output
<gradethis_graded: [Incorrect]
Your `a` column should be a vector of integers (class `integer`), but
it is a vector of text (class `character`).
>
Code
grade_int
Output
<gradethis_graded: [Incorrect]
Your `a` column should be a vector of integers (class `integer`), but
it is a vector of numbers (class `numeric`).
>
Code
grade
Output
<gradethis_graded: [Incorrect]
The first 3 values of your `a` column should be `a`, `b`, and `c`,
not `z`, `y`, and `x`.
>
Code
grade
Output
<gradethis_graded: [Incorrect]
Your `a` column should be a tibble (class `tbl_df`), but it is a data
frame (class `data.frame`).
>
Code
grade
Output
<gradethis_graded: [Incorrect]
I didn't expect your `a` column to include the values `5`, `6`, and
`7`.
>
Code
grade
Output
<gradethis_graded: [Incorrect]
The first 5 values of your `a` column should be `z`, `y`, `x`, `w`,
and `v`, not `a`, `b`, `c`, `d`, and `e`.
>
Code
grade
Output
<gradethis_graded: [Incorrect]
The first 2 values of your `a` column should be `b` and `a`, not `a`
and `b`.
>
Code
grade
Output
<gradethis_graded: [Incorrect]
Your `a` column should contain 4 values, but it has 3 values. I
expected your result to include the value `d`.
>
Code
grade
Output
<gradethis_graded: [Incorrect]
Your table should have a column named `a`.
>
Code
grade
Output
<gradethis_graded: [Incorrect]
Your `a` column should have 3 levels, but it has 2 levels.
>
Code
grade
Output
<gradethis_graded: [Incorrect]
Your `a` column should have levels named `x`, `y`, and `z`. Your `a`
column should not have levels named `a`, `b`, or `c`.
>
Code
grade_reverse
Output
<gradethis_graded: [Incorrect]
The order of the levels in your `a` column are the reverse of the
expected order.
>
Code
grade_diffs
Output
<gradethis_graded: [Incorrect]
Your `a` column's levels were not in the expected order. The first 3
levels of your `a` column should be `c`, `a`, and `b`, but they were
`a`, `b`, and `c`.
>
Code
grade
Output
<gradethis_graded: [Incorrect]
Your `a` column's levels were not in the expected order.
>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.