is_error_query_results: Determine if the 'query_results' is an error result

View source: R/is_error_query_results.R

is_error_query_resultsR Documentation

Determine if the query_results is an error result

Description

Determine if the query_results is an error result, i.e. that the query did not result in a lookup from the datebase and contains an error message (and hint) instead.

Usage

is_error_query_results(query_results, verbose = FALSE)

Arguments

query_results

the results of a query (e.g. a call to query_iedb) as a tibble

verbose

set to TRUE for more output

Value

  • TRUE if the query_results is an error result.

  • FALSE if the query_results is not error result.

Author(s)

Richèl J.C. Bilderbeek

Examples

is_error_query_results(get_test_query_results_error())

richelbilderbeek/iedbr documentation built on Aug. 21, 2022, 12:12 a.m.