summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2022-12-17 01:27:54 +0000
committermef <mef@pkgsrc.org>2022-12-17 01:27:54 +0000
commit138056fb96c56c5f2483be95b0ea68e434a2c477 (patch)
tree7bd45eb54275bb8ad969110850e1870220d8ef63
parent9e44640c4024bc8e3c8d9483f95d28b28bcfb7c8 (diff)
downloadpkgsrc-138056fb96c56c5f2483be95b0ea68e434a2c477.tar.gz
(devel/R-cli) Updated 3.3.0 to 3.4.1
# cli 3.4.1 * cli has better error messages now. * New `format_inline()` argument: `collapse`, to collapse multi-line output, potentially because of `\f` characters. # cli 3.4.0 * New experimental styles to create ANSI hyperlinks in RStudio and terminals that support them. See `?cli::links` for details (#513). * Expressions that start and end with a `{}` substitution are now styled correctly. E.g. `{.code {var1} + {var2}}` (#517). * New `{.obj_type_friendly}` inline style to format the type of an R object in a user friendly way (#463). * Improved vector collapsing behavior. cli now shows both the beginning and end of the collapsed vector, by default (#419). * Nested `cli()` calls work now (#497). * Return values now work as they should within `cli()` calls (#496). * Style attributes with underscores have new names with dashes instead: `vec_sep`, `vec_last`, `vec_trunc`, `string-quote`. The old names still work, but the new ones take precedence (#483). * cli now does not crash at the end of the R session on Arm Windows (#494; @kevinushey) * Vectors are truncated at 20 elements now by default, instead of 100 (#430). * 20 new spinners from the awesome [cli-spinners](https://github.com/sindresorhus/cli-spinners) package, and from @HenrikBengtsson in #469. Run this to demo them, some need UTF-8 and emoji support: ```r new <- c("dots13", "dots8Bit", "sand", "material", "weather", "christmas", "grenade", "point", "layer", "betaWave", "fingerDance", "fistBump", "soccerHeader", "mindblown", "speaker", "orangePulse", "bluePulse", "orangeBluePulse", "timeTravel", "aesthetic", "growVeriticalDotsLR", "growVeriticalDotsRL", "growVeriticalDotsLL", "growVeriticalDotsRR") demo_spinners(new) ``` * cli exit handlers are now compatible again with the withr package (#437). * cli functions now keep trailing `\f` characters as newlines. They also keep multiple consecutive `\f` as multiple newlinees (#491). * `{}` substitutions within inline styles are now formatted correctly. E.g. `{.code download({url})}` will not add backticks to `url`, and `{.val pre-{x}-post}` will format the whole value instead of `x`. (#422, #474). * cli now replaces newline characters within `{.class ... }` inline styles with spaces. If the `cli.warn_inline_newlines` option is set to TRUE, then it also throws a warning. (#417). * `code_highlight` now falls back to the default theme (instead of no theme) for unknown RStudio themes (#482, @rossellhayes). * `cli_abort()` now supplies `.frame` to `abort()`. This fixes an issue with the `.internal = TRUE` argument (r-lib/rlang#1386). * cli now does a better job at detecting the RStudio build pane, job pane and render pane, and their capabilities w.r.t. ANSI colors and hyperlinks. Note that this requires a daily build of RStudio (#465). * New functions for ANSI strings: `ansi_grep()`, `ansi_grepl()`, `ansi_nzchar()`. They work like the corresponding base R functions, but handle ANSI markup. * `style_hyperlink()` (really) no longer breaks if the env variable `VTE_VERSION` is of the form `\d{4}`, i.e., 4 consecutive numbers (#441, @michaelchirico) * `cli_dl()` and its corresponding `cli_li()` can now style the labels. * The behavior cli's inline styling expressions is now more predictable. cli does not try to evaluate a styled string as an R expression any more. E.g. the meaning of `"{.emph +1}"` is now always the "+1", with style `.emph`, even if an `.emph` variable is available and the `.emph + 1` expression can be evaluated. * Functions that apply bright background colors (e.g. `bg_br_yellow()`) now close themselves. They no longer format text after the end of the function (#484, @rossellhayes).
-rw-r--r--devel/R-cli/Makefile5
-rw-r--r--devel/R-cli/distinfo8
2 files changed, 7 insertions, 6 deletions
diff --git a/devel/R-cli/Makefile b/devel/R-cli/Makefile
index 880d3fe3325..d0dfbef5844 100644
--- a/devel/R-cli/Makefile
+++ b/devel/R-cli/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2022/05/02 14:32:10 mef Exp $
+# $NetBSD: Makefile,v 1.13 2022/12/17 01:27:54 mef Exp $
R_PKGNAME= cli
-R_PKGVER= 3.3.0
+R_PKGVER= 3.4.1
CATEGORIES= devel
MAINTAINER= minskim@NetBSD.org
@@ -25,6 +25,7 @@ TEST_DEPENDS+= R-glue>=1.6.0:../../devel/R-glue
TEST_DEPENDS+= R-htmlwidgets-[0-9]*:../../www/R-htmlwidgets
TEST_DEPENDS+= R-shiny-[0-9]*:../../www/R-shiny
TEST_DEPENDS+= R-whoami-[0-9]*:../../devel/R-whoami
+TEST_DEPENDS+= R-rlang-[0-9]*:../../devel/R-rlang
USE_LANGUAGES= c
diff --git a/devel/R-cli/distinfo b/devel/R-cli/distinfo
index 83035208d31..5034e665395 100644
--- a/devel/R-cli/distinfo
+++ b/devel/R-cli/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.10 2022/05/02 14:32:10 mef Exp $
+$NetBSD: distinfo,v 1.11 2022/12/17 01:27:54 mef Exp $
-BLAKE2s (R/cli_3.3.0.tar.gz) = a648b564c9ebef677be52b4b221e8080f20864230494f56be289c9e639c6e415
-SHA512 (R/cli_3.3.0.tar.gz) = e888bee42595c89cce3dde076083f80f5118d1a33e9968ff580d2b13d233baa041355c46622fd611e1ce00c32e9a5a1bb29aab0d1bcc719dd9ced3821efd9de0
-Size (R/cli_3.3.0.tar.gz) = 495823 bytes
+BLAKE2s (R/cli_3.4.1.tar.gz) = 2f9ec7ef7b968c11fe9924e42587d5b2f59a7ce20ff37d1791b718f16d36cc68
+SHA512 (R/cli_3.4.1.tar.gz) = b8fd9da9ef551a4626c40be2873d832aa2c109cc93103e7529e4d91f611e70395546b07502ea7620c7e93171441a43c74a64a53d945e675bf72258efd7af47b6
+Size (R/cli_3.4.1.tar.gz) = 540044 bytes