tests/testthat/helper-checkSuggests.R

checkSuggests <- function() {
  suppressWarnings(all(unlist(lapply(
    c("ggplot2", "plotly", "ggraph", "DT", "magick", "withr", "cowplot", "knitr", "testthat"),
    require,
    character.only = TRUE,
    quietly = TRUE,
    warn.conflicts = FALSE
  ))))
}

Try the PaRe package in your browser

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

PaRe documentation built on April 3, 2025, 6:46 p.m.