{
  "_id": "6ad7475e69e274306bae81a2",
  "Package": "svgparser",
  "Type": "Package",
  "Title": "Read SVG as Grobs and Data Frames",
  "Version": "0.1.2",
  "Author": "mikefc",
  "Maintainer": "mikefc <mikefc@coolbutuseless.com>",
  "Description": "Read SVG to grid graphics objects (i.e. grobs), and\ndata.frames.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.1.2",
  "URL": "https://github.com/coolbutuseless/svgparser,\nhttps://coolbutuseless.github.io/package/svgparser",
  "Remotes": [
    "coolbutuseless/cssparser",
    "coolbutuseless/minisvg",
    "pmur002/gggrid"
  ],
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev libxml2-dev",
  "Repository": "https://trevorld.r-universe.dev",
  "Date/Publication": "2021-12-25 00:04:53 UTC",
  "RemoteUrl": "https://github.com/coolbutuseless/svgparser",
  "RemoteRef": "HEAD",
  "RemoteSha": "eed57af52189344d69aded270b4378c2254a4b92",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-20 10:36:35 UTC",
    "User": "root"
  },
  "_user": "trevorld",
  "_type": "src",
  "_file": "svgparser_0.1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/f964b29ce73103c97f4bd0c6539812bcdb7413f5b9932bcd99f87fcad7975831",
  "_filesize": 6887384,
  "_sha256": "f964b29ce73103c97f4bd0c6539812bcdb7413f5b9932bcd99f87fcad7975831",
  "_expires": "2027-01-28T10:50:04.000Z",
  "_created": "2026-10-20T10:36:35.000Z",
  "_published": "2026-10-20T10:50:06.581Z",
  "_upstream": "https://github.com/coolbutuseless/svgparser",
  "_status": "success",
  "_maintainer": {
    "name": "mikefc",
    "email": "mikefc@coolbutuseless.com",
    "login": "coolbutuseless",
    "description": "Cool, but useless.",
    "uuid": 181818
  },
  "_jobs": [
    {
      "job": 118582491947,
      "time": 124,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12258496608"
    },
    {
      "job": 118582492007,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12257894693"
    },
    {
      "job": 118582492133,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "12258878432"
    },
    {
      "job": 118582491993,
      "time": 132,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12258758541"
    },
    {
      "job": 118581087455,
      "time": 217,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12258114257"
    },
    {
      "job": 118582492034,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12258626594"
    },
    {
      "job": 118582492046,
      "time": 90,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12258896419"
    },
    {
      "job": 118582492074,
      "time": 94,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "12259066249"
    },
    {
      "job": 118582492088,
      "time": 72,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12258931206"
    }
  ],
  "_buildurl": "https://github.com/r-universe/trevorld/actions/runs/39408739277",
  "_commit": {
    "id": "eed57af52189344d69aded270b4378c2254a4b92",
    "author": "mike <mikefc@coolbutuseless.com>",
    "committer": "mike <mikefc@coolbutuseless.com>",
    "message": "v0.1.2 fix bug in viewbox parsing\n",
    "time": 1640390693
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "xml2",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "cssparser",
      "version": ">= 0.1.1",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "gggrid",
      "role": "Suggests"
    },
    {
      "package": "minisvg",
      "role": "Suggests"
    },
    {
      "package": "magick",
      "role": "Suggests"
    },
    {
      "package": "openssl",
      "role": "Suggests"
    }
  ],
  "_owner": "coolbutuseless",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 53,
  "_contributors": [
    {
      "user": "coolbutuseless",
      "count": 4,
      "uuid": 181818
    }
  ],
  "_userbio": {
    "uuid": 2433259,
    "type": "user",
    "name": "Trevor L. Davis",
    "followers": 79,
    "description": "Studies electricity markets"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/svgparser"
  },
  "_devurl": "https://github.com/coolbutuseless/svgparser",
  "_pkgdown": "https://coolbutuseless.github.io/package/svgparser",
  "_searchresults": 64,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/svgparser.html",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    "load_supertinyicon",
    "read_svg",
    "supertinyicon_names"
  ],
  "_help": [
    {
      "page": "apply_transform",
      "title": "Apply the given transform to x,y coordds",
      "topics": [
        "apply_transform"
      ]
    },
    {
      "page": "arc_to_df",
      "title": "Convert '<path>' arc to a data.frame of coordinates",
      "topics": [
        "arc_to_df"
      ]
    },
    {
      "page": "bezier3_to_df",
      "title": "Convert cubic and quadratic beziers to data.frame of coordinates along curve",
      "topics": [
        "bezier2_to_df",
        "bezier3_to_df"
      ]
    },
    {
      "page": "create_rect_df",
      "title": "Create a data.frame for a rectangle with rounded corners",
      "topics": [
        "create_rect_df"
      ]
    },
    {
      "page": "css_calc_all_styles",
      "title": "Create a named list to store computed styles indexed by the xpath of each element",
      "topics": [
        "css_calc_all_styles"
      ]
    },
    {
      "page": "css_value_as_numeric",
      "title": "Convert a string value from CSS into a numeric value",
      "topics": [
        "css_value_as_numeric"
      ]
    },
    {
      "page": "data_frame",
      "title": "data.frame creation",
      "topics": [
        "data_frame"
      ]
    },
    {
      "page": "ellipse_to_df",
      "title": "Convert Ellipse parameters into a data.frame of coords",
      "topics": [
        "ellipse_to_df"
      ]
    },
    {
      "page": "get_element_by_id",
      "title": "Get an element from an XML document by ID. Return NA if ID does not exist.",
      "topics": [
        "get_element_by_id"
      ]
    },
    {
      "page": "gpar_to_df",
      "title": "Convert a gpar object to a data.frame",
      "topics": [
        "gpar_to_df"
      ]
    },
    {
      "page": "lex",
      "title": "Break a string into labelled tokens based upon a set of patterns",
      "topics": [
        "lex"
      ]
    },
    {
      "page": "load_supertinyicon",
      "title": "Load an SVG icon from the 'supertinyicons' icon pack",
      "topics": [
        "load_supertinyicon"
      ]
    },
    {
      "page": "parse_command_to_matrix",
      "title": "Parse tokens representing a single transform instruction into a matrix",
      "topics": [
        "parse_command_to_matrix"
      ]
    },
    {
      "page": "parse_svg_group",
      "title": "Parse xml representing some SVG",
      "topics": [
        "parse_svg_group"
      ]
    },
    {
      "page": "parse_svg_path_d",
      "title": "Parse path into a list of parameters and meta-information",
      "topics": [
        "parse_svg_path_d"
      ]
    },
    {
      "page": "parse_svg_path",
      "title": "Parse an SVG tag of given type",
      "topics": [
        "parse_svg_circle",
        "parse_svg_ellipse",
        "parse_svg_image",
        "parse_svg_line",
        "parse_svg_linearGradient",
        "parse_svg_path",
        "parse_svg_polygon",
        "parse_svg_polyline",
        "parse_svg_radialGradient",
        "parse_svg_rect",
        "parse_svg_switch",
        "parse_svg_text",
        "parse_svg_use"
      ]
    },
    {
      "page": "parse_transform_string_to_matrices",
      "title": "Parse a transform string to a list of matrices - 1 per command. Mainly for debugging",
      "topics": [
        "parse_transform_string_to_matrices"
      ]
    },
    {
      "page": "parse_transform_string_to_matrix",
      "title": "Parse a transform string to asingle transform matrix",
      "topics": [
        "parse_transform_string_to_matrix"
      ]
    },
    {
      "page": "path_list_expand_beziers",
      "title": "Prepare complete list of control point coordinates for all beziers",
      "topics": [
        "path_list_expand_beziers"
      ]
    },
    {
      "page": "path_list_to_abs_path_list",
      "title": "Convert path relative coordinates to absolute coordinates",
      "topics": [
        "path_list_to_abs_path_list"
      ]
    },
    {
      "page": "path_list_to_df",
      "title": "Convert a path list to a data.frame",
      "topics": [
        "path_list_to_df"
      ]
    },
    {
      "page": "rbind_dfs",
      "title": "Internal function for perfroming do.call(rbind...)",
      "topics": [
        "rbind_dfs"
      ]
    },
    {
      "page": "read_file",
      "title": "Brute force file reader that is not concerned with file endings",
      "topics": [
        "read_file"
      ]
    },
    {
      "page": "read_svg",
      "title": "Read an svg file (or text) into a 'grid::grobTree' object or 'data.frame'",
      "topics": [
        "read_svg"
      ]
    },
    {
      "page": "shotgun_match",
      "title": "Pick the closest matching word from a list of words.",
      "topics": [
        "shotgun_match"
      ]
    },
    {
      "page": "style_to_gpar",
      "title": "Convert a list of style information for an element to a 'gpar' object",
      "topics": [
        "style_to_gpar"
      ]
    },
    {
      "page": "style_to_viewport",
      "title": "Convert a list of style information to a viewport object",
      "topics": [
        "style_to_viewport"
      ]
    },
    {
      "page": "supertinyicon_names",
      "title": "Names of icons in 'supertinyicons' set",
      "topics": [
        "supertinyicon_names"
      ]
    },
    {
      "page": "svg_colour_to_r_colour",
      "title": "Convert an SVG colour to an R colour",
      "topics": [
        "svg_colour_to_r_colour"
      ]
    },
    {
      "page": "trim",
      "title": "Trim the end off a word.",
      "topics": [
        "trim"
      ]
    },
    {
      "page": "update_transform",
      "title": "Update a transform matrix with an element",
      "topics": [
        "update_transform"
      ]
    },
    {
      "page": "update_transform_with_string",
      "title": "Update a transform matrix with the new SVG transform string",
      "topics": [
        "update_transform_with_string"
      ]
    }
  ],
  "_readme": "https://github.com/coolbutuseless/svgparser/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cssparser",
    "rlang",
    "selectr",
    "stringi",
    "xml2"
  ],
  "_vignettes": [
    {
      "source": "ggplot2.Rmd",
      "filename": "ggplot2.html",
      "title": "Annotating ggplot2 with SVG",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Load SVG from web",
        "Add 'grob' to ggplot2 with annotation_custom()"
      ],
      "created": "2021-12-01 10:14:41",
      "modified": "2021-12-01 10:14:41",
      "commits": 1
    },
    {
      "source": "tileable.Rmd",
      "filename": "tileable.html",
      "title": "Creating and using a tileable SVG pattern in R grid graphics",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Creating a seamless tileable SVG in R and using it as a fill pattern",
        "Overview",
        "Create SVG using",
        "Create a pattern object",
        "Use pattern as fill for another object"
      ],
      "created": "2021-12-01 10:14:41",
      "modified": "2021-12-01 10:14:41",
      "commits": 1
    },
    {
      "source": "css.Rmd",
      "filename": "css.html",
      "title": "CSS and SVG",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "The style cascade in SVG",
        "Example SVG",
        "Injecting custom default styling",
        "Injecting a supplemental style sheet"
      ],
      "created": "2021-12-01 10:14:41",
      "modified": "2021-12-01 10:14:41",
      "commits": 1
    },
    {
      "source": "false-colours.Rmd",
      "filename": "false-colours.html",
      "title": "Debugging with False Colours",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "How",
        "`Original Image",
        "false_colour = 'rainbow'",
        "false_colour = 'hcl'",
        "false_colour = 'heat'",
        "false_colour = 'terrain'"
      ],
      "created": "2021-12-01 10:14:41",
      "modified": "2021-12-01 10:14:41",
      "commits": 1
    },
    {
      "source": "gggrid.Rmd",
      "filename": "gggrid.html",
      "title": "Plotting with grobs using {gggrid}",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Use grobs as points in"
      ],
      "created": "2021-12-01 10:14:41",
      "modified": "2021-12-01 10:14:41",
      "commits": 1
    }
  ],
  "_score": 5.928395852256713,
  "_indexed": false,
  "_nocasepkg": "svgparser",
  "_universes": [
    "trevorld"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-20T10:38:43.000Z",
      "distro": "resolute",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "https://r2.ropensci.org/9c7421d0cd93aa303848770c77d3e57e4e98b40046dbbce2f16c35ff8888f29f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/39408739277"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-20T10:38:54.000Z",
      "distro": "resolute",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "https://r2.ropensci.org/f24816ca0f659b9db0d182cd7f62f9ab7d608f41673dbbada8e7c7a11dbdb4d1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/39408739277"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-10-20T10:49:14.000Z",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "https://r2.ropensci.org/296183f38132b2ea60106208a27784a4118f3ae6fef203200d8e718d6ec3a872",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/39408739277"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-10-20T10:48:50.000Z",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "https://r2.ropensci.org/88ac64dc58ff800398e2eb4bbbce9e12350e174a401aceeaefbc6329bbca4a92",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/39408739277"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-10-20T10:38:42.000Z",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "https://r2.ropensci.org/d74951c3154366089fd37399f06d8575d04abcae0ed36a22c21383ac5fa5fded",
      "status": "success",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/39408739277"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-20T10:38:01.000Z",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "https://r2.ropensci.org/932d4837091d73bb8391898f88ec93cfab20d3bc5835c280b4b10795a67cee6c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/39408739277"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-20T10:38:07.000Z",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "https://r2.ropensci.org/016e18d9e461fb7bf2c89255167afb0f9e14d8559bb4b773fe6865094707f60c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/39408739277"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-20T10:37:49.000Z",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "https://r2.ropensci.org/696f2d12bf7f44a70b6c05a8a55051438b7e8a1fad1728d5836f97518acd9cef",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/39408739277"
    }
  ]
}