bcgov / bcgov/ssdtools

ssd_hc_bcanz errors if single bootstrap sample

Open
#445 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
39
Forks
21
Avg merge
9h 38m
Merged PRs (30d)
2

Description

fix for 1 and ensure also possible with 0

``` r
library(ssdtools)

fits <- ssd_fit_bcanz(ssddata::ccme_boron)
ssd_hc_bcanz(fits, nboot = 1)
#> Error in `dplyr::group_by()` at ssdtools/R/hcp.R:150:5:
#> ! Must group by variables found in `.data`.
#> ✖ Column `value` is not found.
```

Created on 2025-06-05 with [reprex v2.1.1](https://reprex.tidyverse.org)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.