Code
grade_num_chr_1
Output
<gradethis_graded: [Incorrect]
Your result should be a number (class `numeric`), but it is a text
string (class `character`).
>
Code
grade_num_chr_2
Output
<gradethis_graded: [Incorrect]
Your result should be a vector of numbers (class `numeric`), but it
is a vector of text (class `character`).
>
Code
grade_posixct_1
Output
<gradethis_graded: [Incorrect]
Your result should be a date-time (class `POSIXct`), but it is a text
string (class `character`).
>
Code
grade_posixct_2
Output
<gradethis_graded: [Incorrect]
Your result should be a vector of date-times (class `POSIXlt`), but
it is a vector of text (class `character`).
>
Code
grade_glue_chr
Output
<gradethis_graded: [Incorrect]
Your result should be a text string (class `character`), but it is an
object with classes `glue` and `character`.
>
Code
grade_tbl_df
Output
<gradethis_graded: [Incorrect]
Your result should be a tibble (class `tbl_df`), but it is a data
frame (class `data.frame`).
>
Code
grade_int_dbl
Output
<gradethis_graded: [Incorrect]
Your result should be a number (class `numeric`), but it is an
integer (class `integer`).
>
Code
grade_int_chr_wrong_ignore
Output
<gradethis_graded: [Incorrect]
Your result should be a number (class `numeric`), but it is a text
string (class `character`).
>
Code
grade_posix_ct_lt
Output
<gradethis_graded: [Incorrect]
Your result should be a vector of date-times (class `POSIXlt`), but
it is a vector of date-times (class `POSIXct`).
>
Code
grade_class_solution
Output
<gradethis_graded: [Incorrect]
Your result should be an object with classes `test`, `class`, and
`integer`, but it is an integer (class `integer`).
>
Code
grade_class_result
Output
<gradethis_graded: [Incorrect]
Your result should be an integer (class `integer`), but it is an
object with classes `test`, `class`, and `integer`.
>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.