mirror of
https://github.com/msberends/AMR.git
synced 2026-10-01 04:13:33 +02:00
(v2.1.1.9137) examples fix
This commit is contained in:
1 parent
22afd918e6
commit
ecc4e25e75
9 files changed
+6
-6
No files matched your search
@@ -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