keaven / gsDesign

Group sequential design for clinical trials
https://keaven.github.io/gsDesign/
GNU General Public License v3.0
51 stars 14 forks source link

dplyr `summarise()` to `reframe()` migration #114

Closed nanxstats closed 10 months ago

nanxstats commented 1 year ago

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 commented 1 year ago

summarize() is used in

summarise() is used in