tests/testthat/test-find.R

test_that('has works', {
  expect_type(has_any_typst(), 'logical')

  expect_type(has_typst_cli(), 'logical')

  expect_type(has_quarto_cli(), 'logical')

  expect_type(has_quarto_typst(), 'logical')
})

Try the typr package in your browser

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

typr documentation built on June 8, 2025, 10:36 a.m.