tests/testthat/test-tidycode_example.R

context("test-tidycode_example")

test_that("tidycode example outputs all examples if input is null", {
  expect_equal(tidycode_example(),
               c("example_analysis.R",
                 "example_plot.R"))
})

Try the tidycode package in your browser

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

tidycode documentation built on Dec. 11, 2019, 1:08 a.m.