### Get the default "silence versus chattiness" setting
preregr::opts$get(silent);
### Set it to show all messages
preregr::opts$set(silent = FALSE);
### Check that it worked
preregr::opts$get(silent);
### Reset this option to its default value
preregr::opts$reset(silent);
### Check that the reset worked, too
preregr::opts$get(silent);
Run the code above in your browser using DataLab