Skip to content

redirected from r-lib/rlang :sim_slopes encounters an issue with rlang-package #132

Description

@Jendryczko

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions