pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/R-rlang (devel/R-rlang) Updated 1.0.2 to 1.0.6
details: https://anonhg.NetBSD.org/pkgsrc/rev/2590d26efafe
branches: trunk
changeset: 390120:2590d26efafe
user: mef <mef%pkgsrc.org@localhost>
date: Sat Dec 17 01:18:12 2022 +0000
description:
(devel/R-rlang) Updated 1.0.2 to 1.0.6
# rlang 1.0.6
* `as_closure(seq.int)` now works (#1468).
* rlang no longer stores errors and backtraces in a `org:r-lib`
environment on the search path.
* The low-level function `error_call()` is now exported (#1474).
* Fixed an issue that caused a failure about a missing `is_character`
function when rlang is installed alongside an old version of vctrs (#1482).
* Fixed an issue that caused multiline calls in backtraces.
* The C API function `r_lgl_which()` now propagates the names of the input
(#1471).
* The `pkg_version_info()` function now allows `==` for package
version comparison (#1469, @kryekuzhinieri).
# rlang 1.0.5
* Fixed backtrace display with calls containing long lists of
arguments (#1456).
* New `r_obj_type_friendly()` function in the C library (#1463). It
interfaces with `obj_type_friendly()` from `compat-obj-type.R` via a
C callable.
# rlang 1.0.4
* `is_installed()` no longer throws an error with irregular package
names.
* `is_installed()` and `check_installed()` now properly detect that
the base package is installed on older versions of R (#1434).
# rlang 1.0.3
* Child errors may now have empty messages to enable this pattern:
```
Error in `my_function()`:
Caused by error in `their_function()`:
! Message.
```
* The `rlib_bytes` class now uses prettyunits to format bytes. The
bytes are now represented with decimal prefixes instead of binary
prefixes.
* Supplying a frame environment to the `call` argument of `abort()`
now causes the corresponding function call in the backtrace to be
highlighted.
In addition, if you store the argument name of a failing input in
the `arg` error field, the argument is also highlighted in the
backtrace.
Instead of:
```
cli::cli_abort("{.arg {arg}} must be a foobar.", call = call)
```
You can now write this to benefit from arg highlighting:
```
cli::cli_abort("{.arg {arg}} must be a foobar.", arg = arg, call = call)
```
* `abort(message = )` can now be a function. In this case, it is
stored in the `header` field and acts as a `cnd_header()` method
invoked when the message is displayed.
* New `obj_type_oo()` function in `compat-obj-type.R` (#1426).
* `friendly_type_of()` from `compat-obj-type.R` (formerly
`compat-friendly-type.R`) is now `obj_type_friendly()`.
* `options(backtrace_on_error = "collapse")` and `print(trace,
simplify = "collapse")` are deprecated. They fall back to `"none"`
with a warning.
* `call_match()` now better handles `...` when `dots_expand = FALSE`.
* `list2(!!!x)` is now faster when `x` is a list. It is now returned
as is instead of being duplicated into a new list.
* `abort()` gains a `.trace_bottom` argument to disambiguate from
other `.frame`. This allows `cli::cli_abort()` to wrap `abort()` in
such a way that `.internal` mentions the correct package to report
the error in (#1386).
* The `transpose()` compat is now more consistent with purrr when
inner names are not congruent (#1346).
* New `reset_warning_verbosity()` and `reset_message_verbosity()`
functions. These reset the verbosity of messages signalled with
`warn()` and `inform()` with the `.frequency` argument. This is
useful for testing verbosity in your package (#1414).
* `check_dots_empty()` now allows trailing missing arguments (#1390).
* Calls to local functions that are not accessible through `::` or
`:::` are now marked with `(local)` in backtraces (#1399).
* Error messages now mention indexed calls like `foo$bar()`.
* New `env_coalesce()` function to copy bindings from one environment
to another. Unlike approaches based on looping with `[[<-`,
`env_coalesce()` preserves active and lazy bindings.
* Chaining errors at top-level (directly in the console instead of in
a function) no longer fails (#1405).
* Warning style is propagated across parent errors in chained error
messages (#1387).
* `check_installed()` now works within catch-all `tryCatch(error = )`
expressions (#1402, tidyverse/ggplot2#4845).
* `arg_match()` and `arg_match0()` now mention the correct call in
case of type error (#1388).
* `abort()` and `inform()` now print messages to `stdout` in RStudio
panes (#1393).
* `is_installed()` now detects unsealed namespaces (#1378). This fixes
inconsistent behaviour when run within user onLoad hooks.
* Source references in backtraces and `last_error()`/`last_trace()` instructions
are now clickable in IDEs that support links (#1396).
* `compat-cli.R` now supports `style_hyperlink()`.
* `abort(.homonyms = "error")` now throws the expected error (#1394).
* `env_binding_are_active()` no longer accidentally triggers active bindings
(#1376).
* Fixed bug in `quo_squash()` with nested quosures containing the
missing argument.
diffstat:
devel/R-rlang/Makefile | 4 ++--
devel/R-rlang/distinfo | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (26 lines):
diff -r d2d2f029d05c -r 2590d26efafe devel/R-rlang/Makefile
--- a/devel/R-rlang/Makefile Fri Dec 16 22:54:41 2022 +0000
+++ b/devel/R-rlang/Makefile Sat Dec 17 01:18:12 2022 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2022/04/23 06:44:29 mef Exp $
+# $NetBSD: Makefile,v 1.14 2022/12/17 01:18:12 mef Exp $
R_PKGNAME= rlang
-R_PKGVER= 1.0.2
+R_PKGVER= 1.0.6
CATEGORIES= devel
MAINTAINER= minskim%NetBSD.org@localhost
diff -r d2d2f029d05c -r 2590d26efafe devel/R-rlang/distinfo
--- a/devel/R-rlang/distinfo Fri Dec 16 22:54:41 2022 +0000
+++ b/devel/R-rlang/distinfo Sat Dec 17 01:18:12 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2022/04/23 06:44:29 mef Exp $
+$NetBSD: distinfo,v 1.14 2022/12/17 01:18:12 mef Exp $
-BLAKE2s (R/rlang_1.0.2.tar.gz) = 142761ebdb2bd7db51644e56d20129e5641087462d5385ab61e59190ea910250
-SHA512 (R/rlang_1.0.2.tar.gz) = b68ab77d01d0effa2bbf97558336738eba7584bfbdb90ae5fb90a1290f11a8521d58522aab759d9a8ce1984567b876c6f2d328b7b9c94ca72b0957a1ee3296f3
-Size (R/rlang_1.0.2.tar.gz) = 724829 bytes
+BLAKE2s (R/rlang_1.0.6.tar.gz) = 115a824500b16cf8380356a6d96d86cbc796ed4869e8af53db24d270227fc1a5
+SHA512 (R/rlang_1.0.6.tar.gz) = a97aa0ebefd6aae8a3552f6cad967cfe20ecf2278173c64185506c476f6222ea89ace04e068c9858742172d424dfec3fa125ee23cab66bf7244aac7c6a0a6383
+Size (R/rlang_1.0.6.tar.gz) = 742508 bytes
Home |
Main Index |
Thread Index |
Old Index