snapshot_shinybrain: Create new snapshot of the application

View source: R/snapshot_shinybrain.R

snapshot_shinybrainR Documentation

Create new snapshot of the application

Description

Create new snapshot of the application

Usage

snapshot_shinybrain(
  path = getwd(),
  use_current_snapshot = TRUE,
  snapshot_name = NULL,
  style_code = TRUE,
  code_width = 30,
  ...
)

Arguments

path

directory path to the application

use_current_snapshot

Flag to use the current (or latest) snapshot of the application as the source for the next snapshot. If set to FALSE, you must supply a valid snapshot name for the snapshot_name parameter.

snapshot_name

Optional character string for the name of the desired snapshot to use as the basis for the new snapshot. If no value is supplied, then by default it will use the current or latest snapshot available in the app.

style_code

Flag to re-style the new snapshot code to meet tidy formatting principles. Recommended to use the default value of TRUE.

code_width

number of columns for each line in code files produced by the snapshot. Ignored if style_code is disabled. Default value is 30.

...

additional arguments to be used later

Value

invisibly the path of the new snapshot


rpodcast/shinylearning documentation built on April 4, 2022, 10:44 p.m.