tests/testthat/test-addPareArticle.R

test_that("minimal", {
  skip_if_not(checkSuggests())
  skip_if_offline()
  skip_if_not(repoCloned)

  repo <- Repository$new(path)

  suppressWarnings(addPareArticle(repo))

  path <- file.path(repo$getPath(), "vignettes", "articles", "PareReport.Rmd")

  expect_true(file.exists(path))
})

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.