tests/testthat/test_creation.R

context("creation")

test_that("rpivotTable is right class",{
  expect_is(rpivotTable(data.frame()),"htmlwidget")
  expect_is(rpivotTable(data.frame()),"rpivotTable")
})
DnPeter/rpivotTable documentation built on May 6, 2019, 2:51 p.m.