tests/testthat/test_fake.R

library(template)

context("Fake test")

test_that("examplefunction can be run", {
  output <- examplefunction("testing")
  expect_match(output, "testing")
})
Pakillo/template documentation built on May 29, 2021, 10:42 a.m.