You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related: I am now seeing that the error thrown when calling assessment() on a permutations object is not correct:
library(rsample)
p<- permutations(mtcars, cyl)
assessment(p$splits[[1]])
#> Error in `as.data.frame()`:#> ! There is no assessment data set for an `rsplit` object with class `rsplit`.
It should read something like:
#> ! There is no assessment data set for an rsplit object from a permutations set.
We also do need to add permutations() to the vctrs compatibility files. I think it should just act like other rsets? In terms of binding rows/columns? Worth a little thought, though.
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
Related: I am now seeing that the error thrown when calling
assessment()
on apermutations
object is not correct:It should read something like:
Or something along those lines...
Originally posted by @mattwarkentin in #319 (comment)
The text was updated successfully, but these errors were encountered: