tests/testthat/test_get_help.R

library(odkr)
context("Tests for get_help")

dirPath <- tempdir()

get_briefcase(destination = dirPath)

test_that("get_help produces message", {
  expect_is(get_help(target = dirPath), "integer")
})

Try the odkr package in your browser

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

odkr documentation built on Feb. 11, 2018, 3:10 p.m.