dotenv icon indicating copy to clipboard operation
dotenv copied to clipboard

Load environment variables from .env in R

Results 7 dotenv issues
Sort by recently updated
recently updated
newest added

Hey, one of the nice features of environment files is that they can build upon the existing environment: ``` export SEARCH_DIR=$PWD/files ``` The expected behavior would be that the resulting...

Closes #12, closes #14 - Added `dotenv_values` - Moved the `structure` from `set_env` to `dotenv_values`, so the output is a nicer named list. - Updated docs - Uses @gaborcsardi's suggestion...

The function in #13 is especially useful when you want to load variables, but not overwrite your env vars. This is moot due to the `.onLoad` function in this package,...

Would you accept a PR for a function with the functionality of [`dotenv_values`](https://saurabh-kumar.com/python-dotenv/reference/#dotenv.dotenv_values)? Might be as simple as ```R dotenv_values

Added functionality to recursively search parent directories for an .env file. Users can opt-in to this by setting recursive = TRUE. If recursive = TRUE, then load_dot_env will search the...

My use case is such that my working directory is set to a child folder within my repo (this is due to databricks default settings). When running load_dot_env(), if no...

enhancement

Steps to reproduce: * Open Rstudio with a project using dotenv * Run the R script that uses `library(dotenv)` * Change a variable in the `.env` file * Rerun the...