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

Use system wide plantuml installation #6

Closed rkrug closed 4 years ago

rkrug commented 5 years ago

Check if it is possible to use a systemwide plantuml installation.

Considerations:

possible steps

  1. check what x <- system2(command = "plantuml", args = "-version", stdout = TRUE) returns
  2. if it returns plantuml info, use the installed plantuml, if not, download the new one when calling plantuml_run()

Could be done when starting the package, and the path to the plantuml command could be set in an environment variable.

rkrug commented 4 years ago

This will be included in v0.4 and is already in the dev branch, by specifying the location and name of the plantuml.jar file using setPlantumlOptions()