Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
FinYang opened this issue Apr 2, 2023 · 2 comments

Comments

@FinYang
Copy link

FinYang commented Apr 2, 2023

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
Copy link

robozor commented Apr 28, 2023

It´s my problem too. Thanks.

@earowang
Copy link
Member

thanks. fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants