tests/testthat/test-travisCI.R

library(testthat)
skip_if_not(identical(Sys.getenv("TRAVIS"), "true"))
context("Travis CI integration")

test_that("Validation Key is correct (for Travis CI)", {
  folder <- ifelse(file.exists("DESCRIPTION"),".","../../")
  expect_true(lucode2:::validkey(folder)$valid)
})

Try the goxygen package in your browser

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

goxygen documentation built on Aug. 16, 2020, 5:06 p.m.