load_example {shiny.benchmark}R Documentation

Load an application and instructions to run shiny.benchmark

Description

This function aims to generate a template to be used by shiny.benchmark. It will create the necessary structure on path with some examples of tests using Cypress and shinytest2. Also, a simple application will be added to the folder as well as instructions on how to perform the performance checks. Be aware that a new git repo is need in the selected path.

Usage

load_example(path, force = FALSE)

Arguments

path

A character vector of full path name

force

Create example even if directory does not exist or is not empty

Value

Print on the console instructions to run the example

Examples

load_example(file.path(tempdir(), "example_destination"), force = TRUE)

[Package shiny.benchmark version 0.1.1 Index]