Commit a4622f5d authored by Dorchies David's avatar Dorchies David
Browse files

fix(plot.GRiwrm): error on R devel

`format(..., digits = 0)` is not allowed anymore (https://bugs.r-project.org/show_bug.cgi?id=18098#c7)

Refs #74
Showing with 1 addition and 1 deletion
+1 -1
......@@ -27,7 +27,7 @@ plot.GRiwrm <- function(x, display = TRUE, orientation = "LR", width = "100%", h
nodes <- paste(
g2$id,
"-->|",
format(g2$length, trim = TRUE, digits = 0),
round(g2$length, digits = 0),
"km|",
g2$down
)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment