mirror of
https://github.com/msberends/AMR.git
synced 2025-07-10 05:41:59 +02:00
(v2.1.1.9137) examples fix
This commit is contained in:
@ -1173,7 +1173,7 @@ has_colour <- function() {
|
||||
# disable on emacs, which only supports 8 colours
|
||||
return(FALSE)
|
||||
}
|
||||
has_color <- import_fn("has_color", "crayon")
|
||||
has_color <- import_fn("has_color", "crayon", error_on_fail = FALSE)
|
||||
!is.null(has_color) && isTRUE(has_color())
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user