{
  "_id": "6a4cacc107c3fd5c3260f2d6",
  "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-07-07 07:34:17 UTC",
    "User": "root"
  },
  "_user": "trevorld",
  "_type": "src",
  "_file": "svgparser_0.1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/4758b6ac8b95fbba3515a37327f406a4843bb0eaed6f346d55534b0e34852135",
  "_filesize": 6892195,
  "_sha256": "4758b6ac8b95fbba3515a37327f406a4843bb0eaed6f346d55534b0e34852135",
  "_expires": "2026-10-15T07:37:35.000Z",
  "_created": "2026-07-07T07:34:17.000Z",
  "_published": "2026-07-07T07:37:37.319Z",
  "_jobs": [
    {
      "job": 85561385812,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8131012291"
    },
    {
      "job": 85561385817,
      "time": 151,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8131016294"
    },
    {
      "job": 85561385811,
      "time": 114,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8131003853"
    },
    {
      "job": 85561385850,
      "time": 81,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8130993107"
    },
    {
      "job": 85560668641,
      "time": 253,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8130964699"
    },
    {
      "job": 85561385816,
      "time": 155,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8131017364"
    },
    {
      "job": 85561385827,
      "time": 96,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8130998613"
    },
    {
      "job": 85561385839,
      "time": 81,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8130993172"
    },
    {
      "job": 85561385830,
      "time": 97,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8130998302"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/trevorld/actions/runs/28849342935",
  "_status": "success",
  "_upstream": "https://github.com/coolbutuseless/svgparser",
  "_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
  },
  "_maintainer": {
    "name": "mikefc",
    "email": "mikefc@coolbutuseless.com",
    "login": "coolbutuseless",
    "description": "Cool, but useless.",
    "uuid": 181818
  },
  "_distro": "resolute",
  "_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": 54,
  "_contributors": [
    {
      "user": "coolbutuseless",
      "count": 4,
      "uuid": 181818
    }
  ],
  "_userbio": {
    "uuid": 2433259,
    "type": "user",
    "name": "Trevor L. Davis",
    "followers": 78,
    "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": 63,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/svgparser.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_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",
    "R6",
    "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.929674317948588,
  "_indexed": false,
  "_nocasepkg": "svgparser",
  "_universes": [
    "trevorld"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-07-07T07:36:35.000Z",
      "distro": "resolute",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "https://r2.ropensci.org/81933aa15d6513379528fe9771bb7d444945caf440b11a7d1a62d19ee225ee0a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/28849342935"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-07-07T07:36:44.000Z",
      "distro": "resolute",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "https://r2.ropensci.org/f43812362416290442b4a2d7097dd5f5f34633bf7a6c98335d241ccc4cd9206c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/28849342935"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-07-07T07:36:12.000Z",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "https://r2.ropensci.org/205568a40ce6adf2f6491cf274a3bb10fc92aa587c105ef49a3b0162183ecea8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/28849342935"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-07-07T07:35:43.000Z",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "https://r2.ropensci.org/cf3562d9d8d075187f974c5775abcef9776e7ded54bf2d6b606ad37d151ed6d3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/28849342935"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-07-07T07:37:12.000Z",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "https://r2.ropensci.org/44ece9d7a2ff5e865305c07e5b4f145b21a83c712f580d3101769794deb7f485",
      "status": "success",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/28849342935"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-07-07T07:35:44.000Z",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "https://r2.ropensci.org/98ab4c8cbfd7c059be0fdd8b03913cdb1fb052d0beac84efe3cc38c28fc8ec95",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/28849342935"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-07-07T07:35:35.000Z",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "https://r2.ropensci.org/e272ad8bc4d6c85fe49b5a8e6bc99cd905e4f37636186dfcc1a58bbbcc935baa",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/28849342935"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-07-07T07:35:43.000Z",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "https://r2.ropensci.org/8ad90c90046a01bb5dea39ee14269cb2abc140b67764401b9e9691b65a2bdafc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/28849342935"
    }
  ]
}