tests/testthat/test_dat.bcg.r

context("Checking: dat.bcg")

library(digest)

test_that("md5 hash matches for the data", {
   expect_match(digest(metadat::dat.bcg, algo="md5"), "a8df61024006ae1ce670b7ede5b29a9d")
})

Try the metadat package in your browser

Any scripts or data that you put into this service are public.

metadat documentation built on April 6, 2022, 5:08 p.m.