tests/testthat/test-utils.R

test_that("installation can be checked", {
  expect_true(is_installed("fs"))
  expect_false(is_installed("ABCDEFG"))
})

Try the k5 package in your browser

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

k5 documentation built on May 29, 2024, 7:48 a.m.