tests/testthat/test_dat.curtin2002.r

context("Checking: dat.curtin2002")

library(digest)

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

Try the metadat package in your browser

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

metadat documentation built on April 4, 2025, 4:36 a.m.