Skip to content

Commit

Permalink
Skip 2 new tests on CRAN for speed
Browse files Browse the repository at this point in the history
  • Loading branch information
seananderson committed Sep 23, 2024
1 parent e868be2 commit 242079d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-offset.R
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ test_that("Offset prediction matches glm()", {
})

test_that("offset gets passed through cross validation as expected #372", {
skip_on_cran()
dat <- subset(dogfish, catch_weight > 0)
expect_error(
x <- sdmTMB_cv(catch_weight ~ 1,
Expand All @@ -161,6 +162,7 @@ test_that("offset gets passed through cross validation as expected #372", {
})

test_that("predicting on newdata with a non-null offset in fit but a null offset in predict informs the user appropriately", {
skip_on_cran()
dat <- subset(dogfish, catch_weight > 0)
fit <- sdmTMB(
catch_weight ~ 1,
Expand Down

0 comments on commit 242079d

Please sign in to comment.