Learn R Programming

shiny.benchmark (version 0.1.1)

load_example: 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)

Value

Print on the console instructions to run the example

Arguments

path

A character vector of full path name

force

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

Examples

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

Run the code above in your browser using DataLab