resp_check: Check responses

View source: R/utils.R

resp_checkR Documentation

Check responses

Description

Checks for valid server response and passes silently or produces a useful message.

Usage

resp_check(response)

Arguments

response

response a [httr::GET()] request result returned from the API

Value

nothing if check is passed, or an informative message if not passed.


echor documentation built on July 9, 2023, 7:11 p.m.