{
  "_id": "6a2524914b233be198392453",
  "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-06-07 07:33:44 UTC",
    "User": "root"
  },
  "MD5sum": "7b634324b3eb7ac326e721d4741982e3",
  "_user": "trevorld",
  "_type": "src",
  "_file": "svgparser_0.1.2.tar.gz",
  "_fileid": "498bad501598dbd2af51f170b07298c0fe8f11e2b6f09966185fbc3526c09b9c",
  "_filesize": 6888988,
  "_sha256": "498bad501598dbd2af51f170b07298c0fe8f11e2b6f09966185fbc3526c09b9c",
  "_created": "2026-06-07T07:33:44.000Z",
  "_published": "2026-06-07T07:58:09.400Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79941199933,
      "time": 129,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7461950160"
    },
    {
      "job": 79941199975,
      "time": 132,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7461950568"
    },
    {
      "job": 79941199929,
      "time": 79,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7461969401"
    },
    {
      "job": 79941199932,
      "time": 105,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7461978148"
    },
    {
      "job": 79940953953,
      "time": 234,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7461932145"
    },
    {
      "job": 79941199925,
      "time": 1433,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79941199930,
      "time": 119,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7461948671"
    },
    {
      "job": 79941199941,
      "time": 87,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7461944289"
    },
    {
      "job": 79941199931,
      "time": 102,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7461946551"
    }
  ],
  "_buildurl": "https://github.com/r-universe/trevorld/actions/runs/27086159536",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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",
    "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.0",
  "_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",
    "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",
    "glue",
    "lifecycle",
    "magrittr",
    "R6",
    "rlang",
    "selectr",
    "stringi",
    "stringr",
    "vctrs",
    "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.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-05-22T13:58:34.000Z",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "055c7d739e8948196d7b870193eada59f408a1b3b34ec5b0f9eded7bb47ee25e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/25544822190"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-06-07T07:35:50.000Z",
      "distro": "noble",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "6ff828421a5f0b85b6cd648bde4c9f470679d8fa193f6a548cb2e8db4395fff4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/27086159536"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-06-07T07:35:52.000Z",
      "distro": "noble",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "c56df60474ea70ac5f60b5837655f841f4817210106ed683dd16da080af4aba5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/27086159536"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-06-07T07:38:14.000Z",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "32913c89742e7092cbc1c57ece164a59906c9d09abb0fab229ac19c5104d5d3e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/27086159536"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-06-07T07:39:06.000Z",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "6b904fda7ccb39b153a607b9c43247dcbdd121e4a48912a500d07f65be50438f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/27086159536"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-06-07T07:35:19.000Z",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "4fced7cd57a7583244eb0b9c94b69ea8072e870a19e412cc629efd6027734481",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/27086159536"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-06-07T07:34:56.000Z",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "5402d5021965df25253678541933a50e9d0161984be9eeacd90d9f729fb0161f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/27086159536"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-06-07T07:35:12.000Z",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "3c48c4964147b325e83b9729d07fbe2690af4ea445f3b2e06f605621f099cf90",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/27086159536"
    }
  ]
}