{
  "_id": "6a2d162f3efcd9bda42f35a4",
  "Type": "Package",
  "Package": "ggtrace",
  "Title": "Programmatically explore, debug, and manipulate ggplot internals",
  "Version": "0.7.7",
  "Authors@R": "person(\"June\", \"Choe\", , \"jchoe001@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-0701-921X\"))",
  "Description": "Programmatically explore, debug, and manipulate ggplot\ninternals. Package ggtrace offers a low-level interface that\nextends base R capabilities of trace, as well as a family of\nworkflow functions that make interactions with ggplot internals\nmore accessible.",
  "License": "MIT + file LICENSE",
  "URL": "https://yjunechoe.github.io/ggtrace,\nhttps://github.com/yjunechoe/ggtrace",
  "BugReports": "https://github.com/yjunechoe/ggtrace/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Collate": "'utils.R' 'helpers.R' 'get_method.R' 'tracedump.R' 'ggedit.R'\n'gguntrace.R' 'ggtrace.R' 'one-offs.R' 'with_ggtrace.R'\n'topic-tracing-context.R' 'workflows-utils.R'\n'workflows-inspect.R' 'workflows-capture.R'\n'workflows-highjack.R' 'aliases.R' 'last-errorcontext.R'\n'sublayer-data.R' 'zzz.R'",
  "Repository": "https://yjunechoe.r-universe.dev",
  "Date/Publication": "2025-12-10 00:28:02 UTC",
  "RemoteUrl": "https://github.com/yjunechoe/ggtrace",
  "RemoteRef": "HEAD",
  "RemoteSha": "d608506b79e9b4feef854b57d91e9aa2c8b7d3a1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-13 08:30:42 UTC",
    "User": "root"
  },
  "Author": "June Choe [aut, cre] (ORCID: <https://orcid.org/0000-0002-0701-921X>)",
  "Maintainer": "June Choe <jchoe001@gmail.com>",
  "MD5sum": "3897125ea9efa4e7ef63842548b5c13f",
  "_user": "yjunechoe",
  "_type": "src",
  "_file": "ggtrace_0.7.7.tar.gz",
  "_fileid": "07e1e62eaf45f2abe0d0987affec66c47da332127cd41d87b640c42fc02d0b26",
  "_filesize": 2941536,
  "_sha256": "07e1e62eaf45f2abe0d0987affec66c47da332127cd41d87b640c42fc02d0b26",
  "_created": "2026-06-13T08:30:42.000Z",
  "_published": "2026-06-13T08:34:55.240Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81176643362,
      "time": 214,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7609137576"
    },
    {
      "job": 81176643368,
      "time": 173,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7609133267"
    },
    {
      "job": 81176643360,
      "time": 110,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7609126584"
    },
    {
      "job": 81176643359,
      "time": 128,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7609128519"
    },
    {
      "job": 81176450190,
      "time": 194,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7609113383"
    },
    {
      "job": 81176643349,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7609126589"
    },
    {
      "job": 81176643375,
      "time": 153,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7609131292"
    },
    {
      "job": 81176643376,
      "time": 113,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7609126735"
    },
    {
      "job": 81176643374,
      "time": 138,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7609129922"
    }
  ],
  "_buildurl": "https://github.com/r-universe/yjunechoe/actions/runs/27461626550",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/yjunechoe/ggtrace",
  "_commit": {
    "id": "d608506b79e9b4feef854b57d91e9aa2c8b7d3a1",
    "author": "yjunechoe <jchoe001@gmail.com>",
    "committer": "yjunechoe <jchoe001@gmail.com>",
    "message": "loosen test\n",
    "time": 1765326482
  },
  "_maintainer": {
    "name": "June Choe",
    "email": "jchoe001@gmail.com",
    "login": "yjunechoe",
    "mastodon": "@yjunechoe@fosstodon.org",
    "linkedin": "in/yjunechoe",
    "twitter": "@yjunechoe",
    "description": "Computational linguist at Amazon. Linguistics PhD. Open source, data science, graphics.",
    "uuid": 52832839,
    "orcid": "0000-0002-0701-921X"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.3.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "ggforce",
      "role": "Suggests"
    },
    {
      "package": "ggh4x",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Suggests"
    },
    {
      "package": "grid",
      "role": "Suggests"
    },
    {
      "package": "Hmisc",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "palmerpenguins",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    },
    {
      "package": "R6",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "yjunechoe",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-24",
      "n": 3
    },
    {
      "week": "2025-25",
      "n": 4
    },
    {
      "week": "2025-43",
      "n": 1
    },
    {
      "week": "2025-50",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "debugging",
    "ggplot2",
    "metaprogramming"
  ],
  "_stars": 61,
  "_contributors": [
    {
      "user": "yjunechoe",
      "count": 441,
      "uuid": 52832839
    }
  ],
  "_userbio": {
    "uuid": 52832839,
    "type": "user",
    "name": "June Choe",
    "description": "Computational linguist at Amazon. Linguistics PhD. Open source, data science, graphics."
  },
  "_downloads": {
    "count": 254,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ggtrace"
  },
  "_devurl": "https://github.com/yjunechoe/ggtrace",
  "_pkgdown": "https://yjunechoe.github.io/ggtrace",
  "_searchresults": 67,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ggtrace.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/rnabioco/ggtrace",
  "_realowner": "rnabioco",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2022-06-24"
    }
  ],
  "_exports": [
    ".layer_is",
    "capture_env",
    "capture_fn",
    "clear_global_ggtrace",
    "clear_last_ggtrace",
    "get_method",
    "get_method_inheritance",
    "ggbody",
    "ggdebug",
    "ggdebugonce",
    "ggdraw_silent",
    "ggedit",
    "ggformals",
    "ggtrace",
    "ggtrace_capture_env",
    "ggtrace_capture_fn",
    "ggtrace_highjack_args",
    "ggtrace_highjack_return",
    "ggtrace_inspect_args",
    "ggtrace_inspect_n",
    "ggtrace_inspect_on_error",
    "ggtrace_inspect_return",
    "ggtrace_inspect_vars",
    "ggtrace_inspect_which",
    "ggundebug",
    "gguntrace",
    "global_ggtrace",
    "global_ggtrace_off",
    "global_ggtrace_on",
    "global_ggtrace_state",
    "highjack_args",
    "highjack_return",
    "inspect_args",
    "inspect_n",
    "inspect_on_error",
    "inspect_return",
    "inspect_vars",
    "inspect_which",
    "is_traced",
    "last_ggtrace",
    "last_layer_errorcontext",
    "last_sublayer_errorcontext",
    "layer_after_scale",
    "layer_after_stat",
    "layer_before_geom",
    "layer_before_stat",
    "layer_is",
    "set_global_ggtrace",
    "set_last_ggtrace",
    "with_ggtrace"
  ],
  "_help": [
    {
      "page": "get_method",
      "title": "Get information about ggproto methods",
      "topics": [
        "get_method",
        "get_method_inheritance",
        "ggbody",
        "ggformals"
      ]
    },
    {
      "page": "ggdebug",
      "title": "Debug a ggproto method",
      "topics": [
        "ggdebug",
        "ggdebugonce",
        "ggundebug"
      ]
    },
    {
      "page": "ggedit",
      "title": "Interactively edit a masking copy of the source code",
      "topics": [
        "ggedit"
      ]
    },
    {
      "page": "ggtrace",
      "title": "Insert traces for delayed evaluation",
      "topics": [
        "ggtrace"
      ]
    },
    {
      "page": "ggtrace_capture_env",
      "title": "Capture a snapshot of a method's execution environment",
      "topics": [
        "capture_env",
        "ggtrace_capture_env"
      ]
    },
    {
      "page": "ggtrace_capture_fn",
      "title": "Capture a snapshot of a method as a pre-filled function",
      "topics": [
        "capture_fn",
        "ggtrace_capture_fn"
      ]
    },
    {
      "page": "ggtrace_highjack_args",
      "title": "Highjack a method's execution and modify its argument values",
      "topics": [
        "ggtrace_highjack_args",
        "highjack_args"
      ]
    },
    {
      "page": "ggtrace_highjack_return",
      "title": "Highjack a method's execution and make it return a user-supplied value",
      "topics": [
        "ggtrace_highjack_return",
        "highjack_return"
      ]
    },
    {
      "page": "ggtrace_inspect_args",
      "title": "Inspect the arguments passed into a method",
      "topics": [
        "ggtrace_inspect_args",
        "inspect_args"
      ]
    },
    {
      "page": "ggtrace_inspect_n",
      "title": "Inspect how many times a method was called",
      "topics": [
        "ggtrace_inspect_n",
        "inspect_n"
      ]
    },
    {
      "page": "ggtrace_inspect_on_error",
      "title": "Get information about a ggproto method on error",
      "topics": [
        "ggtrace_inspect_on_error",
        "inspect_on_error"
      ]
    },
    {
      "page": "ggtrace_inspect_return",
      "title": "Inspect the return value of a method",
      "topics": [
        "ggtrace_inspect_return",
        "inspect_return"
      ]
    },
    {
      "page": "ggtrace_inspect_vars",
      "title": "Inspect the value of variables from a method",
      "topics": [
        "ggtrace_inspect_vars",
        "inspect_vars"
      ]
    },
    {
      "page": "ggtrace_inspect_which",
      "title": "Inspect which calls to a ggproto method met a particular condition",
      "topics": [
        "ggtrace_inspect_which",
        "inspect_which"
      ]
    },
    {
      "page": "gguntrace",
      "title": "Remove any existing traces",
      "topics": [
        "gguntrace"
      ]
    },
    {
      "page": "is_traced",
      "title": "Check if a method is being traced",
      "topics": [
        "is_traced"
      ]
    },
    {
      "page": "last_layer_errorcontext",
      "title": "Get the internal context of the last (sub-)layer error",
      "topics": [
        "last_layer_errorcontext",
        "last_sublayer_errorcontext"
      ]
    },
    {
      "page": "with_ggtrace",
      "title": "Generic workflow function which localizes a ggtrace call to a single ggplot object",
      "topics": [
        "with_ggtrace"
      ]
    }
  ],
  "_pkglogo": "https://github.com/yjunechoe/ggtrace/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/yjunechoe/ggtrace/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "rlang"
  ],
  "_vignettes": [
    {
      "source": "FAQ.Rmd",
      "filename": "FAQ.html",
      "title": "Frequently asked questions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Is ggtrace() safe?",
        "What can you ggtrace()?",
        "Functions",
        "ggproto methods",
        "R6 methods",
        "What can't you ggtrace()?",
        "How can I save a modified ggplot?"
      ],
      "created": "2021-10-27 23:20:47",
      "modified": "2025-06-17 01:25:14",
      "commits": 10
    },
    {
      "source": "examples-gallery.Rmd",
      "filename": "examples-gallery.html",
      "title": "Examples gallery",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Highjack layer data",
        "Debug complex aes() expressions",
        "Inspect sub-layer data",
        "Intervene with surgical precision",
        "Highjack the drawing context"
      ],
      "created": "2025-05-16 01:49:41",
      "modified": "2025-10-22 01:39:29",
      "commits": 4
    },
    {
      "source": "pedagogical-philosophy.Rmd",
      "filename": "pedagogical-philosophy.html",
      "title": "Pedagogical Philosophy",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Stage 1 (experienced user)",
        "Stage 2 (curious user)",
        "Stage 3 (aspiring developer)",
        "Stage 4 (developer)",
        "Stage 5 (contributor)"
      ],
      "created": "2025-05-16 01:49:41",
      "modified": "2025-05-16 01:49:41",
      "commits": 1
    },
    {
      "source": "workflow-functions.Rmd",
      "filename": "workflow-functions.html",
      "title": "Workflow functions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Workflows for interacting with ggplot internals",
        "A walkthrough with geom_smooth()",
        "Inspect",
        "Capture",
        "Highjack"
      ],
      "created": "2025-05-15 17:29:55",
      "modified": "2025-05-16 01:49:41",
      "commits": 2
    },
    {
      "source": "extending-trace.Rmd",
      "filename": "extending-trace.html",
      "title": "Extending trace()",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Extending base::trace() with ggtrace()"
      ],
      "created": "2025-05-15 17:29:55",
      "modified": "2025-05-16 01:49:41",
      "commits": 2
    }
  ],
  "_score": 6.611404637711594,
  "_indexed": false,
  "_nocasepkg": "ggtrace",
  "_universes": [
    "yjunechoe"
  ],
  "_indexurl": "https://rnabioco.r-universe.dev/ggtrace",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.7",
      "date": "2026-06-13T08:33:39.000Z",
      "distro": "noble",
      "commit": "d608506b79e9b4feef854b57d91e9aa2c8b7d3a1",
      "fileid": "a53e6fda4429a29697eccca6bd508fa98b3c2ce631bf8eb74c0dc82bd129f87d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yjunechoe/actions/runs/27461626550"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.7.7",
      "date": "2026-06-13T08:33:00.000Z",
      "distro": "noble",
      "commit": "d608506b79e9b4feef854b57d91e9aa2c8b7d3a1",
      "fileid": "56832915e937d108bbff252be721952638afbc13fc7ca1c065949181eb9f3dc6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yjunechoe/actions/runs/27461626550"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.7",
      "date": "2026-06-13T08:32:06.000Z",
      "commit": "d608506b79e9b4feef854b57d91e9aa2c8b7d3a1",
      "fileid": "d7b796fc01eb5b24e01a076231604bcf9d92a17b2b3f8603804fbc5d027bf5ac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yjunechoe/actions/runs/27461626550"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.7.7",
      "date": "2026-06-13T08:32:32.000Z",
      "commit": "d608506b79e9b4feef854b57d91e9aa2c8b7d3a1",
      "fileid": "4ed94c64a2a02e34b99b53a8abfd2f80b0502270369f4b0aaa77a33b0370d7b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yjunechoe/actions/runs/27461626550"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.7",
      "date": "2026-06-13T08:32:49.000Z",
      "commit": "d608506b79e9b4feef854b57d91e9aa2c8b7d3a1",
      "fileid": "0542b4493afbfe21514002d06d27acd5fc9357e6602e6ecc329dbe0c010530f5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yjunechoe/actions/runs/27461626550"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.7",
      "date": "2026-06-13T08:32:30.000Z",
      "commit": "d608506b79e9b4feef854b57d91e9aa2c8b7d3a1",
      "fileid": "3e35f8ecea9d12c83cc4e896f8a809832e6cd2ee8dbb84368bb7c8d1cebb3d7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yjunechoe/actions/runs/27461626550"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.7",
      "date": "2026-06-13T08:31:51.000Z",
      "commit": "d608506b79e9b4feef854b57d91e9aa2c8b7d3a1",
      "fileid": "ca8d0fa4f01190f7abf41cd5a3fbf1fabee3cb41c6f9b76c7522c5dff64d3d51",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yjunechoe/actions/runs/27461626550"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.7.7",
      "date": "2026-06-13T08:32:18.000Z",
      "commit": "d608506b79e9b4feef854b57d91e9aa2c8b7d3a1",
      "fileid": "ce1b1558e910480a96f3d64617be850be27e7b097812617f0847f302db1abbbf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yjunechoe/actions/runs/27461626550"
    }
  ]
}