HenrikBengtsson / startup

:wrench: R package: startup - Friendly R Startup Configuration
https://henrikbengtsson.github.io/startup/
163 stars 5 forks source link

Backup and restore #21

Open HenrikBengtsson opened 7 years ago

HenrikBengtsson commented 7 years ago

It could be handy to be able to backup existing startup::startup() files and scripts, e.g.

> startup::backup()
[1] "startup_my-laptop_20170223-053434.tar.gz"

and have the option to restore / deploy ditto later:

> startup::restore("startup_my-laptop_20170223-053434.tar.gz")

Should restore() do a backup() first, in case it breaks things?