Skip to content

Commit

Permalink
fix legacy linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sbfnk committed Sep 1, 2023
1 parent 3964765 commit 0bc254f
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions tests/testthat/tests-ll.r
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,15 @@ test_that("Likelihoods can be calculated", {
expect_lt(chain_ll(chains, "pois", "size", lambda = 0.5), 0)
expect_lt(chain_ll(chains, "pois", "size", lambda = 0.5, exclude = 1), 0)
expect_lt(chain_ll(chains, "pois", "size", lambda = 0.5, infinite = 5), 0)
expect_lt(chain_ll(chains, "pois", "size",
lambda = 0.5, obs_prob = 0.5,
nsim_obs = 1
expect_lt(chain_ll(
chains, "pois", "size", lambda = 0.5, obs_prob = 0.5, nsim_obs = 1
), 0)
expect_lt(chain_ll(chains, "pois", "length",
lambda = 0.5, obs_prob = 0.5,
nsim_obs = 1
expect_lt(chain_ll(
chains, "pois", "length", lambda = 0.5, obs_prob = 0.5, nsim_obs = 1
), 0)
expect_lt(chain_ll(chains, "pois", "size",
lambda = 0.5, infinite = 5,
obs_prob = 0.5, nsim_obs = 1
expect_lt(chain_ll(
chains, "pois", "size", lambda = 0.5, infinite = 5, obs_prob = 0.5,
nsim_obs = 1
), 0)
expect_lt(chain_ll(chains, "binom", "size", size = 1, prob = 0.5), 0)
})
Expand Down

0 comments on commit 0bc254f

Please sign in to comment.