tests/testthat/test-website.R

context("website")

source("utils.R")

test_that("websites can be created", {
  skip_if_pandoc_not_installed()
  expect_error({
    on.exit(unlink("testsite", recursive = TRUE), add = TRUE)
    create_website("testsite", "Test Site", edit = FALSE)
  }, NA)
})

Try the radix package in your browser

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

radix documentation built on May 1, 2019, 8:05 p.m.