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

dplyr summarise() to reframe() migration #114

Closed
nanxstats opened this issue Nov 23, 2023 · 1 comment · Fixed by #119
Closed

dplyr summarise() to reframe() migration #114

nanxstats opened this issue Nov 23, 2023 · 1 comment · Fixed by #119
Assignees

Comments

@nanxstats
Copy link
Collaborator

This warning becomes gradually more prominently, first in tests, now when running the Shiny app:

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 gsDesign package.
  Please report the issue at
  <https://github.com/keaven/gsDesign/issues>.
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this
warning was generated.

See dplyr 1.1.0 blog post about the context of the changes needed.

Impacted code:

@nanxstats nanxstats changed the title dplyr summarise() to reframe() migration dplyr summarise() to reframe() migration Nov 23, 2023
@nanxstats
Copy link
Collaborator Author

nanxstats commented Nov 25, 2023

summarize() is used in

  • R/as_table.R
  • vignettes/PoissonMixtureModel.Rmd

summarise() is used in

  • R/gsqplot.R
  • tests/gsDesign_independent_code.R

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

Successfully merging a pull request may close this issue.

2 participants