setenv_file {DIZtools} | R Documentation |
Set all variables of a '.env' file to the system environment.
Description
Internal function to set environment variables that are
necessary for the database connections with db_connection
.
Old function name: 'set_env_vars()'.
Usage
setenv_file(env_file)
Arguments
env_file |
A character. The full path including the file name to the file containing the environment variable definitions to be loaded. |
Value
No return value, called for side effects (see description)
See Also
Sys.setenv
Examples
## Not run: set_env_vars("./.env")
[Package DIZtools version 1.0.1 Index]