mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 06:30:48 +01:00
(v1.1.0.9016) small fix
This commit is contained in:
1 parent
743f9a5364
commit
1b1e243d14
18 files changed
+30
-33
No files matched your search
@@ -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