diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2018-02-06 17:15:22 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2018-02-06 17:15:22 +0100 |
commit | 9cb1cebc1dcb85b1474b560210bf3939c0dc8da0 (patch) | |
tree | c4481a97689dc0a7087bdb8724f0a1867440ef45 /tests/testthat/test_irls.R | |
parent | 6dd10cb60c040e1c74e2bc109094fe3217ed7df6 (diff) |
Skip some tests on CRAN, more quiet examplesv0.9.47.1
Diffstat (limited to 'tests/testthat/test_irls.R')
-rw-r--r-- | tests/testthat/test_irls.R | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testthat/test_irls.R b/tests/testthat/test_irls.R index 0b005182..6389b662 100644 --- a/tests/testthat/test_irls.R +++ b/tests/testthat/test_irls.R @@ -34,12 +34,14 @@ SFO_lin_a <- synthetic_data_for_UBA_2014[[1]]$data DFOP_par_c <- synthetic_data_for_UBA_2014[[12]]$data test_that("Reweighting method 'obs' works", { + skip_on_cran() fit_irls_1 <- mkinfit(m_synth_SFO_lin, SFO_lin_a, reweight.method = "obs", quiet = TRUE) parms_1 <- round(fit_irls_1$bparms.optim, c(1, 4, 4, 4, 4, 4)) expect_equivalent(parms_1, c(102.1, 0.7389, 0.2982, 0.0203, 0.7677, 0.7246)) }) test_that("Reweighting method 'tc' works", { + skip_on_cran() fit_irls_2 <- mkinfit(m_synth_DFOP_par, DFOP_par_c, reweight.method = "tc", quiet = TRUE) parms_2 <- signif(fit_irls_2$bparms.optim, 3) expect_equivalent(parms_2, c(99.3, 0.041, 0.00962, 0.597, 0.393, 0.298, 0.0203, 0.707)) |