ggplot2 aes_string deprecated
Warning (test-06-report_mig_interannual.R:257:4): Test bmi plots
aes_string()
was deprecated in ggplot2 3.0.0.
aes()
.
vignette("ggplot2-in-packages")
for more information.
Backtrace:
▆
- ├─testthat::expect_error(...) at test-06-report_mig_interannual.R:257:25
- │ └─testthat:::quasi_capture(...)
- │ ├─testthat (local) .capture(...)
- │ │ └─base::withCallingHandlers(...)
- │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
- ├─base::plot(report_mig_interannual, plot.type = "barchart", silent = TRUE)
- └─stacomiR::plot(...)
- └─stacomiR (local) .local(x, ...)
-
├─ggplot2::ggplot(tmp, aes_string(x = timesplit, y = "value")) at stacomir/R/report_mig_interannual.R:1354:11
-
├─ggplot2:::ggplot.default(tmp, aes_string(x = timesplit, y = "value"))
-
└─ggplot2::aes_string(x = timesplit, y = "value")
-
└─ggplot2:::deprecate_soft0(...)