./devel/R-cli, Helpers for developing command line interfaces

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ]


Branch: CURRENT, Version: 3.6.6, Package name: R-cli-3.6.6, Maintainer: minskim

A suite of tools designed to build attractive command line interfaces
(CLIs). Includes tools for drawing rules, boxes, trees, and Unicode
symbols with ASCII alternatives.


Required to run:
[math/R] [devel/R-crayon] [devel/R-assertthat]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2026-05-31 15:41:57 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-cli) Updated 3.6.5 to 3.6 6, make test needs R-lifecycle

# cli 3.6.6

* New `{.num}` and `{.bytes}` inline styles to format numbers
  and bytes (@m-muecke, #644, #588, #643).
   2026-01-04 01:42:48 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-cli) Updated 3.6.4 to 3.6.5

# cli 3.6.5

* `code_highlight()` supports long strings and symbols
  (#727 @moodymudskipper).
   2025-07-16 11:27:17 by Jonathan Perkin | Files touched by this commit (3)
Log message:
R-cli: Fix includes.
   2025-02-16 01:05:43 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-cli) Updated 3.6.3 to 3.6.4

# cli 3.6.4

* Pluralization now handles edge cases (`NA`, `NaN`, `Inf` and `-Inf`)
  better (@rundel, #716).

* The URI generated for `.file`, `.run`, `.help` and `.vignette` hyperlinks
  can now be configured via options and env vars (@jennybc, #739, #744).

* `cli_progress_bar()` now accepts `total` = Inf or -Inf which mimics the
  behavior of when `total` is NA (@LouisMPenrod, #630).

* `num_ansi_colors()` now does not warn in Emacs if the `INSIDE_EMACS`
  environment variable is not a proper version number (@rundel, #689).

* `ansi_collapse()` and inline collapsing now uses `last` as the separator
  (without the serial comma) for two-element vectors if `sep2` is not
  given (@rundel, #681).

* `ansi_collapse()` is now correct for length-1 vectors with style "head"
  if width is specified (@rundel, #590).

* New `hash_xxhash()` etc. functions to calculate the xxHash of strings,
  raw vectors, objects, files.
   2024-09-21 12:53:07 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-cli) Updated 3.6.2 to 3.6.3

# cli 3.6.3

* cli now builds on ARM Windows.

* "Solarized Dark" is now the default syntax highlighting theme in
  terminals.

* The `{.obj_type_friendly}` inline style now only shows the first class
  name (#669 @olivroy).

* Syntax highlighting now does not fail in RStudio if the rstudioapi
  package is not installed (#697).
   2024-01-20 06:43:37 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-cli) Updated 3.6.1 to 3.6.2

# cli 3.6.2

* `ansi_collapse(x, trunc = 1, style = "head")` now indeed shows one
  element if `length(x) == 2`, as documented (@salim-b, #572).

* `ansi_collapse()` gains a `sep2` argument to specify a seperate separator
  for length-two inputs. It defaults to `" and "` which, in \ 
conjunction with
  the other defaults, produces a collapsed string that fully adheres to the
  [serial comma](https://en.wikipedia.org/wiki/Serial_comma) rules.
  (@salim-b, #569)

* `ansi_string()` is now an exported function (@multimeric, #573).
   2023-06-18 15:55:09 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-cli) Updated 3.6.0 to 3.6.1

# cli 3.6.1

* ANSI hyperlinks are now turned off on the RStudio render plane (#581).
   2023-02-19 13:18:33 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-cli) Updated 3.5.0 to 3.6.0

# cli 3.6.0

* The progressr progress handler now reports progress correctly
  (@HenrikBengtsson, #558).

* New `hash_*sha1()` functions to calculate the SHA-1 hash of strings,
  objects, files.

* cli now shows progress bars after one second by default, if they
  are less than half way at the point. (Or after two seconds,
  unconditionally, as before.) See the the `cli.progress_show_after`
  option in `?cli-config` for details (#542).

* `format_inline()` now has a new argument `keep_whitespace`, and it keeps
  whitespace, including newline and form feed characters by default.