ggtrace 0.7.4
-
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_layerwhen it'sStat$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 ifTRUE, and uses deparsed expressions from the method steps as names ifFALSE. -
If
trace_exprsis empty, uses deparsed expressions from the method steps as names ifTRUE, and returns unnamed output ifFALSE.
-