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.
Or something along those lines...
Originally posted by @mattwarkentin in #319 (comment)
Related: I am now seeing that the error thrown when calling
assessment()on apermutationsobject is not correct:It should read something like:
Or something along those lines...
Originally posted by @mattwarkentin in #319 (comment)