ggPMXdevelopment / ggPMX

ggPMX R package
37 stars 13 forks source link

Depreciation #344

Closed mattfidler closed 1 year ago

mattfidler commented 1 year ago
The `facets` argument of `facet_grid()` is deprecated as of ggplot2 2.2.0.
ℹ Please use the `rows` argument instead.
ℹ The deprecated feature was likely used in the ggPMX package.
  Please report the issue at <https://github.com/ggPMXdevelopment/ggPMX/issues>.
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated. 
mattfidler commented 1 year ago
  1. └─ggPMX::pmx_nlmixr(fit, conts = c("cl", "v"))
  2.   └─pmxClass$new(...) at ggPMX/R/nlmixr.R:211:2
  3.     └─ggPMX (local) initialize(...)
  4.       └─ggPMX:::pmx_initialize(...) at ggPMX/R/pmxClass.R:859:17
  5.         ├─base::do.call(set_plot, c(ctr = self, x)) at ggPMX/R/pmxClass.R:1098:4
  6.         └─ggPMX (local) `<fn>`(...)
  7.           └─ctr$add_plot(conf, pname) at ggPMX/R/pmxClass.R:540:4
  8.             └─ggPMX:::pmx_add_plot(self, private, x, pname) at ggPMX/R/pmxClass.R:873:15
  9.               ├─ggPMX::plot_pmx(x, dx = x$dx) at ggPMX/R/pmx-add-plot.R:224:2
 10.               └─ggPMX:::plot_pmx.eta_cov(x, dx = x$dx) at ggPMX/R/generics.R:10:12
 11.                 ├─base::do.call(facet_grid, x$facets) at ggPMX/R/plot-eta-cov.R:184:6
 12.                 └─ggplot2 (local) `<fn>`(scales = "free", facets = EFFECT ~ variable)
 13.                   └─ggplot2:::deprecate_warn0("2.2.0", "facet_grid(facets)", "facet_grid(rows)")