Skip to content

Commit

Permalink
Fix CRAN error on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bguiastr committed Feb 4, 2020
1 parent 9831cc1 commit 4a0f2e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-model-summary.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ test_that('summary is properly created with the appropriate information', {
code = 'METH=0', comment = ''), software), 1), c('method', 'fo'))
expect_equal(sum_out(sum_method(model, software), 2), c('method', 'sim'))
expect_equal(sum_out(sum_shk(model, software, 'eps', rounding)), c('epsshk', '14.86 [1]'))

skip_on_cran() # Let's wait and see how R 4.0.0 rounding behaves once it's released
expect_equal(sum_out(sum_shk(model, software, 'eta', rounding)), c('etashk', eta_shk_string))
})

Expand Down

0 comments on commit 4a0f2e2

Please sign in to comment.