evaluate 1.0.0
-
Setting
ACTIONS_STEP_DEBUG=1
(as in a failing GHA workflow) will
automatically setlog_echo
andlog_warning
toTRUE
(#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');3
will 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
value
handler 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
source
output 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\n
to 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.