Learn R Programming

gtfstools (version 2.0.1)

warn_missing_ids: Warn about ids missing from a table

Description

Raises a warning listing the elements of id not found in existing_id. The warning is attributed to the function that called this helper.

Usage

warn_missing_ids(id, existing_id, table, id_name, call = sys.call(-1))

Value

The missing ids, invisibly.

Arguments

id

A character vector of ids given by the user.

existing_id

A character vector of the ids that exist in the table.

table

The name of the table, used in the warning message.

id_name

The name of the id field, used in the warning message.

call

The call the warning is attributed to. Defaults to the call of the function that called this helper.