Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

* Fix parsing test failures when multiple architectures are checked, #97.

* `rcmdcheck()` has now better colors. WARNINGs are magenta, and NOTEs
are blue (#103, @hadley).

# 1.3.2

* `rcmdcheck()` now correctly overwrites existing tarballs if they already
Expand Down
4 changes: 2 additions & 2 deletions R/callback.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

## This is the callback called for each line of the output
## We color it a bit, OK is green, NOTE is orange,
## WARNING and ERROR are red.
## We color it a bit, OK is green, NOTE is blue
## WARNING is magenta, ERROR is red.

#' @importFrom cli symbol
#' @importFrom utils head tail
Expand Down
4 changes: 2 additions & 2 deletions R/styles.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ style <- function(..., sep = "") {

styles <- list(
"ok" = green,
"note" = make_style("orange"),
"warn" = make_style("orange") $ bold,
"note" = make_style("blue"),
"warn" = make_style("magenta"),
"err" = red,
"pale" = make_style("darkgrey"),
"timing" = make_style("cyan")
Expand Down