View source: R/snapshot_shinybrain.R
snapshot_shinybrain | R Documentation |
Create new snapshot of the application
snapshot_shinybrain( path = getwd(), use_current_snapshot = TRUE, snapshot_name = NULL, style_code = TRUE, code_width = 30, ... )
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 |
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 |
code_width |
number of columns for each line in code files
produced by the snapshot. Ignored if |
... |
additional arguments to be used later |
invisibly the path of the new snapshot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.