evaluate
A version of eval for R that returns more information about what happened
The engine under every knitted R document reached 1.0 by making evaluation behave like the console.
◆Recent moves
- 11mo ago
Patch for ggplot2 4.0.0 support
A single-purpose patch to keep plot capture working against ggplot2 4.0.0. Small in text, but it sits on the path of every knitted document that draws a ggplot.
View source ↗ - 1y ago
Plot capture moves to ragg when available
evaluate() uses ragg::agg_capture() if ragg is installed, giving faster and more modern graphics than pdf(), and stops opening a device when new_device = FALSE. Cleanup now runs with interrupts suspended, which matters for anyone wrapping evaluation in setTimeout().
View source ↗ - 1y ago
Fix for rlang::abort() inside evaluate()
A small fix for a bug that only appeared when rlang::abort() was called inside evaluate(). Follow-up to the condition handling reworked in 1.0.0.
View source ↗ - 1y ago
1.0 stops at the first error and gives results a class
⚡ SPARKMulti-expression input now terminates on the first error instead of running on, results gain an evaluate_evaluation class with a print method, and plots created before messages are finally captured correctly. It is the release that decided what evaluate is for and shed what it wasn't.
View source ↗ - 2y ago
Source handler gains access to the parsed call
The source output handler can take both the unparsed source and the parsed call, letting callers change what source is displayed. A small hook, aimed at tools that reformat code in rendered output.
View source ↗