tests/testthat/test-lt.R

context("lt")

test_that("misc", {
  expect_is(lt(from = Sys.Date(), Sys.Date() + 10), "numeric")
  expect_equal(lt(from = Sys.Date(), Sys.Date() + 10), 10)
})

Try the incadata package in your browser

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

incadata documentation built on April 14, 2020, 6:08 p.m.