tests/testthat/test-Adplotfnc.R

test_that("Adplot works", {
  set.seed(2025)
  X<-matrix(rnorm(100, mean = 2 , sd = 5))
  g=adplot(X, title = "Ad-plot", xlab = "x", lcol = "black", rcol = "grey60")
  expect_true(is.ggplot(g))
})

Try the adplots package in your browser

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

adplots documentation built on April 3, 2025, 6:06 p.m.