The new dplyr is throwing a lot of deprecation warnings around and some of them hit the extract_* functions here. As an example:
library(brms)
library(mixedup)
brm_model = brm(
Reaction ~ Days + (1 + Days | Subject),
data = lme4::sleepstudy,
refresh = -1,
verbose = FALSE,
open_progress = FALSE,
cores = 4,
iter = 1000
)
mixedup::extract_fixed_effects(brm_model)
Throws the message:
Warning message:
There was 1 warning in `dplyr::mutate()`.
ℹ In argument: `dplyr::across(function(x) is.numeric(x), round, digits = digits)`.
Caused by warning:
! The `...` argument of `across()` is deprecated as of dplyr 1.1.0.
Supply arguments directly to `.fns` through an anonymous function instead.
# Previously
across(a:b, mean, na.rm = TRUE)
# Now
across(a:b, \(x) mean(x, na.rm = TRUE))
ℹ The deprecated feature was likely used in the mixedup package.
Please report the issue at <https://github.com/m-clark/mixedup/issues>.
This warning is displayed once per session.
Call lifecycle::last_lifecycle_warnings() to see where this warning was generated.
If you need, I can help translate the current code into the new dplyr grammar. Btw thanks for the package you always save me several hours of work.
The new dplyr is throwing a lot of deprecation warnings around and some of them hit the
extract_*functions here. As an example:Throws the message:
If you need, I can help translate the current code into the new dplyr grammar. Btw thanks for the package you always save me several hours of work.