Skip to contents

Loads environment variables from .env file if it exists. This function should be called before reading configuration to ensure dotenv variables are available.

Usage

load_dotenv(file = ".env")

Arguments

file

Path to .env file, defaults to ".env" in current working directory

Value

NULL (called for side effects)