tests/testthat/test.TDF.R

context("TDF")

test_that("functions stops on miscelaneous errors",{

  expect_error(TDF(author = "Posts"))

  expect_warning(TDF(author = "Post", element = "both", type = "all"))

  expect_error(TDF(author = "Mccutchan"))

  expect_error(TDF(author = "McCutchan", element = "both", type = "alll"))

})

Try the tRophicPosition package in your browser

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

tRophicPosition documentation built on Dec. 28, 2022, 2:27 a.m.