tests/testthat/helper-migration-env.R

suppressPackageStartupMessages(library(shiny))

make_info_env <- function(
  suffix = missing_arg(),
  compare_images = TRUE,
  app_var = "app",
  verbose = FALSE,
  include_expect_screenshot = NULL
) {
  as.environment(list(
    suffix = suffix,
    compare_images = compare_images,
    app_var = app_var,
    verbose = verbose,
    include_expect_screenshot = include_expect_screenshot
  ))
}

Try the shinytest2 package in your browser

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

shinytest2 documentation built on June 24, 2024, 5:16 p.m.