missing_x_msg: (Internal) If the x argument does not exist for match_on,...

View source: R/utilities.R

missing_x_msgR Documentation

(Internal) If the x argument does not exist for match_on, fullmatch, or pairmatch, use this function to print a helpful message.

Description

(Internal) If the x argument does not exist for match_on, fullmatch, or pairmatch, use this function to print a helpful message.

Usage

missing_x_msg(x_str, data_str, ...)

Arguments

x_str

x as a string of code, usually deparse(substitute(x))

data_str

data arg as string of code

...

will look for 'z = <stuff>' in the extra args of caller

Value

string a helpful error message

Author(s)

Josh Buckner


jgellar/GroupMatch documentation built on Nov. 8, 2022, 10:48 p.m.