v0.12.0
New features
-
Complete
{tidyselect}
support for thecolumns
argument of all validation functions, as well as inhas_columns()
andinfo_columns
. Thecolumns
argument can now take familiar column-selection expressions as one would use insidedplyr::select()
. This also begins a process of deprecation:columns = vars(...)
will continue to work, butc()
now supersedesvars()
.- If passing an external vector of column names, it should be wrapped in
all_of()
.
-
The
label
argument of validation functions now exposes the following string variables via{glue}
syntax:"{.step}"
: The validation step name"{.col}"
: The current column name"{.seg_col}"
: The current segment's column name"{.seg_val}"
: The current segment's value/group
These dynamic values may be useful for validations that get expanded into multiple steps.
-
interrogate()
gains two new options for printing progress in the console output:progress
: Whether interrogation progress should be printed to the console (TRUE
for interactive sessions, same as before)show_step_label
: Whether each validation step's label value should be printed alongside the progress.
Minor improvements and bug fixes
-
Fixes issue with rendering reports in Quarto HTML documents.
-
When no columns are returned from a
{tidyselect}
expression incolumns
, the agent's report now displays the originally supplied expression instead of simply blank (e.g., increate_agent(small_table) |> col_vals_null(matches("z"))
). -
Fixes issue with the hashing implementation to improve performance and alignment of validation steps in the multiagent.