tests/testthat/test-render-templates.R

context("test-render-templates.R")

library(pkgreviewr)

test_that("template-paths-resolve",{
    expect_true(
        system.file("templates",
                    template_name = "review-README",
                    package = "pkgreviewr") != "")
    expect_true(
        system.file("templates",
                    template_name = "review-index",
                    package = "pkgreviewr") != "")
})
annakrystalli/pkgreviewr documentation built on Oct. 27, 2019, 4:22 a.m.