When I use a schema generated from the same table I want to validate, I expect the validation to pass. However, this fails here. What's happening here? 🤔
library(pointblank)
# generate schema and use it to validate the same table
schema_mtcars <- col_schema(mtcars)
agent <- create_agent(mtcars) |>
col_schema_match(schema_mtcars) |>
interrogate()
# the one validation step in this agent fails
xlist <- agent |>
get_agent_x_list()
xlist$n
#> [1] 1
xlist$n_failed
#> [1] 1
Created on 2025-10-15 with reprex v2.1.1