$ docker run --rm --name validator-libsodium-usage-r-cran-sodium-r16-sha256-hex-length-64-2732 -t --mount type=bind,src=/tmp/validator-status-libsodium-usage-r-cran-sodium-r16-sha256-hex-length-64,dst=/validator/status validator-libsodium-shared bash -lc 'set -euo pipefail /validator/tests/_shared/install_override_debs.sh exec /validator/tests/_shared/run_library_tests.sh "$@"' validator-testcase libsodium usage-r-cran-sodium-r16-sha256-hex-length-64 -- bash -c 'PS4=$1; shift; set -x; source "$@"' validator-xtrace '__VALIDATOR_XTRACE__ ' /validator/tests/libsodium/tests/cases/usage/usage-r-cran-sodium-r16-sha256-hex-length-64.sh no override packages found; continuing with apt originals suppressMessages(library(sodium)) msg <- charToRaw("r16 r-cran-sodium sha256 payload") h1 <- sha256(msg) stopifnot(is.raw(h1)) stopifnot(length(h1) == 32) hex <- bin2hex(h1) stopifnot(is.character(hex)) stopifnot(nchar(hex) == 64) stopifnot(grepl("^[0-9a-f]{64}$", hex)) again <- bin2hex(sha256(msg)) stopifnot(identical(hex, again)) cat("ok\n") ' ok