# Get the current user's home directory
envvar_get("HOME")
# Get the current logging level for your app, ensuring it is a known value
envvar_set("LOG_LEVEL" = "DEBUG")
envvar_get_oneof(
"LOG_LEVEL",
choices = c("TRACE", "DEBUG", "INFO", "SUCCESS", "WARN", "ERROR", "FATAL")
)
Run the code above in your browser using DataLab