tests/testthat/test_dat.craft2003.r

context("Checking: dat.craft2003")

library(digest)

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

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.