aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat/test_deSolve.R
diff options
context:
space:
mode:
authorRanke Johannes <johannes.ranke@agroscope.admin.ch>2026-09-07 13:45:39 +0200
committerRanke Johannes <johannes.ranke@agroscope.admin.ch>2026-09-07 13:45:39 +0200
commit48d9cad339394c3aa0d730d9a27b1c0680ce13e8 (patch)
tree9c0a5766f3d0853c382ba0174f83e2e8ac9b0fbf /tests/testthat/test_deSolve.R
parent46735d7a6d429bb0c50f951763797f321a0d77ca (diff)
Add DTx function, check and testHEADmain
The tolerance of one test had to be increased in test_deSolve.R, and four vdiffr snapshots with negligible differences were updated. Tests run with a maximum of 16 cores when running in the Agroscope Apptainer environment.
Diffstat (limited to 'tests/testthat/test_deSolve.R')
-rw-r--r--tests/testthat/test_deSolve.R3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/testthat/test_deSolve.R b/tests/testthat/test_deSolve.R
index 3d15de35..c7acdc43 100644
--- a/tests/testthat/test_deSolve.R
+++ b/tests/testthat/test_deSolve.R
@@ -13,7 +13,8 @@ test_that("Solutions with deSolve work if we have no observations at time zero",
solution_type = "deSolve", quiet = TRUE)
expect_equal(
parms(f_sfo_sfo_nozero),
- parms(f_sfo_sfo_nozero_deSolve)
+ parms(f_sfo_sfo_nozero_deSolve),
+ tolerance = 1e-5
)
})

Contact - Imprint