tests/testthat/test-sda_target.R

test_that("outputs a data.frame", {
  expect_s3_class(sda_target, "data.frame")
})

test_that("outputs the expected snapshot", {
  skip_if(r_version_is_older_than(4))

  expect_snapshot(sda_target)
})
2DegreesInvesting/r2dii.plot.static documentation built on Dec. 17, 2021, 6:37 a.m.