Learn R Programming

newsanchor (version 0.1.1)

stop_if_invalid_source: Checks validity of a source

Description

stop_if_invalid_source checks whether a given source is valid for News API and stops with an error if this is not the case.

Usage

stop_if_invalid_source(source)

Arguments

source

source to check as a string.