rebrickable_save_credentials.Rd
Opens the user's Rprofile file and pastes the values to the clipboard, then sources the file.
rebrickable_save_credentials(api_key, profile_save = "user", sys_env_var = "rebrickable_key", global_var = ".rebrickable_key")
api_key | API key. |
---|---|
profile_save | Save information to R profile? One of "user", "project", or NULL (to not save information) |
sys_env_var | Variable name to use if saving system environment variable. Do not change - parameter for testing purposes only. |
global_var | Variable name to use if saving global variable. Do not change - parameter for testing purposes only. |
# NOT RUN { # rebrickable_save_credentials("your_api_key") # }