Skip to content

Facets argument of facet_grid() deprecated #322

@joannalingzj

Description

@joannalingzj

Hi,
I was running mcmc_acf and got this warning message.
mcmc_acf(posterior_b5, pars = c("b_Intercept","b_time","sd_Batch__Intercept","sd_Batch__time","sigma"), lags = 20)
Warning message:
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 bayesplot package.
Please report the issue at https://github.com/stan-dev/bayesplot/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()
[[1]]
<warning/lifecycle_warning_deprecated>
Warning:
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 bayesplot package.
Please report the issue at https://github.com/stan-dev/bayesplot/issues/.


Backtrace:

  1. └─bayesplot::mcmc_acf(...)
  2. └─bayesplot:::.mcmc_acf(...)
  3. ├─base::do.call(facet_fun, facet_args)
    
  4. └─ggplot2::facet_grid(facets = "Chain ~ Parameter")
    
  5.   └─ggplot2:::deprecate_warn0("2.2.0", "facet_grid(facets)", "facet_grid(rows)")
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions