tests/testthat/test-examples.R

test_that("manual examples run (no donttest/dontrun)", {
  tps <- c("fontcm")
  for (tp in tps) {
    expect_error(suppressWarnings(example(topic = tp, package = "fontcm", character.only = TRUE,
                                          run.donttest = FALSE, give.lines = FALSE, echo = FALSE)), NA)
  }
})

Try the fontcm package in your browser

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

fontcm documentation built on Nov. 5, 2025, 6:46 p.m.