tests/testthat/test_export.detections.R

test_that('Exporting empty detections object.', {

  path_out = paste(tempdir(), 'detections.txt', sep = '/')
  export.detections(detections = data.frame(), path_out = path_out)
  expect_true(file.exists(path_out))

})

Try the callsync package in your browser

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

callsync documentation built on May 29, 2024, 5:30 a.m.