tests/testthat/test-as.Dates.Date.R

context("as.Dates.Date")

test_that("misc", {
  expect_that(as.Dates.Date(Sys.Date()), is_a("Date"))
  expect_that(as.Dates.Date(Sys.Date()), is_identical_to(Sys.Date()))
})

Try the rccdates package in your browser

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

rccdates documentation built on May 2, 2019, 1:46 p.m.