If an object is unexpectedly unnamed, the message lists the names it expected.
library(tblcheck)
vec_grade_names(letters, rlang::set_names(letters))
#> <gradethis_graded: [Incorrect]
#> Your result should have the names `a`, `b`, `c`, and 23 more.
#> >
Created on 2022-11-23 with reprex v2.0.2
It would be more helpful to have a specific messages for "I expected your result to be named." and "I didn't expect your result to be named."
If an object is unexpectedly unnamed, the message lists the names it expected.
Created on 2022-11-23 with reprex v2.0.2
It would be more helpful to have a specific messages for "I expected your result to be named." and "I didn't expect your result to be named."