tests/testthat/_snaps/vec_check_levels.md

number of levels

Code
  grade
Output
  <gradethis_graded: [Incorrect]
    Your result should have 3 levels, but it has 2 levels.
  >

level labels

Code
  grade
Output
  <gradethis_graded: [Incorrect]
    Your result should have levels named `x`, `y`, and `z`. Your result
    should not have levels named `a`, `b`, or `c`.
  >

level order

Code
  grade_diffs
Output
  <gradethis_graded: [Incorrect]
    The order of the levels in your result are the reverse of the
    expected order.
  >
Code
  grade_diffs
Output
  <gradethis_graded: [Incorrect]
    Your result's levels were not in the expected order. The first 3
    levels of your result should be `c`, `a`, and `b`, but they were `a`,
    `b`, and `c`.
  >
Code
  grade
Output
  <gradethis_graded: [Incorrect]
    Your result's levels were not in the expected order.
  >


rstudio/tblcheck documentation built on March 11, 2023, 5:42 p.m.