Validate Required Environment Variables with Defaults

Validates that required environment variables are set and non-empty before environment-dependent code runs. Variables may have call-site defaults, and all unresolved variables are reported together. Successful values are returned as a named list without reading environment files or modifying the process environment.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("needenv")

0.1.0 by Cole Brokamp, 2 months ago


https://github.com/cole-brokamp/needenv


Report a bug at https://github.com/cole-brokamp/needenv/issues


Browse source code at https://github.com/cran/needenv


Authors: Cole Brokamp [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Suggests testthat


See at CRAN