mimic-on-off {settingsSync}R Documentation

Simulate the functions before truly running them

Description

These functions are used to simulate the main functions before truly running them, to disable changes to the files and to the cloud.

Usage

mimic_on()

mimic_off()

is_mimic_on()

Details

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'.

Value

nothing

Functions

Examples

mimic_on()
if(interactive()) {
  sync()
}
mimic_off()

[Package settingsSync version 3.0.2 Index]