Path to this page:
Subject: CVS commit: pkgsrc/devel/R-evaluate
From: Makoto Fujiwara
Date: 2024-10-18 14:22:13
Message id: 20241018122213.871C8FC7E@cvs.NetBSD.org
Log Message:
(devel/R-evaluate) Updated 0.23 to 1.0.1
# evaluate 1.0.1
* Fix buglet revealed when by using `rlang::abort()` inside of `evaluate()`.
# evaluate 1.0.0
* Setting `ACTIONS_STEP_DEBUG=1` (as in a failing GHA workflow) will
automatically set `log_echo` and `log_warning` to `TRUE` (#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 evaluates `print()` 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.
# evaluate 0.24.0
* The `source` output handler can now take two arguments (the unparsed `src`
and the parsed `call`) and choose to affect the displayed source.
* The package now depends on R 4.0.0 in order to decrease our maintenance burden.
Files: