-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
fix laterThis issue needs to be fixed later, but it depends on something not yet implementedThis issue needs to be fixed later, but it depends on something not yet implemented
Description
we should track down and fix the deprecated usage of summarise() (versus refame()) for what we're doing in clin_nowcast().
library(fiphde)
get_cdc_clin(region = "state") %>%
dplyr::filter(location == "48") %>%
clin_nowcast(., weeks_to_replace = 2)
#> Warning: Returning more (or less) than 1 row per `summarise()` group was deprecated in
#> dplyr 1.1.0.
#> ℹ Please use `reframe()` instead.
#> ℹ When switching from `summarise()` to `reframe()`, remember that `reframe()`
#> always returns an ungrouped data frame and adjust accordingly.
#> ℹ The deprecated feature was likely used in the fiphde package.
#> Please report the issue to the authors.
#> This warning is displayed once every 8 hours.
#> Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
#> generated.
#> # A tibble: 482 × 8
#> abbreviation location epiyear epiweek week_start p_positive n_positive total
#> <chr> <chr> <dbl> <dbl> <date> <dbl> <dbl> <dbl>
#> 1 TX 48 2015 40 2015-10-04 1.68 19 1129
#> 2 TX 48 2015 41 2015-10-11 1.91 22 1150
#> 3 TX 48 2015 42 2015-10-18 1.66 18 1084
#> 4 TX 48 2015 43 2015-10-25 1.83 20 1093
#> 5 TX 48 2015 44 2015-11-01 1.4 17 1217
#> 6 TX 48 2015 45 2015-11-08 2.31 31 1343
#> 7 TX 48 2015 46 2015-11-15 2.89 33 1140
#> 8 TX 48 2015 47 2015-11-22 1.27 19 1494
#> 9 TX 48 2015 48 2015-11-29 1.35 20 1480
#> 10 TX 48 2015 49 2015-12-06 1.54 24 1557
#> # ℹ 472 more rowsMetadata
Metadata
Assignees
Labels
fix laterThis issue needs to be fixed later, but it depends on something not yet implementedThis issue needs to be fixed later, but it depends on something not yet implemented