Allow the user to set and examine the parameter used by the package plantuml
getPlantumlOption(x, default = NULL)
plantumlOptions(...)
a character string holding an option name.
if the specified option is not set in the options list, this value is returned. This facilitates retrieving an option and checking whether it is set and setting it separately if not.
named value to be set in the form of name = value
getPlantumlOption()
: the value of the option
plantumlOptions()
: the old value of the plantuml options
getPlantumlOption("jar_name")
#> [1] "/Users/rainerkrug/Library/Caches/org.R-project.R/R/plantuml/jar/plantuml.jar"
plantumlOptions(jar_name = "something useless!")
getPlantumlOption("jar_name")
#> [1] "something useless!"