Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Sep 2, 2024
1 parent 76e7257 commit 9350ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-brms.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ withr::with_options(
list(parameters_warning_exponentiate = TRUE),
{

Check warning on line 11 in tests/testthat/test-brms.R

View workflow job for this annotation

GitHub Actions / lint-changed-files / lint-changed-files

file=tests/testthat/test-brms.R,line=11,col=3,[unnecessary_nesting_linter] Reduce the nesting of this statement by removing the braces {}.
test_that("mp, footer exp", {
m <- insight::download_model("brms_bernoulli_1")
m <- suppressWarnings(insight::download_model("brms_bernoulli_1"))
out <- parameters::model_parameters(m, exponentiate = FALSE)
expect_snapshot(print(out))
out <- parameters::model_parameters(m, exponentiate = TRUE)
Expand Down

0 comments on commit 9350ba1

Please sign in to comment.