aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat/test_nafta.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2021-07-23 18:13:14 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2021-07-23 18:13:14 +0200
commit36b67cc7505a0a7f0960d4cb820c527f27e18f9c (patch)
tree389897451f80e8684b2ba6d9bb3da53bd4d5cbff /tests/testthat/test_nafta.R
parent40b78bed232798ecbeb72759cdf8d400ea35b31f (diff)
parent25648577b6d5a4521da7c9d2eb174d292d2d85af (diff)
Merge branch 'master' into nlmixr
After the merge, run make test and accept the new snapshot for the mixed model fit for an nlme object
Diffstat (limited to 'tests/testthat/test_nafta.R')
-rw-r--r--tests/testthat/test_nafta.R10
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/testthat/test_nafta.R b/tests/testthat/test_nafta.R
index 80b6adba..8eb052c5 100644
--- a/tests/testthat/test_nafta.R
+++ b/tests/testthat/test_nafta.R
@@ -21,10 +21,7 @@ test_that("Test data from Appendix B are correctly evaluated", {
expect_known_output(print(res), "NAFTA_SOP_Appendix_B.txt")
plot_nafta <- function() plot(res)
- if(requireNamespace("vdiffr", quietly = TRUE)) {
- skip_if(getRversion() >= "4.1.0")
- vdiffr::expect_doppelganger("NAFTA SOP Appendix B", plot_nafta)
- }
+ vdiffr::expect_doppelganger("NAFTA SOP Appendix B", plot_nafta)
})
test_that("Test data from Appendix D are correctly evaluated", {
@@ -49,8 +46,5 @@ test_that("Test data from Appendix D are correctly evaluated", {
expect_known_output(print(res), "NAFTA_SOP_Appendix_D.txt")
plot_nafta <- function() plot(res)
- if(requireNamespace("vdiffr", quietly = TRUE)) {
- skip_if(getRversion() >= "4.1.0")
- vdiffr::expect_doppelganger("Plot NAFTA analysis", plot_nafta)
- }
+ vdiffr::expect_doppelganger("Plot NAFTA analysis", plot_nafta)
})

Contact - Imprint