tests/testthat/test.pt_connector.R

context("pt_connector")

test_that(
  "invalid inputs produce an error",
  {
    # When pt_path is a data.frame.
    expect_error({
      pt_connector(iris)
    })
  }
)

Try the pubtatordb package in your browser

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

pubtatordb documentation built on Dec. 1, 2019, 1:17 a.m.