Recent Releases of evaluate
evaluate - evaluate 1.0.1
- Fix buglet revealed when by using
rlang::abort()inside ofevaluate().
- R
Published by hadley over 1 year ago
evaluate - 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).
- Now terminates on the first error in a multi-expression input, i.e.
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.
- The default
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.
- R
Published by hadley over 1 year ago
evaluate - evaluate 0.24.0
- The
sourceoutput handler can now take two arguments (the unparsedsrcand the parsedcall) and choose to affect the displayed source.
- R
Published by hadley over 1 year ago