From 242079d30d2e0761d326503b92e99dd2682b1699 Mon Sep 17 00:00:00 2001 From: Sean Anderson Date: Mon, 23 Sep 2024 13:52:41 -0700 Subject: [PATCH] Skip 2 new tests on CRAN for speed --- tests/testthat/test-offset.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/testthat/test-offset.R b/tests/testthat/test-offset.R index b8448429..bb3e9120 100644 --- a/tests/testthat/test-offset.R +++ b/tests/testthat/test-offset.R @@ -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, @@ -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,