When developing a package, I like the convenience of
Install and Restart to update the package with my changes. I also understand why the default behaviour includes saving all objects to disk, clearing the workspace, then restoring the previous session. However, if I have very large objects in my workspace at the time, the time taken to restore them is not worth the convenience.
Is there a way to turn off this behaviour? Ideally, I would require a prompt for confirmation when large objects are present, but two other options would be 'never build and restart when large objects present' or 'discard objects whenever install & restart'.
I note the following options under Global Options, but I don't think they apply: Restore .RData into workspace at startup, Always save history.