Recommended RStudio Configurations for EpiModel Development - statnet/computing GitHub Wiki
Tools - Global Options
#1. General
a. Uncheck 'Restore .RData into Workspace at Setup'
b. Set drop-down 'Save Workspace to .RData on Exit' to "Never"
c. Uncheck 'Always save history (even when not saving .RData)'
#2. Code - Saving
a. Check 'Ensure that source files end with new line'
b. Check 'Strip trailing horizontal whitespace when saving'