Skip to content

Commit

Permalink
Fix test on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Roe committed Nov 5, 2024
1 parent 5df6b75 commit 8aec0c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test-c14_calibrate.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ test_that("ages with pdens < min_pdens are filtered from c14_calibrate()", {
})

test_that('c14_calibrate() warns that min_pdens is not supported with `engine = "oxcal"`', {
mockery::stub(c14_calibrate, "requireNamespace", TRUE)
mockery::stub(c14_calibrate, "oxcAAR::quickSetupOxcal", NULL)
mockery::stub(c14_calibrate, "oxcAAR::oxcalCalibrate",
data.frame(x = numeric(), y = numeric()))
Expand Down

0 comments on commit 8aec0c6

Please sign in to comment.