load_example | R Documentation |
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
.
load_example(path, force = FALSE)
path |
A character vector of full path name |
force |
Create example even if directory does not exist or is not empty |
Print on the console instructions to run the example
load_example(file.path(tempdir(), "example_destination"), force = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.