1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-10 06:21:50 +02:00

(v2.1.1.9137) examples fix

This commit is contained in:
2025-01-31 16:28:06 +01:00
parent 22afd918e6
commit ecc4e25e75
9 changed files with 6 additions and 6 deletions

View File

@ -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())
}