library(ggplot2) test_that("Adaplot works", { set.seed(2025) X<-sort(matrix(rnorm(100, mean = 2 , sd = 5))) g=adaplot(X, title = "Ada-plot", xlab = "x", lcol = "black", rcol = "grey60") expect_true(is_ggplot(g)) })