mirror of
https://github.com/msberends/AMR.git
synced 2025-07-09 03:22:00 +02:00
(v1.1.0.9016) small fix
This commit is contained in:
@ -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") {
|
||||
|
Reference in New Issue
Block a user