tests/testthat/test-studies.R

context("studies")

library(metadat)

test_that("data with no study id return no study id", {
  expect_true(get_metadata() %>% pluck("raw_dat", 37) %>% get_k()
              == "no study id")
})
softloud/metadatanalysis documentation built on Aug. 14, 2020, 9:25 p.m.