tests/testthat/test-standby.R

test_that("standby dependencies work as expected", {
  sby <- standbyDeps()
  expect_equal(sby$name, "standby")
  expect_equal(sby$version, "0.1.0")
  expect_equal(sby$src$file, "standby")
  expect_equal(sby$stylesheet, "css/standby.css")
  expect_equal(sby$script$src[[1]], "js/standby.js")
})

Try the standby package in your browser

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

standby documentation built on Oct. 30, 2024, 9:30 a.m.