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)
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,
I get the following error: Error: !
class
must be a character vector, not a list. Backtrace:<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?