Skip to content

Commit

Permalink
Don't skip tests in R CMD check. (#13)
Browse files Browse the repository at this point in the history
* Don't skip tests in R CMD check.

* Skip failing test.

* Fix variable typo in partitioned loader

* Don't skip test

---------

Co-authored-by: Manuel Burger <[email protected]>
  • Loading branch information
mlondschien and manuelburger authored Apr 19, 2024
1 parent 057ff9a commit 29593fb
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
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

0 comments on commit 29593fb

Please sign in to comment.