Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbarbone committed Oct 15, 2023
1 parent 81296c5 commit 9e50a3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/crayon.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

use_color <- function() {
requireNamespace("crayon", quietly = TRUE) && crayon::has_color()
requireNamespace("crayon", quietly = TRUE) &&
getOption("crayon.enabled", crayon::has_color())
}

# add more when used
Expand Down

0 comments on commit 9e50a3b

Please sign in to comment.