Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Oct 4, 2023
1 parent 22f1ea9 commit b2e1a6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-nestedLogit.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ test_that("r2", {
out <- r2_tjur(mnl)
expect_equal(
out,
list(R2_Tjur = list(
list(
work = c(`Tjur's R2` = 0.137759452521642),
full = c(`Tjur's R2` = 0.332536937208286)
)),
),
ignore_attr = TRUE,
tolerance = 1e-4
)
Expand Down

0 comments on commit b2e1a6e

Please sign in to comment.