hasEnvar(x)
Tells if some environment variable(s) are defined.
hasEnvar('_R_CHECK_TIMINGS_') TRUE hasEnvar('ABCD') TRUE