tests/testthat/test-fileinfo_cpp.R

test_that("badfilename", {
  expect_error(GetLineLocations("junk.txt"), "Unable to open file")
})

Try the BinaryDosage package in your browser

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

BinaryDosage documentation built on Jan. 13, 2020, 5:06 p.m.