tests/testthat/test_conversion_table.R

context("Test that conversion table is properly constructed")

test_that("All records have a 'c'value",  {
  table <- get_conversion_table()

expect_true(  all(table$c != 0))

})

Try the convertr package in your browser

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

convertr documentation built on May 29, 2017, 5:14 p.m.