Apologies for a disastrous last release!
- The default is now to use the plantuml web server.
- A local server can be started and stopped from within R
-
svg
is the format for the graph returned from plantuml and the svg is converted to the other graphic formats (png, pdf, ps)
- an ASCII art can be produced using
txt
Major re-factoring and change of functionality This release uses the local in plantuml integrated PicoWeb server to generate the graph. All graphs are generated as svg files and converted to the target format. This change makes the structure much easier.
Some other follow up changes which I unfortunately do not remember were also included.
Major and Breaking changes
- included a function to generate the graph on a plantuml server, i.e. independant of a local installation.
- use Smetana instead of
dot
(see here for details)
- default vector format as
svg
instead of eps
- Bump R dependency to >= 4.0
New Features
- added plantuml.format “auto” to knit engine With “auto” the format is changed deepending on the output format. If the output format is html, it is “svg”, otherwise “pdf”. Tested for pfdf, html and doc.
other Changes
- added knit engine registration into .onAttach() so it does not need to be called explicitely. # plantuml 0.3.5 ## Major and Breaking changes
- renamed updatePlantumlJar() to update_plantuml()!!!
Other changes
- move jar location to R_usr_dir() so that it will not cause problems during testing or on machines withn limited access. The jar will “survive” a new installation of the package.
- add options to plantuml to make the finding oj java and the plantuml jar easier
- added
plantuml.preview
option to kitr engine which will show a preview in RStudio
- Adds
mode = "wd"
to the download of plantuml.jar
to avoid corruption on windows
- added knit engine so that PlantUML code can be directly knitted in a RMarkdown document
Bug fix
- remove leading and trailing whitespace
Change in default behaviour
- added “-Djava.awt.headless=true -splash:no” as default java_opt to keep java quiet
Sebastyian Sauer reported https://github.com/rkrug/plantuml/issues/8 which was caused by a trailing linebreak. Seems to be a probl;em in plantuml, but fixed here.
Minor changes
- add argumwent beta to function plantuml_update() to enable download from beta versions
- added check if plantuml.jar has been downloaded - will download it automatically when not downloaded
Diverse
- add GPL 3 License
- add DOI to Readme
- quote names of objects to avoid errors with non-text-characters
add java_opt argument to plot.plantuml() to allow additional java arguments. Thanks samssann in https://github.com/rkrug/plantuml/issues/1
add factor support
Fix wrong itteration through attributes which resulted in only the first attribute being shown
Fixes in Documentation
CHANGES:
Generate class diagram instead of object diagram - nicer to see tattriburtes and contains.
- fixed error when object has more than one class
- add BasicUsage vignette
- fix du=ocumentation errors
- revert back to using
.eps
as intermediate format instead odf .svg
- Added asp = 1 to
plot::plantuml()
to always plot the .eps
in the correct ratio.
Added a NEWS.md
file to track changes to the package.
Added vector format as intermediate format for plotting to device, used as defasult now.