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")
})

Try the rpivotTable package in your browser

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

rpivotTable documentation built on May 1, 2019, 9:11 p.m.