diff --git a/R/conversion.R b/R/conversion.R index 9444760b9e..09946ee3ca 100644 --- a/R/conversion.R +++ b/R/conversion.R @@ -819,7 +819,7 @@ as_graphnel <- function(graph) { g.n <- graph_attr_names(graph) if ("directed" %in% g.n) { - warning("Cannot add graph attribute `directed'") + cli::cli_warn("Cannot add graph attribute {.str directed}.") g.n <- g.n[g.n != "directed"] } for (n in g.n) {