tests/testthat/test_dat.baker2009.r

context("Checking: dat.baker2009")

library(digest)

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

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.