FYI doing this with options is a bit iffy because you'll overwrite anything the user has set at package load. This is how I do it in devtools: https://github.com/hadley/devtools/blob/master/R/zzz.r.  I don't think it's important to undo them on unload since they're all transient anyway and only affect your package.