Running 'testthat.R' [9s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(git2rdata)
  > 
  > test_check("git2rdata")
  == Warnings ====================================================================
  -- Warning (test_a_basics.R:23:1): (code run outside of `test_that()`) ---------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. testthat::expect_is(...) test_a_basics.R:23:0
   5. git2rdata:::write_vc.character(...)
   7. git2rdata:::meta.data.frame(...)
  -- Warning (test_a_basics.R:45:1): (code run outside of `test_that()`) ---------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. testthat::expect_identical(...) test_a_basics.R:45:0
   5. git2rdata:::write_vc.character(...)
   7. git2rdata:::meta.data.frame(...)
  -- Warning (test_a_basics.R:53:1): (code run outside of `test_that()`) ---------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. testthat::expect_error(...) test_a_basics.R:53:0
   7. git2rdata:::write_vc.character(...)
   9. git2rdata:::meta.data.frame(...)
  -- Warning (test_a_basics.R:71:1): (code run outside of `test_that()`) ---------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. testthat::expect_is(...) test_a_basics.R:71:0
   5. git2rdata:::write_vc.character(...)
   7. git2rdata:::meta.data.frame(...)
  -- Warning (test_a_basics.R:93:1): (code run outside of `test_that()`) ---------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. testthat::expect_error(...) test_a_basics.R:93:0
   7. git2rdata:::write_vc.character(...)
   9. git2rdata:::meta.data.frame(...)
  -- Warning (test_a_basics.R:188:1): (code run outside of `test_that()`) --------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. testthat::expect_is(...) test_a_basics.R:188:0
   5. git2rdata:::write_vc.character(...)
   7. git2rdata:::meta.data.frame(...)
  -- Warning (test_b_is_git2rmeta.R:32:3): is_git2rmeta checks metadata ----------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(test_data, file = file, root = root, sorting = "test_Date") test_b_is_git2rmeta.R:32:2
   2. git2rdata:::write_vc.character(...)
   4. git2rdata:::meta.data.frame(...)
  -- Warning (test_b_is_git2rmeta.R:122:3): is_git2rdata checks data -------------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(test_data, file = file, root = root, sorting = "test_Date") test_b_is_git2rmeta.R:122:2
   2. git2rdata:::write_vc.character(...)
   4. git2rdata:::meta.data.frame(...)
  -- Warning (test_b_is_git2rmeta.R:158:3): is_git2rmeta handle git repositories --
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(test_data, file = file, root = root, sorting = "test_Date") test_b_is_git2rmeta.R:158:2
   2. git2rdata:::write_vc.git_repository(...)
   4. git2rdata:::write_vc.character(...)
   6. git2rdata:::meta.data.frame(...)
  -- Warning (test_b_prune.R:13:1): (code run outside of `test_that()`) ----------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(test_data, file = "test", root = root, sorting = "test_Date") test_b_prune.R:13:0
   2. git2rdata:::write_vc.character(...)
   4. git2rdata:::meta.data.frame(...)
  -- Warning (test_b_prune.R:14:1): (code run outside of `test_that()`) ----------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(...) test_b_prune.R:14:0
   2. git2rdata:::write_vc.character(...)
   4. git2rdata:::meta.data.frame(...)
  -- Warning (test_b_prune.R:38:1): (code run outside of `test_that()`) ----------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(test_data, file = "test1", root = root, sorting = "test_Date") test_b_prune.R:38:0
   2. git2rdata:::write_vc.character(...)
   4. git2rdata:::meta.data.frame(...)
  -- Warning (test_b_prune.R:39:1): (code run outside of `test_that()`) ----------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(test_data, file = "test2", root = root, sorting = "test_Date") test_b_prune.R:39:0
   2. git2rdata:::write_vc.character(...)
   4. git2rdata:::meta.data.frame(...)
  -- Warning (test_b_prune.R:40:1): (code run outside of `test_that()`) ----------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(...) test_b_prune.R:40:0
   2. git2rdata:::write_vc.character(...)
   4. git2rdata:::meta.data.frame(...)
  -- Warning (test_b_prune.R:72:1): (code run outside of `test_that()`) ----------
  cannot remove file 'D:/temp/Rtmp4Q8uM8/git2rdata-prune197d464b278c2/a', reason 'Permission denied'
  Backtrace:
   1. base::file.remove(...) test_b_prune.R:72:0
  -- Warning (test_c_git.R:10:1): (code run outside of `test_that()`) ------------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(...) test_c_git.R:10:0
   2. git2rdata:::write_vc.git_repository(...)
   4. git2rdata:::write_vc.character(...)
   6. git2rdata:::meta.data.frame(...)
  -- Warning (test_c_git.R:35:1): (code run outside of `test_that()`) ------------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(...) test_c_git.R:35:0
   2. git2rdata:::write_vc.git_repository(...)
   4. git2rdata:::write_vc.character(...)
   6. git2rdata:::meta.data.frame(...)
  -- Warning (test_c_git.R:60:1): (code run outside of `test_that()`) ------------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(...) test_c_git.R:60:0
   2. git2rdata:::write_vc.git_repository(...)
   4. git2rdata:::write_vc.character(...)
   6. git2rdata:::meta.data.frame(...)
  -- Warning (test_c_git.R:85:1): (code run outside of `test_that()`) ------------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(...) test_c_git.R:85:0
   2. git2rdata:::write_vc.git_repository(...)
   4. git2rdata:::write_vc.character(...)
   6. git2rdata:::meta.data.frame(...)
  -- Warning (test_c_git.R:169:1): (code run outside of `test_that()`) -----------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(...) test_c_git.R:169:0
   2. git2rdata:::write_vc.git_repository(...)
   4. git2rdata:::write_vc.character(...)
   6. git2rdata:::meta.data.frame(...)
  -- Warning (test_c_git.R:202:1): (code run outside of `test_that()`) -----------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(...) test_c_git.R:202:0
   2. git2rdata:::write_vc.git_repository(...)
   4. git2rdata:::write_vc.character(...)
   6. git2rdata:::meta.data.frame(...)
  -- Warning (test_c_git.R:225:1): (code run outside of `test_that()`) -----------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(...) test_c_git.R:225:0
   2. git2rdata:::write_vc.git_repository(...)
   4. git2rdata:::write_vc.character(...)
   6. git2rdata:::meta.data.frame(...)
  -- Warning (test_c_git.R:248:1): (code run outside of `test_that()`) -----------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(...) test_c_git.R:248:0
   2. git2rdata:::write_vc.git_repository(...)
   4. git2rdata:::write_vc.character(...)
   6. git2rdata:::meta.data.frame(...)
  -- Warning (test_c_git.R:251:1): (code run outside of `test_that()`) -----------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(...) test_c_git.R:251:0
   2. git2rdata:::write_vc.git_repository(...)
   4. git2rdata:::write_vc.character(...)
   6. git2rdata:::meta.data.frame(...)
  -- Warning (test_e_upgrade.R:6:3): read_vc() checks version --------------------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(test_data, file = file, root = root, sorting = "test_Date") test_e_upgrade.R:6:2
   2. git2rdata:::write_vc.character(...)
   4. git2rdata:::meta.data.frame(...)
  -- Warning (test_e_upgrade.R:26:3): relabel() checks version -------------------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(test_data, file = file, root = root, sorting = "test_Date") test_e_upgrade.R:26:2
   2. git2rdata:::write_vc.character(...)
   4. git2rdata:::meta.data.frame(...)
  -- Warning (test_e_upgrade.R:47:3): upgrade_data() validates metadata ----------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(test_data, file = file, root = root, sorting = "test_Date") test_e_upgrade.R:47:2
   2. git2rdata:::write_vc.character(...)
   4. git2rdata:::meta.data.frame(...)
  -- Warning (test_e_upgrade.R:76:3): upgrade_data() validates metadata ----------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(...) test_e_upgrade.R:76:2
   2. git2rdata:::write_vc.character(...)
   4. git2rdata:::meta.data.frame(...)
  -- Warning (test_e_upgrade.R:92:3): upgrade_data() works from 0.0.3 to 0.0.4 ---
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(test_data, file = file, root = root, sorting = "test_Date") test_e_upgrade.R:92:2
   2. git2rdata:::write_vc.character(...)
   4. git2rdata:::meta.data.frame(...)
  -- Warning (test_e_upgrade.R:138:3): upgrade_data() works from 0.0.3 to 0.0.4 --
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(test_data, file = file, root = root, sorting = "test_Date") test_e_upgrade.R:138:2
   2. git2rdata:::write_vc.git_repository(...)
   4. git2rdata:::write_vc.character(...)
   6. git2rdata:::meta.data.frame(...)
  -- Warning (test_e_validate_metadata.R:6:3): read_vc() checks hash -------------
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(test_data, file = file, root = root, sorting = "test_Date") test_e_validate_metadata.R:6:2
   2. git2rdata:::write_vc.character(...)
   4. git2rdata:::meta.data.frame(...)
  -- Warning (test_e_validate_metadata.R:37:3): read_vc() handles changes in rawdata --
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(test_data, file = file, root = root, sorting = "test_Date") test_e_validate_metadata.R:37:2
   2. git2rdata:::write_vc.character(...)
   4. git2rdata:::meta.data.frame(...)
  -- Warning (test_e_validate_metadata.R:54:3): write_vc() checks existing metadata --
  Sorting on 'test_Date' results in ties.
  Add extra sorting variables to ensure small diffs.
  Backtrace:
   1. git2rdata::write_vc(test_data, file = file, root = root, sorting = "test_Date") test_e_validate_metadata.R:54:2
   2. git2rdata:::write_vc.character(...)
   4. git2rdata:::meta.data.frame(...)
  
  == Failed tests ================================================================
  -- Failure (test_b_special.R:20:1): (code run outside of `test_that()`) --------
  names(output)[1] not equal to "9e5edf55ceadd2c148d6d715ea5d12cc8e1538d8".
  1/1 mismatches
  x[1]: "8125edbc8804db1445d175c156855da31d120ffd"
  y[1]: "9e5edf55ceadd2c148d6d715ea5d12cc8e1538d8"
  -- Failure (test_b_special.R:65:1): (code run outside of `test_that()`) --------
  names(output)[1] not equal to "9e5edf55ceadd2c148d6d715ea5d12cc8e1538d8".
  1/1 mismatches
  x[1]: "8125edbc8804db1445d175c156855da31d120ffd"
  y[1]: "9e5edf55ceadd2c148d6d715ea5d12cc8e1538d8"
  
  [ FAIL 2 | WARN 33 | SKIP 0 | PASS 335 ]
  Error: Test failures
  Execution halted