Running 'testthat.R' [19s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(dataspice)
  > 
  > test_check("dataspice")
  == Failed tests ================================================================
  -- Error (test-prep_access.R:38:3): prep_access works correctly ----------------
  Error: Cannot open file for writing:
  * 'D:\temp\Rtmp4k880c\data\metadata\access.csv'
  Backtrace:
      x
   1. \-dataspice::prep_access() test-prep_access.R:38:2
   2.   \-readr::write_csv(access, access_path)
   3.     \-readr::write_delim(...)
   4.       \-vroom::vroom_write(...)
   5.         \-vroom:::vroom_write_(...)
  -- Error (test-prep_attributes.R:35:3): attributes-not-overwritten-for-same-file --
  Error: Cannot open file for writing:
  * 'D:\temp\Rtmp4k880c\metadata\attributes.csv'
  Backtrace:
       x
    1. +-testthat::expect_warning(...) test-prep_attributes.R:35:2
    2. | \-testthat:::quasi_capture(enquo(object), label, capture_warnings)
    3. |   +-testthat:::.capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. \-dataspice::prep_attributes(data_path, attributes_path)
    7.   \-readr::write_csv(attributes, attributes_path)
    8.     \-readr::write_delim(...)
    9.       \-vroom::vroom_write(...)
   10.         \-vroom:::vroom_write_(...)
  -- Error (test-prep_attributes.R:47:3): second-file-updates-correctly ----------
  Error: Cannot open file for writing:
  * 'D:\temp\Rtmp4k880c\metadata\attributes.csv'
  Backtrace:
       x
    1. +-testthat::expect_message(...) test-prep_attributes.R:47:2
    2. | \-testthat:::quasi_capture(enquo(object), label, capture_messages)
    3. |   +-testthat:::.capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. \-dataspice::prep_attributes(data_path, attributes_path)
    7.   \-readr::write_csv(attributes, attributes_path)
    8.     \-readr::write_delim(...)
    9.       \-vroom::vroom_write(...)
   10.         \-vroom:::vroom_write_(...)
  -- Error (test-prep_attributes.R:60:1): (code run outside of `test_that()`) ----
  Error: Cannot open file for writing:
  * 'D:\temp\Rtmp4k880c\metadata\attributes.csv'
  Backtrace:
      x
   1. +-readr::read_csv(attributes_path)[0, ] %>% readr::write_csv(attributes_path) test-prep_attributes.R:60:0
   2. \-readr::write_csv(., attributes_path)
   3.   \-readr::write_delim(...)
   4.     \-vroom::vroom_write(...)
   5.       \-vroom:::vroom_write_(...)
  
  [ FAIL 4 | WARN 2 | SKIP 0 | PASS 69 ]
  Error: Test failures
  Execution halted