Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tbl_grade_class() calls anything with length > 1 a vector #120

Closed
rossellhayes opened this issue Aug 9, 2022 · 0 comments · Fixed by #122
Closed

tbl_grade_class() calls anything with length > 1 a vector #120

rossellhayes opened this issue Aug 9, 2022 · 0 comments · Fixed by #122
Assignees
Labels
bug Something isn't working

Comments

@rossellhayes
Copy link
Contributor

tbl_grade_class() should describe things as objects unless they are truly vectors of length > 1.

library(tblcheck)

.result <- 1
.solution <- lm(mpg ~ wt, data = mtcars)
tbl_grade_class()
#> <gradethis_graded: [Incorrect]
#>   Your result should be a vector with class `lm`, but it is a number
#>   (class `numeric`).
#> >

Created on 2022-08-09 by the reprex package (v2.0.1)

@rossellhayes rossellhayes added the bug Something isn't working label Aug 9, 2022
@rossellhayes rossellhayes self-assigned this Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant