tests/testthat/test-graphing.R

context("Test Graphic Diagnostics")

set.seed(1234) # make reproducible
x <- matrix(rnorm(1000), ncol = 2)

test_that("vmp_plot returns a ggplot2 graph", {
  expect_that(vmp_plot(x, plot=FALSE)$Individual[[1]], is_a("ggplot"))
})

Try the varian package in your browser

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

varian documentation built on May 2, 2019, 6:09 a.m.