Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Sep 17, 2024
1 parent 81fd432 commit 8dd0b65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/rope.R
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ rope.sim <- function(x, range = "default", ci = 0.95, ci_method = "ETI", paramet
.prepare_rope_df <- function(parms, range, ci, ci_method, verbose) {
if (is.list(range)) {
# check if list of values contains only valid values
.check_list_range(range, params)
.check_list_range(range, parms)
# apply thresholds to each column
tmp <- mapply(
function(p, r) {
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-bayesian_as_frequentist.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ test_that("brms beta to freq", {
skip_if_not_or_load_if_installed("betareg")

set.seed(333)
m <- insight::download_model("brms_beta_1")
m <- suppressWarnings(insight::download_model("brms_beta_1"))
data(FoodExpenditure, package = "betareg")
m1 <- glmmTMB::glmmTMB(
I(food / income) ~ income + (1 | persons),
Expand All @@ -56,7 +56,7 @@ test_that("ordbetareg to freq", {

set.seed(333)
data(sleepstudy, package = "lme4")
m <- insight::download_model("ordbetareg_1")
m <- suppressWarnings(insight::download_model("ordbetareg_1"))
sleepstudy$y <- datawizard::normalize(sleepstudy$Reaction)
m1 <- glmmTMB::glmmTMB(
y ~ Days + (Days | Subject),
Expand Down

0 comments on commit 8dd0b65

Please sign in to comment.