diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2019-10-31 11:47:23 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2019-10-31 11:47:23 +0100 |
commit | 99947961be1cf0a7eed80426bc3d8cc6daa6d106 (patch) | |
tree | 211d0400cc2fc4990a5e36f877273dde14549578 /tests/testthat/test_confidence.R | |
parent | 669447c2a4581a4c8dba18ab40ba6938a42b8267 (diff) |
Reorganize tests to reduce time on winbuilder
Diffstat (limited to 'tests/testthat/test_confidence.R')
-rw-r--r-- | tests/testthat/test_confidence.R | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/testthat/test_confidence.R b/tests/testthat/test_confidence.R index 2443fa66..a2bf1401 100644 --- a/tests/testthat/test_confidence.R +++ b/tests/testthat/test_confidence.R @@ -73,7 +73,8 @@ test_that("Likelihood profile based confidence intervals work", { } f_mle <- stats4::mle(f_nll, start = as.list(parms(f)), nobs = nrow(FOCUS_2006_C)) - ci_mkin_1_p_0.95 <- confint(f, method = "profile", level = 0.95, quiet = TRUE) + ci_mkin_1_p_0.95 <- confint(f, method = "profile", level = 0.95, + cores = n_cores, quiet = TRUE) # Magically, we get very similar boundaries as stats4::mle # (we need to capture the output to avoid printing this while testing as |