tests/testthat/test_dat.nakagawa2007.r

context("Checking: dat.nakagawa2007")

library(digest)

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

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.