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 April 3, 2025, 9:37 p.m.