tidyverts / tsibble

Tidy Temporal Data Frames and Tools
https://tsibble.tidyverts.org
GNU General Public License v3.0
530 stars 49 forks source link

count_gaps: Returning more (or less) than 1 row per `summarise()` group was deprecated in dplyr 1.1.0 #295

Closed FinYang closed 8 months ago

FinYang commented 1 year ago

Can't believe I'm just getting this warning now.

sessioninfo::package_info("tsibble", dependencies = FALSE)
#>  package * version date (UTC) lib source
#>  tsibble   1.1.3   2023-04-02 [1] Github (tidyverts/tsibble@04b36e7)
#> 
#>  [1] C:/Users/yangy/AppData/Local/R/win-library/4.2
#>  [2] C:/Program Files/R/R-4.2.2/library
invisible(tsibble::count_gaps(tsibble::pedestrian))
#> 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 tsibble package.
#>   Please report the issue at <https://github.com/tidyverts/tsibble/issues>.
#> This warning is displayed once every 8 hours.
#> Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
#> generated.
lifecycle::last_lifecycle_warnings()
#> list()

Created on 2023-04-02 with reprex v2.0.2

robozor commented 1 year ago

It´s my problem too. Thanks.

earowang commented 8 months ago

thanks. fixed.