tests/testthat/test-loadData.R

context("Load data funtions")
#' @examples {
#' devtools::test(filter='LoadData')
#' }


test_that("function loads",{

  expect_true(
    is.character(make_filename(2012)) , 'make_filename returns string')

})
pabgamu/firstR documentation built on May 24, 2019, 5:57 p.m.