Browse code

Fixing length condition error

Kasper Daniel Hansen authored on 11/08/2021 12:52:11
Showing2 changed files

... ...
@@ -2,7 +2,7 @@ Package: Rgraphviz
2 2
 Title: Provides plotting capabilities for R graph objects
3 3
 Description: Interfaces R with the AT and T graphviz library for
4 4
         plotting R graph objects from the graph package.
5
-Version: 2.37.0
5
+Version: 2.37.1
6 6
 Authors@R: c(person(c("Kasper", "Daniel"), "Hansen", role = c("cre", "aut"),
7 7
                     email = "kasperdanielhansen@gmail.com"),
8 8
              person("Jeff", "Gentry", role = "aut"),
... ...
@@ -72,7 +72,7 @@ V <- letters[1:10]
72 72
 M <- 1:4
73 73
 g1 <- randomGraph(V, M, .2)
74 74
 z <- agopenSimple(g1,name="foo")
75
-if(graphvizVersion() >= "2.10") {
75
+if(graphvizVersion()$installed_version >= "2.10") {
76 76
   ## This example will only run with Graphviz >= 2.10
77 77
   plot(z, "twopi")
78 78
 }