With this function, you can reset or set precisely the settings.
Value
the settings (cf settings()) invisibly
Examples
# reset to appropriate defaults based on your current directory
old <- reset()
# explictly set the project root
reset(root = tempdir())
# explictly set the source package paths (very unlikely)
reset(srcpkgs_paths = c('pkgs/mypkg1', 'pkgs/mypkg2'))
# restore previous settings
reset(root = old$root, srcpkgs_paths = old$srcpkgs_paths)