Skip to content

Commit

Permalink
Minor documentation fix for r2u.r
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Jul 31, 2024
1 parent dfb6e7b commit 247e0f4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
2024-07-31 Dirk Eddelbuettel <[email protected]>

* inst/examples/r2u.r: Minor documentation update

2024-07-07 Dirk Eddelbuettel <[email protected]>

* inst/examples/deadliners.r: Use getOption("width")

2024-06-24 Dirk Eddelbuettel <[email protected]>

* inst/examples/deadliners.r: A little formatting and colour
Expand Down
2 changes: 1 addition & 1 deletion inst/examples/deadliners.r
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ db <- as.data.frame(tools::CRAN_package_db())
dd <- with(db, db[!is.na(Deadline), c("Package", "Version", "Deadline")])
dd <- with(dd, dd[order(Deadline, Package), ])

cols <- if (nzchar(Sys.which("tput"))) 1.4*as.integer(system("tput cols", intern=TRUE)) else 80L
cols <- 1.2*getOption("width")
dts <- unique(dd[, "Deadline"])
for (d in seq_along(dts)) {
cat(.blue(dts[d]), ": ", sep="")
Expand Down
2 changes: 1 addition & 1 deletion inst/examples/r2u.r
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ library(docopt)
doc <- "Usage: r2u.r [--release DIST] [--debug] [--verbose] [--force] [--xvfb] [--bioc] [--suffix SUF] [--debver DBV] [--plusdfsg] [--uncache] [--dryrun] [--compile] [--help] CMD ...
Options:
-r --release DIST release distribution to use, one of 'focal' or 'jammy' [default: jammy]
-r --release DIST release distribution to use, one of 'focal', 'jammy', 'noble' [default: jammy]
-d --debug boolean flag for extra debugging
-v --verbose boolean flag for verbose operation
-f --force boolean flag to force a build
Expand Down

0 comments on commit 247e0f4

Please sign in to comment.