Hello everybody.
I already reported this problem to r-lib/rlang:
r-lib/rlang#1529
but I was asked to report it here, so I repeat it:
It seems that there is some sort of compatability issue with the latest version of the interactions-package with the latest version of the rlang-package, and -potentially - also the latest version of R and RStudio. If I run the first example provided for "sim_slopes":
fiti <- lm(Income ~ Frost + Murder * Illiteracy, data = as.data.frame(state.x77))
sim_slopes(model = fiti, pred = Murder, modx = Illiteracy)
I get the following error:
Error:
! class must be a character vector, not a list.
Backtrace:
interactions::sim_slopes(model = fiti, pred = Murder, modx = Illiteracy)
jtools:::summ.lm(...)
jtools:::do_robust(model, robust, cluster, data, vcov)
jtools::get_robust_se(...)
jtools::stop_wrap(...)
rlang (local) <fn>(class = )
versions:
packageVersion('interactions')# ‘1.1.5'
packageVersion('rlang')# ‘1.0.6’
packageVersion('jtools')# 2.2.1
#R-version: 4.2.2.
#RStudio-version: 2022.07.2 Build 576
There already exists a stackoverflow entry for this:
https://stackoverflow.com/questions/74720514/interactions-and-rlang-error-class-must-be-a-character-vector-not-a-list
But updating the dependencies for jtools and rlang did not help in my case. Does anybody have any solutions?
Hello everybody.
I already reported this problem to r-lib/rlang:
r-lib/rlang#1529
but I was asked to report it here, so I repeat it:
It seems that there is some sort of compatability issue with the latest version of the interactions-package with the latest version of the rlang-package, and -potentially - also the latest version of R and RStudio. If I run the first example provided for "sim_slopes":
fiti <- lm(Income ~ Frost + Murder * Illiteracy, data = as.data.frame(state.x77))
sim_slopes(model = fiti, pred = Murder, modx = Illiteracy)
I get the following error:
Error:
! class must be a character vector, not a list.
Backtrace:
versions:
packageVersion('interactions')# ‘1.1.5'
packageVersion('rlang')# ‘1.0.6’
packageVersion('jtools')# 2.2.1
#R-version: 4.2.2.
#RStudio-version: 2022.07.2 Build 576
There already exists a stackoverflow entry for this:
https://stackoverflow.com/questions/74720514/interactions-and-rlang-error-class-must-be-a-character-vector-not-a-list
But updating the dependencies for jtools and rlang did not help in my case. Does anybody have any solutions?