Learn R Programming

baseballr (version 2.0.0)

.report_api_warning: Report an API-call warning with full context

Description

Mirrors .report_api_error() for tryCatch(warning = ...) handlers.

Usage

.report_api_warning(w, hint = NULL, args = list())

Value

Invisibly NULL. Called for its side effects.

Arguments

w

warning condition.

hint

character. Same semantics as .report_api_error()'s hint. Defaults to "Request emitted a warning".

args

optional named list of caller arguments to dump.