tests/testthat/test-converter.R

testthat::context("Just simple tryout")


testthat::test_that("Just trying a simple convert", {

  file = system.file("img", "Rlogo.png", package = "png")
  if (file.exists(file)) {
    res = bfconvert(file = file)
    testthat::expect_true(file.exists(res))
  }
  testthat::expect_true(file.exists(bf_cmd("bfconvert")))

})
neuroconductor/bftools documentation built on Feb. 7, 2023, 12:52 a.m.