Releases: r-lib/evaluate
evaluate 1.0.5
evaluate 1.0.4
-
evaluate()once again doesn't open a device ifnew_device = FALSE(#234) -
evaluate()usesragg::agg_capture()if ragg is installed. This supports
more modern graphics capabilities thanpdf()and should generally be faster
(#238). -
evaluate()now runs cleanup with interrupts suspended. This should ensure
it works more reliably if you are usingsetTimeout(). -
evaluate()no longer errors when capturing certain plots generated by
grid (#244).
evaluate 1.0.3
v1.0.3 Increment version number to 1.0.3
evaluate 1.0.1
- Fix buglet revealed when by using
rlang::abort()inside ofevaluate().
evaluate 1.0.0
-
Setting
ACTIONS_STEP_DEBUG=1(as in a failing GHA workflow) will
automatically setlog_echoandlog_warningtoTRUE(#175). -
evaluate works on R 3.6.0 once again.
-
evaluate()improvements:-
Now terminates on the first error in a multi-expression input, i.e.
1;stop('2');3will no longer evaluate the third component. This
matches console behaviour more closely. -
Calls from conditions emitted by top-level code are automatically stripped
(#150). -
Result has a class (
evaluate_evaluation/list) with a basic print method. -
Plots created before messages/warnings/errors are correctly captured (#28).
-
-
Handler improvements:
-
The default
valuehandler now evaluatesprint()in a child of the
evaluation environment. This largely makes evaluate easier to test, but
should make defining S3 methods for print a little easier (#192). -
The
sourceoutput handler is now passed the entire complete input
expression, not just the first component.
-
-
evalute(include_timing)has been deprecated. I can't find any use of it on
GitHub, and it adds substantial code complexity for little gain. -
is.value()has been removed since it tests for an object that evaluate
never creates. -
New
local_reproducible_output()helper that sets various options and env
vars to help ensure consistency of output across environments. -
parse_all()adds a\nto the end of every line, even the last one if it
didn't have one in the input. Additionally, it no longer has a default
method, which will generate better errors if you pass in something unexpected. -
New
trim_intermediate_plots()drops intermediate plots to reveal the
complete/final plot (#206). -
watchout()is no longer exported; it's really an implementation detail that
should never have been leaked to the public interface.
evaluate 0.24.0
- The
sourceoutput handler can now take two arguments (the unparsedsrc
and the parsedcall) and choose to affect the displayed source.