tests/testthat/test-app.R

context('app')

test_that("app works", {
  skip_on_cran()

  library(shinytest)
  app_dir <- system.file('colocr_app/', package = 'colocr')
  expect_pass(testApp(app_dir, compareImages = FALSE))
})

Try the colocr package in your browser

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

colocr documentation built on July 1, 2020, 10:32 p.m.