Prompts the user to input their WRDS (Wharton Research Data Services)
username and password, and stores these credentials in a .Renviron file.
The user can choose to store the .Renviron file in either the project
directory or the home directory. If the .Renviron file already contains
WRDS credentials, the user will be asked if they want to overwrite the
existing credentials. Additionally, the user has the option to add the
.Renviron file to the .gitignore file to prevent it from being tracked by
version control.
Details
Storing credentials is not enough to connect to WRDS: you also need to
enroll in two-factor authentication (Duo) and accept the WRDS terms of use.
See the "WRDS account setup" section of get_wrds_connection().