tests/testthat/test_dat.hackshaw1998.r

context("Checking: dat.hackshaw1998")

library(digest)

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

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.