{
  "_id": "6a10611facfb0bcc41ca78d9",
  "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-05-08 08:15:27 UTC",
    "User": "root"
  },
  "MD5sum": "a2b430d55d809d02c469aa1c160b9bf6",
  "_user": "trevorld",
  "_type": "src",
  "_file": "svgparser_0.1.2.tar.gz",
  "_fileid": "411b7471589454efa46545ba7d085f6171968360c1a85394186100f724f24e53",
  "_filesize": 6891389,
  "_sha256": "411b7471589454efa46545ba7d085f6171968360c1a85394186100f724f24e53",
  "_created": "2026-05-08T08:15:27.000Z",
  "_published": "2026-05-22T13:58:55.761Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77394605760,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6874859726"
    },
    {
      "job": 77394605661,
      "time": 141,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6874856204"
    },
    {
      "job": 77394605482,
      "time": 104,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6874846375"
    },
    {
      "job": 77394605084,
      "time": 91,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6874843452"
    },
    {
      "job": 77394604532,
      "time": 205,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6874819253"
    },
    {
      "job": 77394604546,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7162310049"
    },
    {
      "job": 77394605673,
      "time": 99,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6874845475"
    },
    {
      "job": 77394605451,
      "time": 125,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6874852386"
    },
    {
      "job": 77394605574,
      "time": 96,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6874845569"
    }
  ],
  "_buildurl": "https://github.com/r-universe/trevorld/actions/runs/25544822190",
  "_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",
    "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": 60,
  "_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.9084850188786495,
  "_indexed": false,
  "_nocasepkg": "svgparser",
  "_universes": [
    "trevorld"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-08T08:17:57.000Z",
      "distro": "noble",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "17ce8f7012aa3a068ac11dfe0482a932b9ea5cd6401773d68a17827003cbb8f4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/25544822190"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-08T08:17:44.000Z",
      "distro": "noble",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "ba1c7ca5f7dc4b21354c8f5b18ad94cd1c9a764c5af9145b2dbf9885fd61f212",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/25544822190"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-05-08T08:17:08.000Z",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "e84e1ce76ee3eb18795d6c6a3f44064be9d84349fca2bb45df8575f103376d79",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/25544822190"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-05-08T08:17:00.000Z",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "528197d501da9a2a24d95fdc4179d39d90cf795a6b6708650e8f25148c55f481",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/25544822190"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-08T08:16:51.000Z",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "8e962f414355e8882b0c91815ba8558691a8e3d77e3038d0c25dae46e153b733",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/25544822190"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-08T08:17:22.000Z",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "93e64479ad38f358b767bf5810a79fbfb3c41673a3af3c531d1f5fb5b6c9908e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/25544822190"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-08T08:16:55.000Z",
      "commit": "eed57af52189344d69aded270b4378c2254a4b92",
      "fileid": "03a8e37008770230a56f0fba21286360a5f24f340a9d0c283082d2e3915474eb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/25544822190"
    },
    {
      "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"
    }
  ]
}