Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(rbedrock)
  > 
  > test_check("rbedrock")
  [ FAIL 30 | WARN 0 | SKIP 0 | PASS 119 ]
  
  == Failed tests ================================================================
  -- Error ('test_1nbt.R:20'): read_nbt can read bytes ---------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equal(read_nbt(dat), list(test = nbt_byte(100))) at test_1nbt.R:20:4
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-rbedrock::read_nbt(dat)
   5. | \-rbedrock::from_rnbt(res)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_1nbt.R:30'): read_nbt can read shorts --------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equal(read_nbt(dat), list(test = nbt_short(612))) at test_1nbt.R:30:4
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-rbedrock::read_nbt(dat)
   5. | \-rbedrock::from_rnbt(res)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_1nbt.R:40'): read_nbt can read ints ----------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equal(read_nbt(dat), list(test = nbt_int(67306084L))) at test_1nbt.R:40:4
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-rbedrock::read_nbt(dat)
   5. | \-rbedrock::from_rnbt(res)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_1nbt.R:51'): read_nbt can read longs ---------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equal(read_nbt(dat), list(test = nbt_long(val))) at test_1nbt.R:51:4
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-rbedrock::read_nbt(dat)
   5. | \-rbedrock::from_rnbt(res)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_1nbt.R:62'): read_nbt can read floats --------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equal(read_nbt(dat), list(test = nbt_float(36))) at test_1nbt.R:62:4
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-rbedrock::read_nbt(dat)
   5. | \-rbedrock::from_rnbt(res)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_1nbt.R:68'): read_nbt can read doubles -------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equal(read_nbt(dat), list(test = nbt_double(36))) at test_1nbt.R:68:4
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-rbedrock::read_nbt(dat)
   5. | \-rbedrock::from_rnbt(res)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_1nbt.R:74'): read_nbt can read byte arrays ---------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equal(read_nbt(dat), list(test = nbt_byte_array(10:17))) at test_1nbt.R:74:4
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-rbedrock::read_nbt(dat)
   5. | \-rbedrock::from_rnbt(res)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_1nbt.R:84'): read_nbt can read strings -------------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equal(read_nbt(dat), list(test = nbt_string("hello world"))) at test_1nbt.R:84:4
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-rbedrock::read_nbt(dat)
   5. | \-rbedrock::from_rnbt(res)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_1nbt.R:98'): read_nbt can read int arrays ----------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equal(read_nbt(dat), list(test = nbt_int_array(10:11))) at test_1nbt.R:98:4
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-rbedrock::read_nbt(dat)
   5. | \-rbedrock::from_rnbt(res)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_1nbt.R:111'): read_nbt can read long arrays --------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equal(read_nbt(dat), list(test = nbt_long_array(val))) at test_1nbt.R:111:4
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-rbedrock::read_nbt(dat)
   5. | \-rbedrock::from_rnbt(res)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_1nbt.R:123'): read_nbt can read list values --------------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equal(...) at test_1nbt.R:123:4
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-rbedrock::read_nbt(dat)
   5. | \-rbedrock::from_rnbt(res)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_1nbt.R:141'): read_nbt can read compound values ----------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equal(...) at test_1nbt.R:141:4
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-rbedrock::read_nbt(dat)
   5. | \-rbedrock::from_rnbt(res)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_1nbt.R:152'): read_nbt simplifies values without names ---------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rbedrock::nbt_compound(A = a, B = b) at test_1nbt.R:152:4
   2. | \-rbedrock::new_nbt_compound(list2(...))
   3. \-base::loadNamespace(x)
   4.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_1nbt.R:171'): read_nbt does not simplify multiple values -------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rbedrock::nbt_compound(A = a, B = b) at test_1nbt.R:171:4
   2. | \-rbedrock::new_nbt_compound(list2(...))
   3. \-base::loadNamespace(x)
   4.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_1nbt.R:191'): unnbt() strips metadata from nbt data ------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rbedrock::nbt_compound(...) at test_1nbt.R:191:4
   2. | +-rbedrock::new_nbt_compound(list2(...))
   3. | | \-vctrs::vec_assert(x, ptype = list())
   4. | |   \-vctrs:::vec_is_vector(x)
   5. | \-rlang::list2(...)
   6. +-rbedrock::nbt_compound(nbt_long(10), nbt_float(10))
   7. | \-rbedrock::new_nbt_compound(list2(...))
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_1nbt.R:200'): write_nbt() correctly encodes nbt data -----------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equal(...) at test_1nbt.R:200:4
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-rbedrock::write_nbt(list(test = nbt_byte(10L)))
   5. | \-rbedrock::to_rnbt(object)
   6. \-base::loadNamespace(x)
   7.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_1nbt.R:247'): vec_ptype_full returns the right prototype string --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-testthat::expect_equal(...) at test_1nbt.R:247:4
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. +-vctrs::vec_ptype_full(nbt_compound())
   5. | \-vctrs:::s3_method_specific(x, "vec_ptype_full", ns = "vctrs")
   6. +-rbedrock::nbt_compound()
   7. | \-rbedrock::new_nbt_compound(list2(...))
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_2example.R:12'): opening an example world works ----------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_silent(rbedrock_example_world("example1.mcworld")) at test_2example.R:12:4
    2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
    3. |   +-testthat (local) .capture(...)
    4. |   | +-withr::with_output_sink(...)
    5. |   | | \-base::force(code)
    6. |   | +-base::withCallingHandlers(...)
    7. |   | \-base::withVisible(code)
    8. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. +-rbedrock::rbedrock_example_world("example1.mcworld")
   10. | +-base::suppressMessages(import_world(path, destdir))
   11. | | \-base::withCallingHandlers(...)
   12. | \-rbedrock::import_world(path, destdir)
   13. |   \-rbedrock::read_leveldat(dirpath)
   14. |     \-rbedrock::read_nbt(rawval)
   15. |       \-rbedrock::from_rnbt(res)
   16. \-base::loadNamespace(x)
   17.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_3bedrockdb.R:2'): bedrockdb can open and close a database ------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rbedrock::rbedrock_example_world("example1.mcworld") at test_3bedrockdb.R:2:4
   2. | +-base::suppressMessages(import_world(path, destdir))
   3. | | \-base::withCallingHandlers(...)
   4. | \-rbedrock::import_world(path, destdir)
   5. |   \-rbedrock::read_leveldat(dirpath)
   6. |     \-rbedrock::read_nbt(rawval)
   7. |       \-rbedrock::from_rnbt(res)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_biomes.R:1'): (code run outside of `test_that()`) --------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rbedrock::rbedrock_example_world("example1.mcworld") at test_biomes.R:1:0
   2. | +-base::suppressMessages(import_world(path, destdir))
   3. | | \-base::withCallingHandlers(...)
   4. | \-rbedrock::import_world(path, destdir)
   5. |   \-rbedrock::read_leveldat(dirpath)
   6. |     \-rbedrock::read_nbt(rawval)
   7. |       \-rbedrock::from_rnbt(res)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_block_entities.R:1'): (code run outside of `test_that()`) ------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rbedrock::rbedrock_example_world("example1.mcworld") at test_block_entities.R:1:0
   2. | +-base::suppressMessages(import_world(path, destdir))
   3. | | \-base::withCallingHandlers(...)
   4. | \-rbedrock::import_world(path, destdir)
   5. |   \-rbedrock::read_leveldat(dirpath)
   6. |     \-rbedrock::read_nbt(rawval)
   7. |       \-rbedrock::from_rnbt(res)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_blocks.R:1'): (code run outside of `test_that()`) --------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rbedrock::rbedrock_example_world("example1.mcworld") at test_blocks.R:1:0
   2. | +-base::suppressMessages(import_world(path, destdir))
   3. | | \-base::withCallingHandlers(...)
   4. | \-rbedrock::import_world(path, destdir)
   5. |   \-rbedrock::read_leveldat(dirpath)
   6. |     \-rbedrock::read_nbt(rawval)
   7. |       \-rbedrock::from_rnbt(res)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_checksums.R:1'): (code run outside of `test_that()`) -----------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rbedrock::rbedrock_example_world("example1.mcworld") at test_checksums.R:1:0
   2. | +-base::suppressMessages(import_world(path, destdir))
   3. | | \-base::withCallingHandlers(...)
   4. | \-rbedrock::import_world(path, destdir)
   5. |   \-rbedrock::read_leveldat(dirpath)
   6. |     \-rbedrock::read_nbt(rawval)
   7. |       \-rbedrock::from_rnbt(res)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_data.R:1'): (code run outside of `test_that()`) ----------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rbedrock::rbedrock_example_world("example1.mcworld") at test_data.R:1:0
   2. | +-base::suppressMessages(import_world(path, destdir))
   3. | | \-base::withCallingHandlers(...)
   4. | \-rbedrock::import_world(path, destdir)
   5. |   \-rbedrock::read_leveldat(dirpath)
   6. |     \-rbedrock::read_nbt(rawval)
   7. |       \-rbedrock::from_rnbt(res)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_entities.R:1'): (code run outside of `test_that()`) ------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rbedrock::rbedrock_example_world("example1.mcworld") at test_entities.R:1:0
   2. | +-base::suppressMessages(import_world(path, destdir))
   3. | | \-base::withCallingHandlers(...)
   4. | \-rbedrock::import_world(path, destdir)
   5. |   \-rbedrock::read_leveldat(dirpath)
   6. |     \-rbedrock::read_nbt(rawval)
   7. |       \-rbedrock::from_rnbt(res)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_finalization.R:1'): (code run outside of `test_that()`) --------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rbedrock::rbedrock_example_world("example1.mcworld") at test_finalization.R:1:0
   2. | +-base::suppressMessages(import_world(path, destdir))
   3. | | \-base::withCallingHandlers(...)
   4. | \-rbedrock::import_world(path, destdir)
   5. |   \-rbedrock::read_leveldat(dirpath)
   6. |     \-rbedrock::read_nbt(rawval)
   7. |       \-rbedrock::from_rnbt(res)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_hsa.R:1'): (code run outside of `test_that()`) -----------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rbedrock::rbedrock_example_world("example1.mcworld") at test_hsa.R:1:0
   2. | +-base::suppressMessages(import_world(path, destdir))
   3. | | \-base::withCallingHandlers(...)
   4. | \-rbedrock::import_world(path, destdir)
   5. |   \-rbedrock::read_leveldat(dirpath)
   6. |     \-rbedrock::read_nbt(rawval)
   7. |       \-rbedrock::from_rnbt(res)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_maps2d.R:1'): (code run outside of `test_that()`) --------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rbedrock::rbedrock_example_world("example1.mcworld") at test_maps2d.R:1:0
   2. | +-base::suppressMessages(import_world(path, destdir))
   3. | | \-base::withCallingHandlers(...)
   4. | \-rbedrock::import_world(path, destdir)
   5. |   \-rbedrock::read_leveldat(dirpath)
   6. |     \-rbedrock::read_nbt(rawval)
   7. |       \-rbedrock::from_rnbt(res)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_maps3d.R:1'): (code run outside of `test_that()`) --------------
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
      x
   1. +-rbedrock::rbedrock_example_world("example2.mcworld") at test_maps3d.R:1:0
   2. | +-base::suppressMessages(import_world(path, destdir))
   3. | | \-base::withCallingHandlers(...)
   4. | \-rbedrock::import_world(path, destdir)
   5. |   \-rbedrock::read_leveldat(dirpath)
   6. |     \-rbedrock::read_nbt(rawval)
   7. |       \-rbedrock::from_rnbt(res)
   8. \-base::loadNamespace(x)
   9.   \-base::library.dynam(lib, package, package.lib)
  -- Error ('test_worlds.R:5'): create_world creates a world that can be loaded --
  Error in `library.dynam(lib, package, package.lib)`: DLL 'purrr' not found: maybe not installed for this architecture?
  Backtrace:
       x
    1. +-testthat::expect_message(...) at test_worlds.R:5:4
    2. | \-testthat:::quasi_capture(enquo(object), label, capture_messages)
    3. |   +-testthat (local) .capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. +-rbedrock::create_world(...)
    7. | \-rbedrock::read_leveldat(rbedrock_example("default_level.dat"))
    8. |   \-rbedrock::read_nbt(rawval)
    9. |     \-rbedrock::from_rnbt(res)
   10. \-base::loadNamespace(x)
   11.   \-base::library.dynam(lib, package, package.lib)
  
  [ FAIL 30 | WARN 0 | SKIP 0 | PASS 119 ]
  Error: Test failures
  Execution halted