diff --git a/DESCRIPTION b/DESCRIPTION index b784da8..67e4bca 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -36,7 +36,6 @@ Imports: stats, utils Suggests: - crayon, ggplot2, ggraph, knitr, diff --git a/R/print.R b/R/print.R index 04c1e07..d68f7ca 100644 --- a/R/print.R +++ b/R/print.R @@ -2,15 +2,5 @@ #' @export print.color_scheme <- function(x, ...) { - if (requireNamespace("crayon", quietly = TRUE) && - getOption("crayon.enabled", default = FALSE)) { - styled <- vapply( - X = x, - FUN = function(x) crayon::make_style(x, bg = TRUE)(x), - FUN.VALUE = character(1) - ) - cat(styled) - } else { - print(unclass(x)) - } + print(unclass(x)) } diff --git a/codemeta.json b/codemeta.json index 8940fbf..3c5b33a 100644 --- a/codemeta.json +++ b/codemeta.json @@ -73,18 +73,6 @@ } ], "softwareSuggestions": [ - { - "@type": "SoftwareApplication", - "identifier": "crayon", - "name": "crayon", - "provider": { - "@id": "https://cran.r-project.org", - "@type": "Organization", - "name": "Comprehensive R Archive Network (CRAN)", - "url": "https://cran.r-project.org" - }, - "sameAs": "https://CRAN.R-project.org/package=crayon" - }, { "@type": "SoftwareApplication", "identifier": "ggplot2", @@ -240,7 +228,7 @@ }, "SystemRequirements": null }, - "fileSize": "1364.145KB", + "fileSize": "1385.973KB", "citation": [ { "@type": "SoftwareSourceCode", diff --git a/inst/tinytest/test_colour.R b/inst/tinytest/test_colour.R index 8c20a44..d642ef4 100644 --- a/inst/tinytest/test_colour.R +++ b/inst/tinytest/test_colour.R @@ -1,4 +1,3 @@ -options(crayon.enabled = FALSE) pal <- info() # Palette colours ==============================================================