tests/testthat/test-roxytest-testexamples-add_abbrtable.R

# Generated by roxytest: Do not edit by hand!

context("File R/add_abbrtable.R: @testexamples")

test_that("Function add_abbrtable() @ L19", {
  
  csvpath <- system.file("extdata", "myabbr.csv", package = "journalabbr", mustWork = TRUE)
  abbrtable_user <- add_abbrtable(file = csvpath, header = FALSE, sep = ";")
  colnames(abbrtable_user)
  
  expect_true(is.data.table(abbrtable_user))
})

Try the journalabbr package in your browser

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

journalabbr documentation built on Aug. 9, 2022, 5:05 p.m.