summary_svg: Print summary of SVG file structure in console

Description Usage Arguments Details Examples

View source: R/svgtools.R

Description

Print summary of SVG file structure in console

Usage

1

Arguments

svg

XML document with SVG content.

Details

Prints helpful information to verify the content of the SVG file:

Examples

1
2
3
4
5
6
#read SVG file
fpath <- system.file("extdata", "fig1.svg", package="svgtools")
svg <- read_svg(file = fpath)

#show a summary of SVG file
summary_svg(svg = svg)

svgtools documentation built on Dec. 14, 2021, 5:10 p.m.