Package: rbedrock Check: tests New result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [8s/12s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(rbedrock) > > test_check("rbedrock") [ FAIL 4 | WARN 0 | SKIP 0 | PASS 668 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_legacy-checksums.R:43:5'): update_checksums_data() works ───── act$val[exp_nms] not equal to exp$val. 7/7 mismatches x[1]: "6cf9269529574b65" y[1]: "654b57299526f96c" x[2]: "403f203fd8e9457c" y[2]: "7c45e9d83f203f40" x[3]: "a812d4bc2898fd19" y[3]: "19fd9828bcd412a8" x[4]: "fb387b3d2e4ddfb5" y[4]: "b5df4d2e3d7b38fb" x[5]: "849cd89c45b8b147" y[5]: "47b1b8459cd89c84" Backtrace: ▆ 1. └─testthat::expect_mapequal(dat[[!!k]], original_dat[[!!k]]) at test_legacy-checksums.R:43:5 2. └─testthat::expect_equal(act$val[exp_nms], exp$val) ── Failure ('test_legacy-checksums.R:43:5'): update_checksums_data() works ───── act$val[exp_nms] not equal to exp$val. 7/7 mismatches x[1]: "89f11dac5ebe8f96" y[1]: "968fbe5eac1df189" x[2]: "688e75a4f1fb24f8" y[2]: "f824fbf1a4758e68" x[3]: "8965b4b8b78ea0f9" y[3]: "f9a08eb7b8b46589" x[4]: "e3cb1fa86631a253" y[4]: "53a23166a81fcbe3" x[5]: "def2881b5a133003" y[5]: "0330135a1b88f2de" Backtrace: ▆ 1. └─testthat::expect_mapequal(dat[[!!k]], original_dat[[!!k]]) at test_legacy-checksums.R:43:5 2. └─testthat::expect_equal(act$val[exp_nms], exp$val) ── Error ('test_legacy-checksums.R:81:3'): read_checksums_value decodes correctly ── Error in `strsplit(x, character(0L))`: non-character argument Backtrace: ▆ 1. ├─rbedrock:::as_raw(...) at test_legacy-checksums.R:81:3 2. └─rbedrock (local) helper_checksum_as_raw(correct_val[[1]]) 3. └─base::strsplit(x, character(0L)) at test_legacy-checksums.R:70:3 ── Error ('test_legacy-checksums.R:104:3'): write_checksums_value encodes correctly ── Error in `strsplit(x, character(0L))`: non-character argument Backtrace: ▆ 1. ├─rbedrock:::as_raw(...) at test_legacy-checksums.R:104:3 2. └─rbedrock (local) helper_checksum_as_raw(correct_val[[1]]) 3. └─base::strsplit(x, character(0L)) at test_legacy-checksums.R:70:3 [ FAIL 4 | WARN 0 | SKIP 0 | PASS 668 ] Error: Test failures Execution halted