Summary
We should figure out the best way to store default settings objects (and possibly consider making a real class for these objects)
Current State
The default settings for edish (and eventually other charts) are hard coded as lists in generateSettings()
Future State
Default setting objects are saved as individual files - possibly in data\ or a subfolder thereof - and imported as needed in generate settings. We might also want to create a formal R6 class for settings. If we go that route, several of the existing functions - getSettingValue(), setSettingsValue() - could be converted to R6 methods.
Summary
We should figure out the best way to store default settings objects (and possibly consider making a real class for these objects)
Current State
The default settings for
edish(and eventually other charts) are hard coded as lists ingenerateSettings()Future State
Default setting objects are saved as individual files - possibly in
data\or a subfolder thereof - and imported as needed in generate settings. We might also want to create a formal R6 class for settings. If we go that route, several of the existing functions -getSettingValue(),setSettingsValue()- could be converted to R6 methods.