jstor
jstor copied to clipboard
Failure with tibble 3.1.3 reported by CRAN
I checked locally, can't replicate.
Package: jstor
Check: tests
New result: ERROR
Running âtestthat.Râ [10s/20s]
Running the tests in âtests/testthat.Râ failed.
Complete output:
library(testthat)
library(jstor)
test_check("jstor")
ââ Skipped tests âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
⢠Downloading was disabled (1)
⢠This test is stupid, should be improved. It depends on the console width
which is not a good idea. (1)
⢠empty test (2)
ââ Failed tests ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
ââ Failure (test-writing-to-file.R:24:3): writing correct results to file works ââ
read_csv("testfiles/correct_meta_data.csv", col_names = TRUE) not identical to read_csv(file.path(temp_dir, "/meta_data-1.csv"), col_names = TRUE).
Objects equal but not identical
ââ Failure (test-writing-to-file.R:38:3): writing to file in parallel works ââââ
read_csv("testfiles/correct_meta_data.csv", col_names = TRUE) not identical to read_csv(file.path(temp_dir, "/meta_data-1.csv"), col_names = TRUE).
Objects equal but not identical
ââ Failure (test-writing-to-file.R:51:3): not writing column names works âââââââ
read_csv("testfiles/correct_meta_data_wo_cols.csv", col_names = FALSE) not identical to read_csv(file.path(temp_dir, "/meta_data-1.csv"), col_names = FALSE).
Objects equal but not identical
ââ Failure (test-writing-to-file.R:80:3): writing error messages to file works ââ
`res` not identical to `correct_res`.
Objects equal but not identical
ââ Failure (test-writing-to-file.R:91:3): import wrapper works with column names ââ
read_csv("testfiles/correct_meta_data.csv", col_names = TRUE) not identical to read_csv(file.path(temp_dir, "/meta_data-1.csv"), col_names = TRUE).
Objects equal but not identical
ââ Failure (test-writing-to-file.R:104:3): import wrapper works without column names ââ
read_csv("testfiles/correct_meta_data_wo_cols.csv", col_names = FALSE) not identical to read_csv(file.path(temp_dir, "/meta_data-1.csv"), col_names = FALSE).
Objects equal but not identical
ââ Failure (test-writing-to-file.R:117:3): files_per_batch works âââââââââââââââ
read_csv("testfiles/correct_meta_data_wo_cols.csv", col_names = FALSE) not identical to read_csv(file.path(temp_dir, "/meta_data-1.csv"), col_names = FALSE).
Objects equal but not identical
ââ Failure (test-zip.R:51:3): importing from zip works âââââââââââââââââââââââââ
read_csv(file.path("testfiles", expected_file)) not identical to read_csv(file.path(test_dir, expected_file)).
Objects equal but not identical
Backtrace:
â
1. ââexpected_files %>% purrr::map(test_expected_zip) test-zip.R:51:2
2. ââpurrr::map(., test_expected_zip)
3. ââjstor:::.f(.x[[i]], ...)
4. ââtestthat::expect_identical(...) test-zip.R:48:4
ââ Failure (test-zip.R:51:3): importing from zip works âââââââââââââââââââââââââ
read_csv(file.path("testfiles", expected_file)) not identical to read_csv(file.path(test_dir, expected_file)).
Objects equal but not identical
Backtrace:
â
1. ââexpected_files %>% purrr::map(test_expected_zip) test-zip.R:51:2
2. ââpurrr::map(., test_expected_zip)
3. ââjstor:::.f(.x[[i]], ...)
4. ââtestthat::expect_identical(...) test-zip.R:48:4
ââ Failure (test-zip.R:51:3): importing from zip works âââââââââââââââââââââââââ
read_csv(file.path("testfiles", expected_file)) not identical to read_csv(file.path(test_dir, expected_file)).
Objects equal but not identical
Backtrace:
â
1. ââexpected_files %>% purrr::map(test_expected_zip) test-zip.R:51:2
2. ââpurrr::map(., test_expected_zip)
3. ââjstor:::.f(.x[[i]], ...)
4. ââtestthat::expect_identical(...) test-zip.R:48:4
ââ Failure (test-zip.R:51:3): importing from zip works âââââââââââââââââââââââââ
read_csv(file.path("testfiles", expected_file)) not identical to read_csv(file.path(test_dir, expected_file)).
Objects equal but not identical
Backtrace:
â
1. ââexpected_files %>% purrr::map(test_expected_zip) test-zip.R:51:2
2. ââpurrr::map(., test_expected_zip)
3. ââjstor:::.f(.x[[i]], ...)
4. ââtestthat::expect_identical(...) test-zip.R:48:4
[ FAIL 11 | WARN 1 | SKIP 4 | PASS 242 ]
Error: Test failures
Execution halted