tests/testthat/test_contourPlot2.R

test_that("contourPlot2 is a ggplot2 object", {
    data("volcano")
    volcano <- reshape2::melt(volcano)
    names(volcano) <- c("x", "y", "z")
    v <- contourPlot2(volcano)
    expect_s3_class(v, "ggplot")
})

Try the simulariatools package in your browser

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

simulariatools documentation built on Nov. 8, 2023, 5:07 p.m.