Read environment variables from an environment file and load them in the current R session.
renv
supports reading both shell formats and .env
formats.
export $FOO=bar
thing1=thing2
devtools::install_github("drewlanenga/renv")
library(renv)
load_vars("~/.bashrc")