gavinsimpson / gratia

ggplot-based graphics and useful functions for GAMs fitted using the mgcv package
https://gavinsimpson.github.io/gratia/
Other
206 stars 28 forks source link

change in **dplyr** produces warning #206

Closed mikeroswell closed 1 year ago

mikeroswell commented 1 year ago

No problem that I caught, but dplyr threw a warning:

> gratia::draw(gamFit, residuals = TRUE)
Warning messages:
1: In grep(p.terms[!ind], m.terms[off]) :
  argument 'pattern' has length > 1 and only the first element will be used
2: 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 gratia package.
  Please report the issue at <https://github.com/gavinsimpson/gratia/issues>.
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated. 
gavinsimpson commented 1 year ago

Thanks @mikeroswell This is fixed on GH but hasn't made it to CRAN just yet as my submission got caught up in 1.1.0 being released. A new version will be on CRAN hopefully by the end of the week.