Error in `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.5/rstan/libs/x64/rstan.dll':
  LoadLibrary failure:  Das angegebene Modul wurde nicht gefunden.

expect_equal(rope_range(x), c(-0.05, 0.05), tolerance = 1e-3)
mod <- lm(mpg ~ gear + hp, data = mtcars)
expect_equal(rope_range(mod), c(-0.1 * sd(mtcars$mpg), 0.1 * sd(mtcars$mpg)), tolerance = 1e-3)
mod <- lm(log(Sepal.Length) ~ Species, data = iris)
expect_equal(rope_range(mod), c(-0.01, 0.01), tolerance = 1e-3)
test_that("rope_range log gaussian 2", {
mod <- glm(mpg ~ gear + hp, data = mtcars, family = gaussian("log"))
mod <- glm(am ~ gear + hp, data = mtcars, family = binomial())
expect_equal(rope_range(mod), c(-1 * 0.1 * pi / sqrt(3), 0.1 * pi / sqrt(3)), tolerance = 1e-3)
model <- suppressWarnings(brms::brm(mpg ~ wt + gear, data = mtcars, iter = 300))
brms::brm(brms::bf(mvbind(mpg, disp) ~ wt + gear) + brms::set_rescor(TRUE), data = mtcars, iter = 300)