warn_w_errors_listed: List a vector of errors and provide a warning

View source: R/utils-input-validation.R

warn_w_errors_listedR Documentation

List a vector of errors and provide a warning

Description

List a vector of errors and provide a warning

Usage

warn_w_errors_listed(main_text = NULL, errors = NULL)

Arguments

main_text

character; The text used to introduce the list of errors, typically ending with a colon. For example: "Consider fixing the following issue(s):".

errors

errors; a vector of errors that will be formatted into a bulleted list for the user to review with each error listed on a new line.

Value

simpleError

Note

This function is meant to be used internally. Only use when debugging.


salesforcer documentation built on March 18, 2022, 6:26 p.m.