tests/testthat/test-04-1-as_eml.R

context("04-1-as_eml")

# Errors ------------------------------------------------------------------

test_that(
  "as_eml() raises error with wrong input value",
  {
    expect_error(
      object = as_eml(x = dmdScheme_raw()),
      regexp = "he conversion of the object x of the class `dmdSchemeSet_raw, list` is not supported!"
    )
  }
)

Try the dmdScheme package in your browser

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

dmdScheme documentation built on Aug. 22, 2022, 9:06 a.m.