From 99cb49278a8f9f9d0a809d8e42a9cc9cca7690f5 Mon Sep 17 00:00:00 2001 From: mef Date: Mon, 31 May 2021 22:04:13 +0000 Subject: [PATCH] (devel/R-cli) Updated 2.2.0 to 2.5.0 # cli 2.5.0 * New `style_no_*()` functions to locally undo styling. New `col_none()` and `bg_none()` functions to locally undo text color and background color. * It is now possible to undo text and background color in a theme, by setting them to `NULL` or `"none"`. * `cli_memo()` was renamed to `cli_bullets()`, as it is by default formatted as a bullet list (#250). * New `ansi_toupper()`, `ansi_tolower` and `ansi_chartr()` functions, the ANSI styling aware variants of `toupper()`, `tolower()` and `chartr()` (#248). * New `test_that_cli()` helper function to write testthat tests for cli output. * `tree()` now does not produce warnings for tibbles (#238). * New inline style: `.cls` to format class names, e.g. `"{.var fit} must be an {.cls lm} object"`. # cli 2.4.0 * New `cli_memo()` function to create a list of items or tasks. * New `cli::cli()` function to create a single cli message from multiple cli calls (#170). * cli now highlights weird names, e.g. path names with leading or trailing space (#227). * Styling is fixed at several places. In particular, nested lists should be now formatted better (#221). * New `spark_bar()` and `spark_line()` funcions to draw small bar or line charts. # cli 2.3.1 * ANSI color support detection works correctly now in older RStudio, and also on older R versions. * `cli_h1()`, `cli_h2()` and `cli_h3()` now work with multiple glue substitutions (#218). # cli 2.3.0 * `boxx()` now correctly calculates the width of the box for non-ASCII characters. * New `ansi_trimws()` and `ansi_strwrap()` functions, they are similar to `trimws()` and `strwrap()` but work on ANSI strings. * New `ansi_columns()` function to format ANSI strings in multiple columns. * `ansi_substr()`, `ansi_substring()`, `ansi_strsplit()`, `ansi_align()` now always return `ansi_string` objects. * `ansi_nchar()`, `ansi_align()`, `ansi_strtrim()` and the new `ansi_strwrap()` as well handle wide Unicode correctly, according to their display width. * `boxx()` can now add headers and footers to boxes. --- devel/R-cli/Makefile | 4 ++-- devel/R-cli/distinfo | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/devel/R-cli/Makefile b/devel/R-cli/Makefile index b0d68e0e873c..31136ae74825 100644 --- a/devel/R-cli/Makefile +++ b/devel/R-cli/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.9 2021/01/01 04:15:16 mef Exp $ +# $NetBSD: Makefile,v 1.10 2021/05/31 22:04:13 mef Exp $ R_PKGNAME= cli -R_PKGVER= 2.2.0 +R_PKGVER= 2.5.0 CATEGORIES= devel MAINTAINER= minskim@NetBSD.org diff --git a/devel/R-cli/distinfo b/devel/R-cli/distinfo index 20f57e2b964d..ae8d14f7fe73 100644 --- a/devel/R-cli/distinfo +++ b/devel/R-cli/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.5 2021/01/01 04:15:16 mef Exp $ +$NetBSD: distinfo,v 1.6 2021/05/31 22:04:13 mef Exp $ -SHA1 (R/cli_2.2.0.tar.gz) = 2984fb13422ab0c51d5dd908ac7d71f82d5db033 -RMD160 (R/cli_2.2.0.tar.gz) = 5506d107250781a1a4a1093fc30c73cc121107e2 -SHA512 (R/cli_2.2.0.tar.gz) = a5ec962efaf9b9f691c03fd4aa4b18ead3d3473fca4a08d4173a901358f5399e696fe65549ff744e320379a5a05ed8fce84c363b41a7a5d227145e9e7a15214f -Size (R/cli_2.2.0.tar.gz) = 120676 bytes +SHA1 (R/cli_2.5.0.tar.gz) = 66fa62299839a69abcaf750a25755baf60d27461 +RMD160 (R/cli_2.5.0.tar.gz) = 62f22644d81a33471074ce6c1df939a27fce97f7 +SHA512 (R/cli_2.5.0.tar.gz) = de61ae17dd8d2b5557ac90c69ba6d31c477b0dc76cc28912c20102032e6ced0205c22e4b88828c511e029afd519e246e1956876590ad9ec715df9396c539b6d2 +Size (R/cli_2.5.0.tar.gz) = 158156 bytes