Skip to content

Commit

Permalink
test check_outliers ics which on R devel
Browse files Browse the repository at this point in the history
  • Loading branch information
rempsyc committed Sep 10, 2023
1 parent 7b181e1 commit 342137c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/testthat/test-check_outliers.R
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,10 @@ test_that("mcd which", {
})

## FIXME: Fails on CRAN/windows
# (current CRAN version rstan is not compatible with R > 4.2)
test_that("ics which", {
# suddenly fails on R Under development (unstable) (2023-09-07 r85102)
# gcc-13 (Debian 13.2.0-2) 13.2.0
skip_on_os("linux")
skip_if_not_installed("rstan", minimum_version = "2.26.0")
set.seed(42)
# skip_on_os("linux")
expect_identical(
which(check_outliers(mtcars, method = "ics", threshold = 0.001)),
as.integer(c(9, 29))
Expand Down

0 comments on commit 342137c

Please sign in to comment.