From 5652b2b243883f69a7d162f676176c819be956e3 Mon Sep 17 00:00:00 2001 From: Malte Londschien Date: Wed, 27 Mar 2024 12:09:55 +0100 Subject: [PATCH] Don't skip tests in R CMD check. --- tests/testthat/test-callback.R | 2 +- tests/testthat/test-concept.R | 2 +- tests/testthat/test-helpers.R | 2 +- tests/testthat/test-scores.R | 2 +- tests/testthat/test-setup-attach.R | 2 +- tests/testthat/test-setup-import.R | 2 +- tests/testthat/test-tbl-base.R | 2 +- tests/testthat/test-tbl-class.R | 2 +- tests/testthat/test-tbl-utils.R | 2 +- tests/testthat/test-utils-cli.R | 2 +- tests/testthat/test-utils-export.R | 2 +- tests/testthat/test-utils-file.R | 2 +- tests/testthat/test-utils-ts.R | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/tests/testthat/test-callback.R b/tests/testthat/test-callback.R index b4ec6014..fe19faa7 100644 --- a/tests/testthat/test-callback.R +++ b/tests/testthat/test-callback.R @@ -1,4 +1,4 @@ -skip_on_cran() + test_that("aumc callbacks", { diff --git a/tests/testthat/test-concept.R b/tests/testthat/test-concept.R index a96827fb..625e57da 100644 --- a/tests/testthat/test-concept.R +++ b/tests/testthat/test-concept.R @@ -1,4 +1,4 @@ -skip_on_cran() + test_that("load hirid items", { diff --git a/tests/testthat/test-helpers.R b/tests/testthat/test-helpers.R index 82b828dd..0e4c3b9c 100644 --- a/tests/testthat/test-helpers.R +++ b/tests/testthat/test-helpers.R @@ -1,4 +1,4 @@ -skip_on_cran() + test_that("expect_all_identical", { diff --git a/tests/testthat/test-scores.R b/tests/testthat/test-scores.R index 8ff24de9..c1e788b4 100644 --- a/tests/testthat/test-scores.R +++ b/tests/testthat/test-scores.R @@ -1,4 +1,4 @@ -skip_on_cran() + skip_if_srcs_missing(c("mimic_demo", "eicu_demo")) diff --git a/tests/testthat/test-setup-attach.R b/tests/testthat/test-setup-attach.R index 9508a395..82a238aa 100644 --- a/tests/testthat/test-setup-attach.R +++ b/tests/testthat/test-setup-attach.R @@ -1,4 +1,4 @@ -skip_on_cran() + test_that("auto attach env var", { diff --git a/tests/testthat/test-setup-import.R b/tests/testthat/test-setup-import.R index 999e5337..8485ae46 100644 --- a/tests/testthat/test-setup-import.R +++ b/tests/testthat/test-setup-import.R @@ -1,4 +1,4 @@ -skip_on_cran() + tmp_cars <- withr::local_tempdir() diff --git a/tests/testthat/test-tbl-base.R b/tests/testthat/test-tbl-base.R index 4f902465..860d017b 100644 --- a/tests/testthat/test-tbl-base.R +++ b/tests/testthat/test-tbl-base.R @@ -1,4 +1,4 @@ -skip_on_cran() + test_that("icu_tbl subsetting", { diff --git a/tests/testthat/test-tbl-class.R b/tests/testthat/test-tbl-class.R index 3e2308a9..a5b24549 100644 --- a/tests/testthat/test-tbl-class.R +++ b/tests/testthat/test-tbl-class.R @@ -1,4 +1,4 @@ -skip_on_cran() + test_that("id_tbl constructors", { diff --git a/tests/testthat/test-tbl-utils.R b/tests/testthat/test-tbl-utils.R index 2346056e..44d80d1c 100644 --- a/tests/testthat/test-tbl-utils.R +++ b/tests/testthat/test-tbl-utils.R @@ -1,4 +1,4 @@ -skip_on_cran() + test_that("rename_cols for id_tbl", { diff --git a/tests/testthat/test-utils-cli.R b/tests/testthat/test-utils-cli.R index b7195ba2..5678b336 100644 --- a/tests/testthat/test-utils-cli.R +++ b/tests/testthat/test-utils-cli.R @@ -1,4 +1,4 @@ -skip_on_cran() + test_that("cli progress", { diff --git a/tests/testthat/test-utils-export.R b/tests/testthat/test-utils-export.R index eb810932..c20893d7 100644 --- a/tests/testthat/test-utils-export.R +++ b/tests/testthat/test-utils-export.R @@ -1,4 +1,4 @@ -skip_on_cran() + test_that("psv export", { diff --git a/tests/testthat/test-utils-file.R b/tests/testthat/test-utils-file.R index 1f78e874..facefcac 100644 --- a/tests/testthat/test-utils-file.R +++ b/tests/testthat/test-utils-file.R @@ -1,4 +1,4 @@ -skip_on_cran() + test_that("data dir", { diff --git a/tests/testthat/test-utils-ts.R b/tests/testthat/test-utils-ts.R index e58c45cc..954d6f4b 100644 --- a/tests/testthat/test-utils-ts.R +++ b/tests/testthat/test-utils-ts.R @@ -1,4 +1,4 @@ -skip_on_cran() + test_that("collapse/expand", {