Skip to content

Commit b807f59

Browse files
committed
Avoid problem with CRAN test on M1mac
1 parent 96091fa commit b807f59

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/testthat/test-project_methods.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,8 @@ test_that("Test that fft based integrator gives similar result as old code", {
562562
# Test available energy integral
563563
prfft <- getPredRate(params, params@initial_n, params@initial_n_pp)
564564
pr <- getPredRate(params2, params@initial_n, params@initial_n_pp)
565+
# Due to problem with fft on M1mac, skip this test on CRAN
566+
skip_on_cran()
565567
expect_equal(prfft, pr, tolerance = 1e-15, ignore_attr = TRUE)
566568
})
567569

0 commit comments

Comments
 (0)