You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm imaging a case where you're writing a function that attempts to write a file at some location, but restores the old copy (filesystem state) if something goes wrong during update. E.g.
i'd always write to a temporary location and then substitute on success (via file rename). Even with a with_backup() function the in-place update is unsafe if the R session terminates (e.g., when debugging).
I'm imaging a case where you're writing a function that attempts to write a file at some location, but restores the old copy (filesystem state) if something goes wrong during update. E.g.
The text was updated successfully, but these errors were encountered: