skip_if_no_env_auth: Skip test if not authenticated

View source: R/test-helpers.R

skip_if_no_env_authR Documentation

Skip test if not authenticated

Description

Use within tests to skip if a local authentication file isn't available through an environment variable.

Usage

skip_if_no_env_auth(env_arg)

Arguments

env_arg

The name of the environment argument pointing to the auth file


googleAuthR documentation built on April 11, 2023, 6 p.m.