Skip to content

ggtrace 0.7.4

Choose a tag to compare

@yjunechoe yjunechoe released this 11 Apr 21:58
· 38 commits to main since this release
  • Reworked layer_is() to evaluate the argument eagerly by default, for ease of programming over it (#105)

  • Workflow functions throw a more informative error if the ggproto method is slightly off (ex: using StatCount$compute_layer when it's Stat$compute_layer) (#104)

  • Streamlined the behavior of ggtrace(use_names) for assigning names to the tracedump, where:

    • If a list of expression is provided in trace_exprs, uses the names of that list if TRUE, and uses deparsed expressions from the method steps as names if FALSE.

    • If trace_exprs is empty, uses deparsed expressions from the method steps as names if TRUE, and returns unnamed output if FALSE.