rkrug / plantuml

R package to build UML graphs using plantuml
https://rkrug.github.io/plantuml/index.html
GNU General Public License v3.0
76 stars 8 forks source link

Error message `Error in plot.window(...) : need finite 'ylim' values` #7

Closed sebastiansauer closed 5 years ago

sebastiansauer commented 5 years ago

Hi there,

I love the idea of an R package for plantUML. However, I get this error message when executing the demo code:

x <- '
(*) --> "Initialization"

if "Some Test" then
  -->[true] "Some Activity"
  --> "Another activity"
  -right-> (*)
else
  ->[false] "Something else"
  -->[Ending process] (*)
endif
'
x <- plantuml( 
  x
)

plot( 
  x = x
  # vector = TRUE
)

Error in plot.window(...) : need finite 'ylim' values In addition: Warning messages: 1: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion 2: In min(x) : no non-missing arguments to min; returning Inf 3: In max(x) : no non-missing arguments to max; returning -Inf

Any help is greatly appreciated. Thanks for this software!

sessionInfo()


R version 3.6.0 (2019-04-26)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Mojave 10.14.6

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] plantuml_0.2.4

loaded via a namespace (and not attached):
 [1] compiler_3.6.0  magrittr_1.5    htmltools_0.3.6 tools_3.6.0     Rcpp_1.0.1      rmarkdown_1.14  grid_3.6.0      knitr_1.23      xfun_0.8       
[10] digest_0.6.20   packrat_0.5.0   png_0.1-7       XML_3.98-1.20   evaluate_0.14   grImport_0.9-2 ```
sebastiansauer commented 5 years ago

I can't reproduce the error any more. Consider solved! Thanks anyhow.