When I try to execute the levene_test()
function, something that I previously did without problems, I get the following error:
noc01_long %>%
group_by(block) %>%
levene_test(brady ~ group)
Error: Problem with `mutate()` input `data`.
x Problem with `filter()` input `..1`.
x Column `term` not found in `.data`
i Input `..1` is `.data$term != ""`.
i Input `data` is `map(.data$data, .f, ...)`.
I have tried changing the terms in the formula, as well as calling library(stats)
, but I have no clue what might be happening. Could anyone help?