Skip to content

intl_pct: error on R<1000 warning #574

Open
@vincentarelbundock

Description

@vincentarelbundock

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions