(v1.1.0.9016) small fix

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-05-21 12:28:57 +02:00
1 parent 743f9a5364
commit 1b1e243d14
18 files changed
+30 -33

No files matched your search

+2 -2
View File
@@ -252,9 +252,9 @@ dataset_UTF8_to_ASCII <- function(df) {
}
# replace crayon::has_color
# replace crayon::has_color, but now also FALSE on non-interactive mode
has_colour <- function() {
if (Sys.getenv("TERM") == "dumb") {
if (Sys.getenv("TERM") == "dumb" | !interactive()) {
return(FALSE)
}
if (tolower(Sys.info()["sysname"]) == "windows") {