Learn R Programming

pkgmaker (version 0.32.10)

hasEnvar: Check Environment Variables

Description

Tells if some environment variable(s) are defined.

Usage

hasEnvar(x)

Value

A logical flag.

Arguments

x

environment variable name, as a character vector.

Examples

Run this code

hasEnvar('_R_CHECK_TIMINGS_')
hasEnvar('ABCD')

Run the code above in your browser using DataLab