Skip to content

Commit

Permalink
skip Lemna_SETAC tests on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
nkehrein committed Oct 23, 2024
1 parent d2fbd24 commit 6c4a379
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-simulate_lemna_setac.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Make sure that simulation results of this package and 'lemna' are identical,
# the 'lemna' package vouches for correct model implementation
test_that("lemna::lemna, k_phot0_fixed=FALSE", {
skip_on_os("mac") # macos numerics always deviate in some unforeseeable way
skip_if_not_installed("lemna")
source(test_path("lemna_helpers.R"), local=TRUE)

Expand All @@ -16,6 +17,7 @@ test_that("lemna::lemna, k_phot0_fixed=FALSE", {
})

test_that("lemna::lemna, k_phot0_fixed=TRUE", {
skip_on_os("mac") # macos numerics always deviate in some unforeseeable way
skip_if_not_installed("lemna")
source(test_path("lemna_helpers.R"), local=TRUE)

Expand Down

0 comments on commit 6c4a379

Please sign in to comment.