library(infer)
observed_statistic <- gss %>%
specify(response = age) %>%
calculate(stat = "sd")
#> Warning message:
#> There was 1 warning in `dplyr::mutate()`.
#> ℹ In argument: `dplyr::across(...)`.
#> Caused by warning:
#> ! The `...` argument of `across()` is deprecated as of dplyr 1.1.0.
#> Supply arguments directly to `.fns` through a lambda instead.
#>
#> # Previously
#> across(a:b, mean, na.rm = TRUE)
#>
#> # Now
#> across(a:b, ~mean(.x, na.rm = TRUE))
#> ℹ The deprecated feature was likely used in the infer package.
#> Please report the issue at <https://github.com/tidymodels/infer/issues>.
#> This warning is displayed once every 8 hours.
#> Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
#> generated.
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.