Running 'testthat.R' [19s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(jstor)
  > 
  > test_check("jstor")
  == Skipped tests ===============================================================
  * Downloading was disabled (1)
  * On Windows (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
  -- Error (test-writing-to-file.R:48:3): not writing column names works ---------
  Error: Cannot open file for writing:
  * 'D:\temp\RtmpmoLnjh\meta_data-1.csv'
  Backtrace:
      x
   1. \-jstor:::jstor_convert_to_file(...) test-writing-to-file.R:48:2
   2.   \-readr::write_csv(...)
   3.     \-readr::write_delim(...)
   4.       \-vroom::vroom_write(...)
   5.         \-vroom:::vroom_write_(...)
  -- Error (test-writing-to-file.R:63:3): writing error messages to file works ---
  Error: Cannot open file for writing:
  * 'D:\temp\RtmpmoLnjh\meta_data-1.csv'
  Backtrace:
      x
   1. \-jstor:::jstor_convert_to_file(...) test-writing-to-file.R:63:2
   2.   \-readr::write_csv(...)
   3.     \-readr::write_delim(...)
   4.       \-vroom::vroom_write(...)
   5.         \-vroom:::vroom_write_(...)
  -- Error (test-writing-to-file.R:88:3): import wrapper works with column names --
  Error: Cannot open file for writing:
  * 'D:\temp\RtmpmoLnjh\meta_data-1.csv'
  Backtrace:
      x
   1. \-jstor::jst_import(...) test-writing-to-file.R:88:2
   2.   \-purrr::pwalk(...)
   3.     \-purrr::pmap(.l, .f, ...)
   4.       \-jstor:::.f(...)
   5.         \-readr::write_csv(...)
   6.           \-readr::write_delim(...)
   7.             \-vroom::vroom_write(...)
   8.               \-vroom:::vroom_write_(...)
  -- Error (test-writing-to-file.R:101:3): import wrapper works without column names --
  Error: Cannot open file for writing:
  * 'D:\temp\RtmpmoLnjh\meta_data-1.csv'
  Backtrace:
      x
   1. \-jstor::jst_import(...) test-writing-to-file.R:101:2
   2.   \-purrr::pwalk(...)
   3.     \-purrr::pmap(.l, .f, ...)
   4.       \-jstor:::.f(...)
   5.         \-readr::write_csv(...)
   6.           \-readr::write_delim(...)
   7.             \-vroom::vroom_write(...)
   8.               \-vroom:::vroom_write_(...)
  -- Error (test-writing-to-file.R:114:3): files_per_batch works -----------------
  Error: Cannot open file for writing:
  * 'D:\temp\RtmpmoLnjh\meta_data-1.csv'
  Backtrace:
      x
   1. \-jstor::jst_import(...) test-writing-to-file.R:114:2
   2.   \-purrr::pwalk(...)
   3.     \-purrr::pmap(.l, .f, ...)
   4.       \-jstor:::.f(...)
   5.         \-readr::write_csv(...)
   6.           \-readr::write_delim(...)
   7.             \-vroom::vroom_write(...)
   8.               \-vroom:::vroom_write_(...)
  -- Error (test-writing-to-file.R:130:3): n_batches works for n > 1 -------------
  Error: Cannot open file for writing:
  * 'D:\temp\RtmpmoLnjh\meta_data-1.csv'
  Backtrace:
      x
   1. \-jstor::jst_import(...) test-writing-to-file.R:130:2
   2.   \-purrr::pwalk(...)
   3.     \-purrr::pmap(.l, .f, ...)
   4.       \-jstor:::.f(...)
   5.         \-readr::write_csv(...)
   6.           \-readr::write_delim(...)
   7.             \-vroom::vroom_write(...)
   8.               \-vroom:::vroom_write_(...)
  -- 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:
      x
   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:
      x
   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:
      x
   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:
      x
   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 12 | WARN 1 | SKIP 5 | PASS 235 ]
  Error: Test failures
  Execution halted