Manipulate SVG (Template) Files of Charts
Overview
The purpose of this package is to manipulate SVG files that are templates of charts the user wants to produce. In vector graphics one copes with x-/y-coordinates of elements (e.g. lines, rectangles, text). Their scale is often dependent on the program that is used to produce the graphics. In applied statistics one usually has numeric values on a fixed scale (e.g. percentage values between 0 and 100) to show in a chart. Basically, 'svgtools' transforms the statistical values into coordinates and widths/heights of the vector graphics. This is done by stackedBar() for bar charts, by linesSymbols() for charts with lines and/or symbols (dot markers) and scatterSymbols() for scatterplots.
Features:
- linesSymbols(...): added support for points-attributes of polygons that contain only space as seperator
- added more unit tests
Fixes:
- fixed diffBar(...) for correct position of bars (vertical alignment)
- fixed code for support of rect-nodes without x- and/or y-attributes (assuming that x and/or y is 0)
From NEWS in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-08
- NOTE12 OK, 1 NOTE2026-06-07
- OK14 OK2026-03-10
Documentation
- Help pages
- 12 (1 internal)includes a package overview page
- Examples that run
- 100%11 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 73%
- Help pages citing references
- 0%
Downloads
Dependencies
Code & Tests
People & History
Previously maintained by Konrad Oberwimmer (1.0.0 to 1.1.0).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.1.3Latest
- RR 4.5.0 released · 2025-04-11
- 1.1.22024-06-06 · diff ↗
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 1.1.02021-12-14 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.0.32021-04-14 · diff ↗
- 1.0.12021-03-04 · diff ↗
- 1.0.02020-11-20
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2020-11-20
- Total releases
- 6 / 6 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.0.0
- Download size
- 4.8 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("svgtools")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.