using_envvar {ami}R Documentation

Determine whether an environment variable is being used

Description

Determine whether an environment variable is being used

Usage

using_envvar(x, value = NULL)

Arguments

x

Environment variable

value

Optional value to compare against

Value

A logical value

Examples

using_envvar("NOT_CRAN")

using_envvar("CI", "true")

[Package ami version 0.1.1 Index]