Open
Description
Hi,
Thanks for your work on rsample
!
I get an error when I try to compute percentile intervals. I think it is related to the warning issued when the number of bootstrap replicates is smaller than 1000.
In some applications, I don’t get any problems, but I was able to save a data frame with splits and results that generates the error.
library(rsample)
b <- readRDS(url("https://arelbundock.com/rsample_reprex.rds"))
int_pctl(b, statistics = results)
#> Error in "lapply(text, glue_cmd, .envir = .envir)": ! Could not evaluate cli `{}`
#> expression: `cli::qty(terms)`.
#> Caused by error in `make_quantity(expr)`:
#> ! length(object) == 1 is not TRUE