tests/testthat/test-dates.R

context("test-dates.R")

test_that("dates works", {
  skip_on_cran()
  skip_on_ci()

  d <- rfg_date(
    date = "2018-11-25", unisex = TRUE,
    accessible = TRUE, updated = FALSE
  )
  expect_true(tibble::is_tibble(d))
})

Try the refuge package in your browser

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

refuge documentation built on Jan. 15, 2021, 3:35 p.m.