From 4a0f2e20ef73f536605c0906de04c852e9d153bc Mon Sep 17 00:00:00 2001 From: guiastrennec Date: Tue, 4 Feb 2020 20:51:49 +0100 Subject: [PATCH] Fix CRAN error on windows --- tests/testthat/test-model-summary.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/testthat/test-model-summary.R b/tests/testthat/test-model-summary.R index 6c1ca0cc..c3537d1e 100755 --- a/tests/testthat/test-model-summary.R +++ b/tests/testthat/test-model-summary.R @@ -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)) })