tests/testthat/testplot.zoonCitation.R

context("print.zoonCitation")

test_that("print.zoonCitation tests", {
  skip_on_cran()

  cit_out <- capture.output(ZoonCitation("LogisticRegression"))

  expect_output(print(cit_out),
                "To cite the LogisticRegression module in publications use:")
})

Try the zoon package in your browser

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

zoon documentation built on Feb. 28, 2020, 5:09 p.m.