tests/testthat/test_05_plot_cues.R

context("Verify graphics: Plot cues")


test_that("Plotting cues by showcues() works", {

  set.seed(100)

  # Create an FFTrees object:
  x <- FFTrees(
    formula = diagnosis ~ .,
    data = heartdisease,
    train.p = .50,
    quiet = TRUE
  )

  # Main:
  expect_silent(showcues(x, quiet = TRUE))

})


# eof.

Try the FFTrees package in your browser

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

FFTrees documentation built on June 7, 2023, 5:56 p.m.