Skip to content

Commit

Permalink
skip Matrix ABI-dependent tests on R < 4.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed May 15, 2024
1 parent e09b38c commit fbf20db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testthat/test-emmeans.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ context("emmeans")

skip_on_cran()

# Matrix ABI version may differ (#1204)
skip_if(paste0(R.Version()[c("major", "minor")], collapse = ".") < "4.4.0")

skip_if_not_installed("modeltests")
library(modeltests)

Expand Down
3 changes: 3 additions & 0 deletions tests/testthat/test-metafor.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ context("rma")

skip_on_cran()

# Matrix ABI version may differ (#1204)
skip_if(paste0(R.Version()[c("major", "minor")], collapse = ".") < "4.4.0")

skip_if_not_installed("modeltests")
library(modeltests)

Expand Down

0 comments on commit fbf20db

Please sign in to comment.