Closed barracuda156 closed 1 year ago
The digest package is nearly twenty years old, and the core of its operations is solid. It was for many years tested under Solaris (when CRAN still had such a machine) which covered the other side of endianness.
You seem to have found that two of more-recently added algos (blake3, spooky) do not behave well on your platform. That can happen -- you have access to such a platform so maybe you want to provide a PR that either addresses it (that would be ideal), or skips the tests on that platform and documents the failure. Only you can do that: nobody else (and I mean literally nobody else) appears to use R on that platform.
Bigger picture, there is nothing much new here. You believe you provide a service by sending in long reports logging failures on the platform on which running R is your passion. We do not run on that platform, we do not have access. It's fine to report this here and note the shortcoming, but I doubt it really changes anything.
@eddelbuettel Thank you. You cannot test on Solaris anymore, right? As usual, mostly this kind of issues are not specific to my platform, but either common to Big-endian or common to 32-bit, which makes sense to fix (several *BSD and Linux distros currently exist for both, AIX is there, QNX is/was there). (I may like macOS ppc personally, but I perfectly understand that very few people are using it presently.)
blake3
fixed by https://github.com/eddelbuettel/digest/pull/205 (fix from upstream).
Now only spooky ones fail:
R version 4.4.1 (2024-06-14) -- "Race for Your Life"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: powerpc-apple-darwin10.0.0d2 (32-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
>
> if (requireNamespace("tinytest", quietly=TRUE)) {
+
+ ## Set a seed to make the test deterministic
+ set.seed(42)
+
+ ## there are several more granular ways to test files in a
+ ## tinytest directory, see its package vignette; tests can also
+ ## run once the package is installed using the same command
+
+ ## we need version 0.9.3 or later
+ if (packageVersion("tinytest") >= "0.9.3") {
+ ## expect_length is in tinytest 1.4.1
+ if (!"expect_length" %in% getNamespaceExports("tinytest")) {
+ expect_length <- function(x, n) tinytest::expect_equal(length(x), n)
+ }
+ tinytest::test_package("digest")
+ }
+ }
test_aes.R.................... 0 tests
test_aes.R.................... 0 tests
test_aes.R.................... 0 tests
test_aes.R.................... 0 tests
test_aes.R.................... 0 tests
test_aes.R.................... 0 tests
test_aes.R.................... 0 tests
test_aes.R.................... 1 tests [0;32mOK[0m
test_aes.R.................... 2 tests [0;32mOK[0m
test_aes.R.................... 2 tests [0;32mOK[0m
test_aes.R.................... 2 tests [0;32mOK[0m
test_aes.R.................... 2 tests [0;32mOK[0m
test_aes.R.................... 2 tests [0;32mOK[0m
test_aes.R.................... 3 tests [0;32mOK[0m
test_aes.R.................... 4 tests [0;32mOK[0m
test_aes.R.................... 4 tests [0;32mOK[0m
test_aes.R.................... 4 tests [0;32mOK[0m
test_aes.R.................... 4 tests [0;32mOK[0m
test_aes.R.................... 4 tests [0;32mOK[0m
test_aes.R.................... 5 tests [0;32mOK[0m
test_aes.R.................... 6 tests [0;32mOK[0m
test_aes.R.................... 6 tests [0;32mOK[0m
test_aes.R.................... 6 tests [0;32mOK[0m
test_aes.R.................... 6 tests [0;32mOK[0m
test_aes.R.................... 6 tests [0;32mOK[0m
test_aes.R.................... 6 tests [0;32mOK[0m
test_aes.R.................... 7 tests [0;32mOK[0m
test_aes.R.................... 8 tests [0;32mOK[0m
test_aes.R.................... 8 tests [0;32mOK[0m
test_aes.R.................... 8 tests [0;32mOK[0m
test_aes.R.................... 8 tests [0;32mOK[0m
test_aes.R.................... 8 tests [0;32mOK[0m
test_aes.R.................... 9 tests [0;32mOK[0m
test_aes.R.................... 9 tests [0;32mOK[0m
test_aes.R.................... 10 tests [0;32mOK[0m
test_aes.R.................... 10 tests [0;32mOK[0m
test_aes.R.................... 10 tests [0;32mOK[0m
test_aes.R.................... 10 tests [0;32mOK[0m
test_aes.R.................... 10 tests [0;32mOK[0m
test_aes.R.................... 11 tests [0;32mOK[0m
test_aes.R.................... 11 tests [0;32mOK[0m
test_aes.R.................... 12 tests [0;32mOK[0m
test_aes.R.................... 12 tests [0;32mOK[0m
test_aes.R.................... 12 tests [0;32mOK[0m
test_aes.R.................... 12 tests [0;32mOK[0m
test_aes.R.................... 12 tests [0;32mOK[0m
test_aes.R.................... 12 tests [0;32mOK[0m
test_aes.R.................... 12 tests [0;32mOK[0m
test_aes.R.................... 12 tests [0;32mOK[0m
test_aes.R.................... 12 tests [0;32mOK[0m
test_aes.R.................... 13 tests [0;32mOK[0m
test_aes.R.................... 13 tests [0;32mOK[0m
test_aes.R.................... 14 tests [0;32mOK[0m
test_aes.R.................... 14 tests [0;32mOK[0m
test_aes.R.................... 14 tests [0;32mOK[0m
test_aes.R.................... 14 tests [0;32mOK[0m
test_aes.R.................... 15 tests [0;32mOK[0m
test_aes.R.................... 15 tests [0;32mOK[0m
test_aes.R.................... 16 tests [0;32mOK[0m
test_aes.R.................... 16 tests [0;32mOK[0m
test_aes.R.................... 17 tests [0;32mOK[0m
test_aes.R.................... 18 tests [0;32mOK[0m
test_aes.R.................... 18 tests [0;32mOK[0m
test_aes.R.................... 19 tests [0;32mOK[0m
test_aes.R.................... 20 tests [0;32mOK[0m
test_aes.R.................... 20 tests [0;32mOK[0m
test_aes.R.................... 20 tests [0;32mOK[0m
test_aes.R.................... 21 tests [0;32mOK[0m
test_aes.R.................... 22 tests [0;32mOK[0m
test_aes.R.................... 23 tests [0;32mOK[0m
test_aes.R.................... 24 tests [0;32mOK[0m
test_aes.R.................... 25 tests [0;32mOK[0m
test_aes.R.................... 25 tests [0;32mOK[0m
test_aes.R.................... 26 tests [0;32mOK[0m
test_aes.R.................... 26 tests [0;32mOK[0m
test_aes.R.................... 27 tests [0;32mOK[0m
test_aes.R.................... 28 tests [0;32mOK[0m
test_aes.R.................... 29 tests [0;32mOK[0m
test_aes.R.................... 30 tests [0;32mOK[0m
test_aes.R.................... 31 tests [0;32mOK[0m
test_aes.R.................... 32 tests [0;32mOK[0m
test_aes.R.................... 33 tests [0;32mOK[0m [0;34m0.2s[0m
test_blake3.R................. 0 tests
test_blake3.R................. 0 tests
test_blake3.R................. 0 tests
test_blake3.R................. 0 tests
test_blake3.R................. 1 tests [0;32mOK[0m
test_blake3.R................. 1 tests [0;32mOK[0m
test_blake3.R................. 2 tests [0;32mOK[0m
test_blake3.R................. 2 tests [0;32mOK[0m
test_blake3.R................. 2 tests [0;32mOK[0m
test_blake3.R................. 5 tests [0;32mOK[0m
test_blake3.R................. 5 tests [0;32mOK[0m
test_blake3.R................. 5 tests [0;32mOK[0m
test_blake3.R................. 5 tests [0;32mOK[0m
test_blake3.R................. 5 tests [0;32mOK[0m
test_blake3.R................. 5 tests [0;32mOK[0m
test_blake3.R................. 6 tests [0;32mOK[0m
test_blake3.R................. 6 tests [0;32mOK[0m
test_blake3.R................. 6 tests [0;32mOK[0m
test_blake3.R................. 6 tests [0;32mOK[0m
test_blake3.R................. 6 tests [0;32mOK[0m
test_blake3.R................. 6 tests [0;32mOK[0m
test_blake3.R................. 7 tests [0;32mOK[0m [0;36m47ms[0m
test_crc32.R.................. 0 tests
test_crc32.R.................. 0 tests
test_crc32.R.................. 0 tests
test_crc32.R.................. 0 tests
test_crc32.R.................. 0 tests
test_crc32.R.................. 1 tests [0;32mOK[0m
test_crc32.R.................. 1 tests [0;32mOK[0m
test_crc32.R.................. 2 tests [0;32mOK[0m [0;36m9ms[0m
test_digest.R................. 0 tests
test_digest.R................. 0 tests
test_digest.R................. 0 tests
test_digest.R................. 7 tests [0;32mOK[0m
test_digest.R................. 7 tests [0;32mOK[0m
test_digest.R................. 8 tests [0;32mOK[0m
test_digest.R................. 9 tests [0;32mOK[0m
test_digest.R................. 10 tests [0;32mOK[0m
test_digest.R................. 11 tests [0;32mOK[0m
test_digest.R................. 12 tests [0;32mOK[0m
test_digest.R................. 13 tests [0;32mOK[0m
test_digest.R................. 20 tests [0;32mOK[0m
test_digest.R................. 20 tests [0;32mOK[0m
test_digest.R................. 20 tests [0;32mOK[0m
test_digest.R................. 22 tests [0;32mOK[0m
test_digest.R................. 22 tests [0;32mOK[0m
test_digest.R................. 23 tests [0;32mOK[0m
test_digest.R................. 25 tests [0;32mOK[0m
test_digest.R................. 25 tests [0;32mOK[0m
test_digest.R................. 25 tests [0;32mOK[0m
test_digest.R................. 27 tests [0;32mOK[0m
test_digest.R................. 27 tests [0;32mOK[0m
test_digest.R................. 28 tests [0;32mOK[0m
test_digest.R................. 30 tests [0;32mOK[0m
test_digest.R................. 30 tests [0;32mOK[0m
test_digest.R................. 30 tests [0;32mOK[0m
test_digest.R................. 32 tests [0;32mOK[0m
test_digest.R................. 32 tests [0;32mOK[0m
test_digest.R................. 33 tests [0;32mOK[0m
test_digest.R................. 33 tests [0;32mOK[0m
test_digest.R................. 34 tests [0;32mOK[0m
test_digest.R................. 34 tests [0;32mOK[0m
test_digest.R................. 34 tests [0;32mOK[0m
test_digest.R................. 37 tests [0;32mOK[0m
test_digest.R................. 37 tests [0;32mOK[0m
test_digest.R................. 38 tests [0;32mOK[0m
test_digest.R................. 38 tests [0;32mOK[0m
test_digest.R................. 38 tests [0;32mOK[0m
test_digest.R................. 41 tests [0;32mOK[0m
test_digest.R................. 41 tests [0;32mOK[0m
test_digest.R................. 42 tests [0;32mOK[0m
test_digest.R................. 42 tests [0;32mOK[0m
test_digest.R................. 42 tests [0;32mOK[0m
test_digest.R................. 45 tests [0;32mOK[0m
test_digest.R................. 45 tests [0;32mOK[0m
test_digest.R................. 46 tests [0;32mOK[0m
test_digest.R................. 47 tests [0;32mOK[0m
test_digest.R................. 47 tests [0;32mOK[0m
test_digest.R................. 47 tests [0;32mOK[0m
test_digest.R................. 54 tests [0;31m7 fails[0m
test_digest.R................. 55 tests [0;31m8 fails[0m
test_digest.R................. 55 tests [0;31m8 fails[0m
test_digest.R................. 55 tests [0;31m8 fails[0m
test_digest.R................. 58 tests [0;31m11 fails[0m
test_digest.R................. 59 tests [0;31m12 fails[0m
test_digest.R................. 59 tests [0;31m12 fails[0m
test_digest.R................. 60 tests [0;31m13 fails[0m
test_digest.R................. 61 tests [0;31m14 fails[0m
test_digest.R................. 61 tests [0;31m14 fails[0m
test_digest.R................. 61 tests [0;31m14 fails[0m
test_digest.R................. 61 tests [0;31m14 fails[0m
test_digest.R................. 61 tests [0;31m14 fails[0m
test_digest.R................. 61 tests [0;31m14 fails[0m
test_digest.R................. 61 tests [0;31m14 fails[0m
test_digest.R................. 64 tests [0;31m14 fails[0m
test_digest.R................. 64 tests [0;31m14 fails[0m
test_digest.R................. 65 tests [0;31m14 fails[0m
test_digest.R................. 65 tests [0;31m14 fails[0m
test_digest.R................. 65 tests [0;31m14 fails[0m
test_digest.R................. 68 tests [0;31m14 fails[0m
test_digest.R................. 68 tests [0;31m14 fails[0m
test_digest.R................. 69 tests [0;31m14 fails[0m [0;36m69ms[0m
test_digest2int.R............. 0 tests
test_digest2int.R............. 0 tests
test_digest2int.R............. 0 tests
test_digest2int.R............. 1 tests [0;32mOK[0m
test_digest2int.R............. 1 tests [0;32mOK[0m
test_digest2int.R............. 2 tests [0;32mOK[0m
test_digest2int.R............. 3 tests [0;32mOK[0m
test_digest2int.R............. 4 tests [0;32mOK[0m [0;36m7ms[0m
test_encoding.R............... 0 tests
test_encoding.R............... 0 tests [0;36m5ms[0m [Exited at #5: Skipping test on non-Windows platform]
test_hmac.R................... 0 tests
test_hmac.R................... 0 tests
test_hmac.R................... 0 tests
test_hmac.R................... 1 tests [0;32mOK[0m
test_hmac.R................... 1 tests [0;32mOK[0m
test_hmac.R................... 1 tests [0;32mOK[0m
test_hmac.R................... 2 tests [0;32mOK[0m
test_hmac.R................... 2 tests [0;32mOK[0m
test_hmac.R................... 2 tests [0;32mOK[0m
test_hmac.R................... 3 tests [0;32mOK[0m
test_hmac.R................... 3 tests [0;32mOK[0m
test_hmac.R................... 3 tests [0;32mOK[0m
test_hmac.R................... 4 tests [0;32mOK[0m
test_hmac.R................... 4 tests [0;32mOK[0m
test_hmac.R................... 4 tests [0;32mOK[0m
test_hmac.R................... 5 tests [0;32mOK[0m
test_hmac.R................... 5 tests [0;32mOK[0m
test_hmac.R................... 5 tests [0;32mOK[0m
test_hmac.R................... 6 tests [0;32mOK[0m
test_hmac.R................... 6 tests [0;32mOK[0m
test_hmac.R................... 6 tests [0;32mOK[0m
test_hmac.R................... 7 tests [0;32mOK[0m
test_hmac.R................... 7 tests [0;32mOK[0m
test_hmac.R................... 7 tests [0;32mOK[0m
test_hmac.R................... 8 tests [0;32mOK[0m
test_hmac.R................... 8 tests [0;32mOK[0m
test_hmac.R................... 8 tests [0;32mOK[0m
test_hmac.R................... 9 tests [0;32mOK[0m
test_hmac.R................... 9 tests [0;32mOK[0m
test_hmac.R................... 9 tests [0;32mOK[0m
test_hmac.R................... 10 tests [0;32mOK[0m
test_hmac.R................... 10 tests [0;32mOK[0m
test_hmac.R................... 10 tests [0;32mOK[0m
test_hmac.R................... 11 tests [0;32mOK[0m
test_hmac.R................... 11 tests [0;32mOK[0m
test_hmac.R................... 11 tests [0;32mOK[0m
test_hmac.R................... 12 tests [0;32mOK[0m
test_hmac.R................... 12 tests [0;32mOK[0m
test_hmac.R................... 13 tests [0;32mOK[0m
test_hmac.R................... 13 tests [0;32mOK[0m
test_hmac.R................... 13 tests [0;32mOK[0m
test_hmac.R................... 14 tests [0;32mOK[0m [0;36m28ms[0m
test_misc.R................... 0 tests
test_misc.R................... 0 tests
test_misc.R................... 0 tests
test_misc.R................... 0 tests
test_misc.R................... 56 tests [0;32mOK[0m
test_misc.R................... 56 tests [0;32mOK[0m
test_misc.R................... 56 tests [0;32mOK[0m
test_misc.R................... 56 tests [0;32mOK[0m
test_misc.R................... 56 tests [0;32mOK[0m
test_misc.R................... 57 tests [0;32mOK[0m
test_misc.R................... 57 tests [0;32mOK[0m
test_misc.R................... 57 tests [0;32mOK[0m
test_misc.R................... 57 tests [0;32mOK[0m
test_misc.R................... 57 tests [0;32mOK[0m [0;34m0.1s[0m
test_new_matrix_behaviour.R... 0 tests [0;36m6ms[0m [Exited at #4: Skip tests for R 4.0.0 or later]
test_num2hex.R................ 0 tests
test_num2hex.R................ 0 tests
test_num2hex.R................ 0 tests
test_num2hex.R................ 1 tests [0;32mOK[0m
test_num2hex.R................ 2 tests [0;32mOK[0m
test_num2hex.R................ 2 tests [0;32mOK[0m
test_num2hex.R................ 2 tests [0;32mOK[0m
test_num2hex.R................ 2 tests [0;32mOK[0m
test_num2hex.R................ 2 tests [0;32mOK[0m
test_num2hex.R................ 3 tests [0;32mOK[0m
test_num2hex.R................ 3 tests [0;32mOK[0m
test_num2hex.R................ 3 tests [0;32mOK[0m
test_num2hex.R................ 3 tests [0;32mOK[0m
test_num2hex.R................ 4 tests [0;32mOK[0m
test_num2hex.R................ 4 tests [0;32mOK[0m
test_num2hex.R................ 5 tests [0;32mOK[0m
test_num2hex.R................ 5 tests [0;32mOK[0m
test_num2hex.R................ 6 tests [0;32mOK[0m
test_num2hex.R................ 7 tests [0;32mOK[0m
test_num2hex.R................ 8 tests [0;32mOK[0m
test_num2hex.R................ 9 tests [0;32mOK[0m [0;36m23ms[0m
test_raw.R.................... 0 tests
test_raw.R.................... 0 tests
test_raw.R.................... 0 tests
test_raw.R.................... 1 tests [0;32mOK[0m
test_raw.R.................... 1 tests [0;32mOK[0m
test_raw.R.................... 1 tests [0;32mOK[0m
test_raw.R.................... 2 tests [0;32mOK[0m
test_raw.R.................... 3 tests [0;32mOK[0m [0;36m8ms[0m
test_sha1.R................... 0 tests
test_sha1.R................... 0 tests
test_sha1.R................... 0 tests
test_sha1.R................... 0 tests
test_sha1.R................... 0 tests
test_sha1.R................... 0 tests
test_sha1.R................... 0 tests
test_sha1.R................... 0 tests
test_sha1.R................... 0 tests
test_sha1.R................... 0 tests
test_sha1.R................... 0 tests
test_sha1.R................... 0 tests
test_sha1.R................... 0 tests
test_sha1.R................... 1 tests [0;32mOK[0m
test_sha1.R................... 2 tests [0;32mOK[0m
test_sha1.R................... 3 tests [0;32mOK[0m
test_sha1.R................... 4 tests [0;32mOK[0m
test_sha1.R................... 5 tests [0;32mOK[0m
test_sha1.R................... 6 tests [0;32mOK[0m
test_sha1.R................... 6 tests [0;32mOK[0m
test_sha1.R................... 7 tests [0;32mOK[0m
test_sha1.R................... 7 tests [0;32mOK[0m
test_sha1.R................... 8 tests [0;32mOK[0m
test_sha1.R................... 9 tests [0;32mOK[0m
test_sha1.R................... 10 tests [0;32mOK[0m
test_sha1.R................... 11 tests [0;32mOK[0m
test_sha1.R................... 12 tests [0;32mOK[0m
test_sha1.R................... 12 tests [0;32mOK[0m
test_sha1.R................... 13 tests [0;32mOK[0m
test_sha1.R................... 13 tests [0;32mOK[0m
test_sha1.R................... 13 tests [0;32mOK[0m
test_sha1.R................... 13 tests [0;32mOK[0m
test_sha1.R................... 13 tests [0;32mOK[0m
test_sha1.R................... 13 tests [0;32mOK[0m
test_sha1.R................... 14 tests [0;32mOK[0m
test_sha1.R................... 15 tests [0;32mOK[0m
test_sha1.R................... 16 tests [0;32mOK[0m
test_sha1.R................... 17 tests [0;32mOK[0m
test_sha1.R................... 18 tests [0;32mOK[0m
test_sha1.R................... 19 tests [0;32mOK[0m
test_sha1.R................... 19 tests [0;32mOK[0m
test_sha1.R................... 19 tests [0;32mOK[0m
test_sha1.R................... 19 tests [0;32mOK[0m
test_sha1.R................... 20 tests [0;32mOK[0m
test_sha1.R................... 21 tests [0;32mOK[0m
test_sha1.R................... 67 tests [0;32mOK[0m
test_sha1.R................... 67 tests [0;32mOK[0m
test_sha1.R................... 67 tests [0;32mOK[0m
test_sha1.R................... 68 tests [0;32mOK[0m
test_sha1.R................... 69 tests [0;32mOK[0m
test_sha1.R................... 70 tests [0;32mOK[0m
test_sha1.R................... 71 tests [0;32mOK[0m
test_sha1.R................... 72 tests [0;32mOK[0m
test_sha1.R................... 73 tests [0;32mOK[0m
test_sha1.R................... 74 tests [0;32mOK[0m
test_sha1.R................... 75 tests [0;32mOK[0m
test_sha1.R................... 76 tests [0;32mOK[0m
test_sha1.R................... 76 tests [0;32mOK[0m
test_sha1.R................... 76 tests [0;32mOK[0m
test_sha1.R................... 76 tests [0;32mOK[0m
test_sha1.R................... 77 tests [0;32mOK[0m
test_sha1.R................... 77 tests [0;32mOK[0m
test_sha1.R................... 77 tests [0;32mOK[0m
test_sha1.R................... 77 tests [0;32mOK[0m
test_sha1.R................... 78 tests [0;32mOK[0m
test_sha1.R................... 79 tests [0;32mOK[0m
test_sha1.R................... 80 tests [0;32mOK[0m
test_sha1.R................... 81 tests [0;32mOK[0m
test_sha1.R................... 81 tests [0;32mOK[0m
test_sha1.R................... 89 tests [0;32mOK[0m
test_sha1.R................... 90 tests [0;32mOK[0m
test_sha1.R................... 90 tests [0;32mOK[0m
test_sha1.R................... 90 tests [0;32mOK[0m
test_sha1.R................... 90 tests [0;32mOK[0m
test_sha1.R................... 90 tests [0;32mOK[0m
test_sha1.R................... 100 tests [0;32mOK[0m
test_sha1.R................... 100 tests [0;32mOK[0m
test_sha1.R................... 100 tests [0;32mOK[0m
test_sha1.R................... 100 tests [0;32mOK[0m
test_sha1.R................... 100 tests [0;32mOK[0m
test_sha1.R................... 101 tests [0;32mOK[0m
test_sha1.R................... 102 tests [0;32mOK[0m [0;34m1.1s[0m
----- FAILED[data]: test_digest.R<260--266>
call| expect_true(identical(spooky, spookyOutputPython[i]))
diff| Expected TRUE, got FALSE
----- FAILED[data]: test_digest.R<260--266>
call| expect_true(identical(spooky, spookyOutputPython[i]))
diff| Expected TRUE, got FALSE
----- FAILED[data]: test_digest.R<260--266>
call| expect_true(identical(spooky, spookyOutputPython[i]))
diff| Expected TRUE, got FALSE
----- FAILED[data]: test_digest.R<260--266>
call| expect_true(identical(spooky, spookyOutputPython[i]))
diff| Expected TRUE, got FALSE
----- FAILED[data]: test_digest.R<260--266>
call| expect_true(identical(spooky, spookyOutputPython[i]))
diff| Expected TRUE, got FALSE
----- FAILED[data]: test_digest.R<260--266>
call| expect_true(identical(spooky, spookyOutputPython[i]))
diff| Expected TRUE, got FALSE
----- FAILED[data]: test_digest.R<260--266>
call| expect_true(identical(spooky, spookyOutputPython[i]))
diff| Expected TRUE, got FALSE
----- FAILED[data]: test_digest.R<268--271>
call| expect_identical(getVDigest(algo = "spookyhash")(spookyInput,
call| --> skip = 30), spookyOutputPython)
diff| 7 string mismatches
----- FAILED[data]: test_digest.R<281--285>
call| expect_true(identical(spooky, spookyOutput[i]))
diff| Expected TRUE, got FALSE
----- FAILED[data]: test_digest.R<281--285>
call| expect_true(identical(spooky, spookyOutput[i]))
diff| Expected TRUE, got FALSE
----- FAILED[data]: test_digest.R<281--285>
call| expect_true(identical(spooky, spookyOutput[i]))
diff| Expected TRUE, got FALSE
----- FAILED[data]: test_digest.R<287--290>
call| expect_identical(getVDigest(algo = "spookyhash")(spookyInput),
call| --> spookyOutput)
diff| 3 string mismatches
----- FAILED[data]: test_digest.R<294--294>
call| expect_true(identical(spooky, "af58add8b4f7044582b331083bc239ff"))
diff| Expected TRUE, got FALSE
----- FAILED[data]: test_digest.R<295--296>
call| expect_identical(getVDigest("spookyhash")(list(iris)), "af58add8b4f7044582b331083bc239ff")
diff| Expected 'af58add8b4f7044582b331083bc239ff', got 'f3743d951bc557456f708798affa88ad'
Error: 14 out of 300 tests failed
Execution halted
There are recurrent issues with spooky which had made think already I may have to remove it. To be seen.
Now only spooky ones fail:
So the narrowest check then may be
PS I also had forgotten that I already fixed the spooky remap issues three months ago. So it is really just a matter of not calling it under big endian systems which I can add easily enough.
There is also an error when running example: