tests/testthat/test-plot-intro.r

context("plot intro")

test_that("test return object", {
	plot_obj <- plot_intro(iris)
	expect_true(is.ggplot(plot_obj))
})

Try the DataExplorer package in your browser

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

DataExplorer documentation built on Dec. 16, 2020, 1:07 a.m.