tests/testthat/test-citations.R

test_that("format_citations works", {
  stats_cit <- format_citation(citation("stats"))
  expect_true(grepl("R Core Team", stats_cit))
})

Try the mmints package in your browser

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

mmints documentation built on April 3, 2025, 9:33 p.m.