get_agent_x_list()$columns
is empty for col_vals_expr()
#477
Milestone
get_agent_x_list()$columns
is empty for col_vals_expr()
#477
I notice that, for col_vals_expr(), the
columns
slot of the object returned byget_agent_x_list()
is NA.This is linked to https://github.com/rich-iannone/pointblank/issues/475, but as a slightly broader issue (such as "For failed rows, access columns used in validation, and only those").
In my code in issue https://github.com/rich-iannone/pointblank/issues/475, instead of
columns_to_display <- unique c((id_columns, get_agent_x_list(agent, i = c_step)$columns ))
I use the following workaround, with a hack involving
all.vars(as.formula())
:My use case here is a validation step involving:
I would suggest adding something to fill in the
columns
slot in such cases (and maybe forspecially()
, too).The text was updated successfully, but these errors were encountered: