GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge remote-tracking branch 'origin/main' · TimTaylor/cli@5ca2ba9

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • R
    • cliapp-docs.R
    • diff.R
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎R/cliapp-docs.R‎

Copy file name to clipboardExpand all lines: R/cliapp-docs.R
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
#' * `run` is an R expression, that is potentially clickable if the terminal
8181
#' supports ANSI hyperlinks to runnable code (e.g. RStudio).
8282
#' It supports link text. See [links] for more about cli hyperlinks.
83+
#' * `str` for a double quoted string escaped by [base::encodeString()].
8384
#' * `strong` for strong importance.
8485
#' * `topic` is a help page of a _ropic_.
8586
#' If the terminal supports ANSI hyperlinks to help pages (e.g. RStudio),
Collapse file

‎R/diff.R‎

Copy file name to clipboardExpand all lines: R/diff.R
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ get_diff_chunks <- function(lcs, context = 3L) {
167167

168168
# chunk starts at operation number sum(length) before it, plus 1, but
169169
# at the end we change this to include the context chunks are well
170-
chunks$op_begin <- c(0, cumsum(runs$length))[which(runs$values)] + 1
170+
chunks$op_begin <- c(0, cumsum(runs$lengths))[which(runs$values)] + 1
171171
chunks$op_length <- runs$lengths[runs$values]
172172

173173
# `old` positions are from `old_off`, but need to fix the boundaries

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.