tests/testthat/testGetPackage.R

context('GetPackage')

# This is interactive and so is hard to test

test_that('GetPackage', {
  
  t <- 3
  expect_error(zoon::GetPackage(t), 'package must be a character')
  
})
Boodogs/zoon-clone documentation built on May 6, 2019, 7:59 a.m.