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 Sept. 30, 2022, 5:06 p.m.