tests/testthat/test_dateFormat.R

context("'dateFormat' argument")

test_that("valid 'dateFormat' argument is passed to htmlwidget ", {
  testthat::expect_type(excelTable(dateFormat = 'MM-DD-YYY')$x$dateFormat,  "character")
})

Try the excelR package in your browser

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

excelR documentation built on March 13, 2020, 1:31 a.m.