tests/testthat/test-utils.R

context("Test utility functions")

test_that("Print CustomLayout object", {
  lay <- lay_new(matrix(1:3))
  capture_output(print(lay))
})

test_that("Print OfficerCustomLayout object", {
  lay <- phl_layout(lay_new(matrix(1:3)))
  capture_output(print(lay))
})

Try the customLayout package in your browser

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

customLayout documentation built on Jan. 16, 2021, 5:26 p.m.