tests/testthat/test_StockEvent.R

context("StockEvent setters (class unions)")

testthat::test_that("setStockGraph", {
  testthat::expect_error(setStockGraph(.Object = stockEvent()))
  testthat::expect_error(setStockGraph(.Object = stockEvent(), stockGraph = stockGraph_obj))
})

Try the rAmCharts package in your browser

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

rAmCharts documentation built on June 21, 2018, 5:03 p.m.