AdvancedR.Rmd
https://stackoverflow.com/questions/9796843/move-up-a-frame-debug-r-environment
If you are sharing code that requires login credentials to databases and the like, you can use the .Reviron file to avoid posting those credentials to Github or other spaces where they might be at risk. .Renviron is a file where you can store important environment variables, and is easily editable using the function edit_r_environ() inside the usethis package. As an example, you can set an alias for your remote database credentials in .Renviron, for example:
Then in your shared script, you can call these variables. For example: