{
  "_id": "6a9d06a3a3932e8bb6a76af9",
  "Package": "ggtypst",
  "Title": "Render High-Quality Text and Formulas in 'ggplot2' by Typst",
  "Version": "0.1.0",
  "Authors@R": "person(given = \"Hao\",\nfamily = \"Cheng\",\nrole = c(\"aut\", \"cre\", \"cph\"),\nemail = \"Yousa-Mirage@foxmail.com\")",
  "Author": "Hao Cheng [aut, cre, cph]",
  "Maintainer": "Hao Cheng <Yousa-Mirage@foxmail.com>",
  "Description": "Provides a seamless integration of the 'Typst' typesetting\nengine into 'ggplot2'. It allows users to render complex\nmathematical formulas, equations, and rich text directly in\nplot annotations, axis labels, and titles without requiring a\nlocal Typst or LaTeX installation. Under the hood, it leverages\nRust FFI to compile Typst code into SVG.",
  "URL": "https://github.com/Yousa-Mirage/ggtypst,\nhttps://yousa-mirage.github.io/ggtypst/",
  "BugReports": "https://github.com/Yousa-Mirage/ggtypst/issues",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/rextendr/version": "0.4.2",
  "Config/Needs/website": "pkgdown, pkgload",
  "SystemRequirements": "Cargo (Rust's package manager), rustc >= 1.89.0",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/testthat/parallel": "true",
  "Collate": "'annotate-typst.R' 'annotate-math.R' 'build-source.R'\n'diagnostic.R' 'typst-svg.R' 'grob.R' 'helper.R'\n'element-typst.R' 'element-math.R' 'extendr-wrappers.R'\n'geom-typst.R' 'geom-math.R' 'mitex.R' 'zzz.R'",
  "Language": "en-US",
  "Config/pak/sysreqs": "libjpeg-dev libpng-dev librsvg2-dev libxml2-dev\nlibclang-dev",
  "Repository": "https://r-multiverse.r-universe.dev",
  "Date/Publication": "2026-03-13 05:56:54 UTC",
  "RemoteUrl": "https://github.com/Yousa-Mirage/ggtypst",
  "RemoteRef": "v0.1.0",
  "RemoteSha": "a075de59066ac2024c07b9c235310fedb4f9a23e",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-09-04 09:35:53 UTC",
    "User": "root"
  },
  "_user": "r-multiverse",
  "_type": "src",
  "_file": "ggtypst_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/7110cf1768a27b62a3402578687468ca5d5ff45592899834c3e09c743ea7217e",
  "_filesize": 2100199,
  "_sha256": "7110cf1768a27b62a3402578687468ca5d5ff45592899834c3e09c743ea7217e",
  "_expires": "2026-12-13T09:55:53.000Z",
  "_created": "2026-09-04T09:35:53.000Z",
  "_published": "2026-09-06T06:22:27.528Z",
  "_jobs": [
    {
      "job": 101439772147,
      "time": 406,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "9931719749"
    },
    {
      "job": 101439772178,
      "time": 432,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "9931732061"
    },
    {
      "job": 101439772092,
      "time": 380,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "9931706700"
    },
    {
      "job": 101439772180,
      "time": 359,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "9931694832"
    },
    {
      "job": 101439772256,
      "time": 363,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "9931699129"
    },
    {
      "job": 101439772491,
      "time": 941,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "9931990707"
    },
    {
      "job": 101439772125,
      "time": 542,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "9931787487"
    },
    {
      "job": 101439772330,
      "time": 798,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "9931918338"
    },
    {
      "job": 101439771818,
      "time": 612,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "9931508604"
    },
    {
      "job": 101439772109,
      "time": 385,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "9931707889"
    },
    {
      "job": 101439771615,
      "time": 420,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 101439772161,
      "time": 750,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "9931893464"
    },
    {
      "job": 101439772347,
      "time": 716,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "9931876138"
    },
    {
      "job": 101439771598,
      "time": 364,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 101439772367,
      "time": 705,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "9931871300"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/33858578955",
  "_status": "success",
  "_upstream": "https://github.com/Yousa-Mirage/ggtypst",
  "_commit": {
    "id": "a075de59066ac2024c07b9c235310fedb4f9a23e",
    "author": "Yousa-Mirage <Yousa-Mirage@foxmail.com>",
    "committer": "Yousa-Mirage <Yousa-Mirage@foxmail.com>",
    "message": "chore: update wordlist\n",
    "time": 1773381414
  },
  "_maintainer": {
    "name": "Hao Cheng",
    "email": "yousa-mirage@foxmail.com",
    "login": "yousa-mirage",
    "description": "岁岁年年 叠于我身 皆循时光 逝而不返",
    "uuid": 117379168
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Depends"
    },
    {
      "package": "S7",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "grImport2",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "rsvg",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "svglite",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    }
  ],
  "_owner": "yousa-mirage",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-10",
      "n": 70
    },
    {
      "week": "2026-11",
      "n": 33
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-03-13"
    }
  ],
  "_topics": [
    "ggplot2",
    "typst",
    "rust",
    "cargo"
  ],
  "_stars": 28,
  "_contributors": [
    {
      "user": "yousa-mirage",
      "count": 154,
      "uuid": 117379168
    }
  ],
  "_userbio": {
    "uuid": 161461790,
    "type": "organization",
    "name": "R-multiverse",
    "followers": 37,
    "description": "A community-curated collection of R package releases, powered by R-universe"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ggtypst"
  },
  "_devurl": "https://github.com/yousa-mirage/ggtypst",
  "_pkgdown": "https://yousa-mirage.github.io/ggtypst/",
  "_searchresults": 8,
  "_cargo": true,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ggtypst.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "annotate_math_mitex",
    "annotate_math_typst",
    "annotate_typst",
    "element_math_mitex",
    "element_math_typst",
    "element_typst",
    "geom_math_mitex",
    "geom_math_typst",
    "geom_typst"
  ],
  "_help": [
    {
      "page": "annotate_math_mitex",
      "title": "Annotate a Plot with MiTeX-Converted LaTeX Math",
      "topics": [
        "annotate_math_mitex"
      ]
    },
    {
      "page": "annotate_math_typst",
      "title": "Annotate a Plot with Typst Math",
      "topics": [
        "annotate_math_typst"
      ]
    },
    {
      "page": "annotate_typst",
      "title": "Annotate a Plot with Typst Text",
      "topics": [
        "annotate_typst"
      ]
    },
    {
      "page": "element_math_mitex",
      "title": "Render Theme Elements with MiTeX-Converted LaTeX Math",
      "topics": [
        "element_math_mitex"
      ]
    },
    {
      "page": "element_math_typst",
      "title": "Render Theme Elements with Typst Math",
      "topics": [
        "element_math_typst"
      ]
    },
    {
      "page": "element_typst",
      "title": "Render Theme Elements with Typst Text",
      "topics": [
        "element_typst"
      ]
    },
    {
      "page": "geom_math_mitex",
      "title": "Plot Labels in Data with MiTeX-Converted LaTeX Math",
      "topics": [
        "GeomMathMitex",
        "geom_math_mitex"
      ]
    },
    {
      "page": "geom_math_typst",
      "title": "Plot Labels in Data with Typst Math",
      "topics": [
        "GeomMathTypst",
        "geom_math_typst"
      ]
    },
    {
      "page": "geom_typst",
      "title": "Plot Labels in Data with Typst Text",
      "topics": [
        "GeomTypst",
        "geom_typst"
      ]
    }
  ],
  "_pkglogo": "https://github.com/Yousa-Mirage/ggtypst/raw/v0.1.0/man/figures/logo.png",
  "_readme": "https://github.com/Yousa-Mirage/ggtypst/raw/v0.1.0/README.md",
  "_rundeps": [
    "base64enc",
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "grImport2",
    "gtable",
    "isoband",
    "jpeg",
    "labeling",
    "lifecycle",
    "png",
    "R6",
    "RColorBrewer",
    "rlang",
    "rsvg",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr",
    "XML"
  ],
  "_vignettes": [
    {
      "source": "get-started.Rmd",
      "filename": "get-started.html",
      "title": "Get Started",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Why ggtypst?",
        "Installation",
        "First plot",
        "When to use annotate, geom, and element",
        "R raw strings",
        "Text, Typst math, and MiTeX math",
        "Typst markup content",
        "Native Typst math",
        "MiTeX-backed LaTeX math",
        "annotate_*(): one-off plot annotations",
        "geom_*(): data-driven labels",
        "element_*(): Typst in theme elements",
        "Next steps"
      ],
      "created": "2026-03-08 10:04:14",
      "modified": "2026-03-13 05:43:56",
      "commits": 5
    },
    {
      "source": "benchmark.Rmd",
      "filename": "benchmark.html",
      "title": "Performance Benchmark",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Test Environment",
        "Layer 1: Typst Rendering",
        "Results",
        "Analysis",
        "Layer 2: Full Plot Performance",
        "2A: API Type Comparison",
        "2B: Content Complexity",
        "2C: Geom Row Scaling",
        "Practical Guidelines"
      ],
      "created": "2026-03-09 16:01:22",
      "modified": "2026-03-13 04:18:08",
      "commits": 3
    },
    {
      "source": "ggtypst-skill.Rmd",
      "filename": "ggtypst-skill.html",
      "title": "SKILL.md for Agents",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What it is",
        "What it contains",
        "How to import it"
      ],
      "created": "2026-03-09 14:08:19",
      "modified": "2026-03-12 14:39:49",
      "commits": 3
    }
  ],
  "_score": 4.924279286061882,
  "_indexed": false,
  "_nocasepkg": "ggtypst",
  "_universes": [
    "r-multiverse"
  ],
  "_indexurl": "https://yousa-mirage.r-universe.dev/ggtypst",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-09-04T09:41:47.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "a075de59066ac2024c07b9c235310fedb4f9a23e",
      "fileid": "https://r2.ropensci.org/2d7d6cbbec0c5d812b934bf7c7585f2a8cf59b59c916c615806bc9ac3f2b0ce0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/33858578955"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-09-04T09:42:01.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "a075de59066ac2024c07b9c235310fedb4f9a23e",
      "fileid": "https://r2.ropensci.org/e08495d41cb301c30e3b98c4f17a85b5f7efef2549070d06cdc01eb529d06133",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/33858578955"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-09-04T09:41:45.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "a075de59066ac2024c07b9c235310fedb4f9a23e",
      "fileid": "https://r2.ropensci.org/1ebd6059c5e5aa25c9116991f99dfa59c21a285046e688d38baaf4cc0e18aaff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/33858578955"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-09-04T09:41:58.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "a075de59066ac2024c07b9c235310fedb4f9a23e",
      "fileid": "https://r2.ropensci.org/341b2804ae70df989d01b7597cdd49642b7e0bc54f04d6c96e3f20298ab84001",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/33858578955"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-09-04T09:41:17.000Z",
      "arch": "aarch64",
      "commit": "a075de59066ac2024c07b9c235310fedb4f9a23e",
      "fileid": "https://r2.ropensci.org/45d40e7e142dc270adb9aab5924506cd33248a3342bd75e2c84e44a7c9a0a3e8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/33858578955"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-09-04T09:43:53.000Z",
      "arch": "x86_64",
      "commit": "a075de59066ac2024c07b9c235310fedb4f9a23e",
      "fileid": "https://r2.ropensci.org/760318791d73c8c5a319d4fe9e79a0e233858a81f825b69a8a689fb196558a69",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/33858578955"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-09-04T09:41:34.000Z",
      "arch": "aarch64",
      "commit": "a075de59066ac2024c07b9c235310fedb4f9a23e",
      "fileid": "https://r2.ropensci.org/aa1ed85307d9e39a6124cc73d9f1d90220c3b3aa8fc75f72ae464616ee489775",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/33858578955"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-09-04T09:42:45.000Z",
      "arch": "x86_64",
      "commit": "a075de59066ac2024c07b9c235310fedb4f9a23e",
      "fileid": "https://r2.ropensci.org/475dfe457c2f107593c0b95a57a4bf328f652525ccf57302aba2c8670089a6d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/33858578955"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-09-04T09:42:49.000Z",
      "arch": "emscripten",
      "commit": "a075de59066ac2024c07b9c235310fedb4f9a23e",
      "fileid": "https://r2.ropensci.org/a2af1bea0f1878d323cb80d2f48fd21cb887922bcc8ba8dffcd93a6542ad627e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/33858578955"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-09-04T09:40:50.000Z",
      "arch": "x86_64",
      "commit": "a075de59066ac2024c07b9c235310fedb4f9a23e",
      "fileid": "https://r2.ropensci.org/5430c46cf0e2346ec76b1ab8b0083c92c6cc9befd97e3383ec8757e1d62be229",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/33858578955"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-09-04T09:41:08.000Z",
      "arch": "x86_64",
      "commit": "a075de59066ac2024c07b9c235310fedb4f9a23e",
      "fileid": "https://r2.ropensci.org/a7010beffc10b10806e72a73d6200e97ba0da53975ef78939ea55c5e3e46fa59",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/33858578955"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-09-04T09:41:02.000Z",
      "arch": "x86_64",
      "commit": "a075de59066ac2024c07b9c235310fedb4f9a23e",
      "fileid": "https://r2.ropensci.org/bd132621dca0a91e8bfca455a505f66c747c61b351982169fc1333e78d13b550",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-multiverse/actions/runs/33858578955"
    }
  ]
}