greta-dev / greta

simple and scalable statistical modelling in R
https://greta-stats.org
Other
527 stars 63 forks source link

use `expect_snapshot(error = TRUE, ...)` instead of `expect_snapshot_error(...)` #693

Closed njtierney closed 3 weeks ago

njtierney commented 4 weeks ago

Using expect_snapshot(error = TRUE, ...) actually prints the code being evaluated, which makes tracking down mistakes much much simpler

njtierney commented 3 weeks ago

See https://masalmon.eu/2024/05/15/refactoring-xml/

(or hire an intern?)