Skip to contents

Print a concise and informative version of validation errors table.

Usage

view_config_val_errors(x)

Arguments

x

output of validate_config().

Value

prints the errors attribute of x in an informative format to the viewer. Only available in interactive mode.

See also

validate_config()

Other functions supporting config file validation: get_schema(), get_schema_url(), get_schema_valid_versions(), validate_config(), validate_hub_config()

Examples

if (FALSE) {
config_path <- system.file("error-schema/tasks-errors.json",
  package = "hubUtils"
)
validate_config(config_path = config_path, config = "tasks") |>
  view_config_val_errors()
}