tests/testthat/test-parsing.R

test_that("parsing works properly", {
  expr <- parse_safe(c("gamma", "", "alpha"))

  expect_identical(class(expr), "expression")
  expect_equal(expr, expression(gamma, NA, alpha))
  expect_type(expr, "expression")
})

Try the ggsignif package in your browser

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

ggsignif documentation built on Oct. 13, 2022, 5:05 p.m.