Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't skip tests in R CMD check. #13

Merged
merged 6 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion R/setup-import.R
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ partition_table <- function(x, dir, progress = NULL, chunk_length = 10 ^ 7, temp
for (i in seq_along(file)) {
dat <- readr::read_csv(file[i], col_types = spec, progress = FALSE, ...)
report_problems(dat, rawf[i])
split_write(callback(data), pfun, tempdir, i, progress, name, tick)
split_write(callback(dat), pfun, tempdir, i, progress, name, tick)
}
}

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-callback.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
skip_on_cran()


test_that("aumc callbacks", {

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-concept.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
skip_on_cran()


test_that("load hirid items", {

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-helpers.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
skip_on_cran()


test_that("expect_all_identical", {

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-scores.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
skip_on_cran()


skip_if_srcs_missing(c("mimic_demo", "eicu_demo"))

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-setup-attach.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
skip_on_cran()


test_that("auto attach env var", {

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-setup-import.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
skip_on_cran()


tmp_cars <- withr::local_tempdir()

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-tbl-base.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
skip_on_cran()


test_that("icu_tbl subsetting", {

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-tbl-class.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
skip_on_cran()


test_that("id_tbl constructors", {

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-tbl-utils.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
skip_on_cran()


test_that("rename_cols for id_tbl", {

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-utils-cli.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
skip_on_cran()


test_that("cli progress", {

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-utils-export.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
skip_on_cran()


test_that("psv export", {

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-utils-file.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
skip_on_cran()


test_that("data dir", {

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-utils-ts.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
skip_on_cran()


test_that("collapse/expand", {

Expand Down
Loading