mimic-on-off | R Documentation |
These functions are used to simulate the main functions before truly running them, to disable changes to the files and to the cloud.
mimic_on()
mimic_off()
is_mimic_on()
These are used in most examples, so the user settings don't change when running [utils::example()]. Internally, these change the options 'ss.mimic', 'ss.mimic.local' and 'ss.mimic.cloud'.
nothing
mimic_on()
: Enable mimic and write mimic files
mimic_off()
: Disable mimic
is_mimic_on()
: Check if mimic is on
mimic_on()
if(interactive()) {
sync()
}
mimic_off()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.