tests/testthat/test_Guide.R

context("Guide (class union)")

testthat::test_that("setValueAxis", {
  testthat::expect_error(setValueAxis(.Object = guide()))
  testthat::expect_error(setValueAxis(.Object = guide(), valueAxis = 1))
  testthat::expect_error(setValueAxis(.Object = guide(), valueAxis = rep("a", 5)))
})

Try the rAmCharts package in your browser

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

rAmCharts documentation built on Dec. 6, 2019, 5:11 p.m.