{
  "_id": "6a1a1e441d7bb097a09cea58",
  "Package": "ggguides",
  "Title": "Simplified Legend and Guide Alignment for 'ggplot2'",
  "Version": "1.1.10",
  "Authors@R": "person(\"Gilles\", \"Colling\", email = \"gilles.colling051@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Provides one-liner functions for common legend and guide\noperations in 'ggplot2'. Simplifies legend positioning,\nstyling, wrapping, and collection across multi-panel plots\ncreated with 'patchwork' or 'cowplot'.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://gillescolling.com/ggguides/,\nhttps://github.com/gcol33/ggguides",
  "BugReports": "https://github.com/gcol33/ggguides/issues",
  "Repository": "https://gcol33.r-universe.dev",
  "Date/Publication": "2026-05-29 11:16:32 UTC",
  "RemoteUrl": "https://github.com/gcol33/ggguides",
  "RemoteRef": "HEAD",
  "RemoteSha": "442085bfaae5340669cb1444582657a4091a4999",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-29 23:13:03 UTC",
    "User": "root"
  },
  "Author": "Gilles Colling [aut, cre]",
  "Maintainer": "Gilles Colling <gilles.colling051@gmail.com>",
  "MD5sum": "f57e13202880d1a910c3a78d5bd64ce7",
  "_user": "gcol33",
  "_type": "src",
  "_file": "ggguides_1.1.10.tar.gz",
  "_fileid": "77e09728416bfb8666cfe29c6bb197b6f2d4a69de507fe08c215ecf2a389c9e5",
  "_filesize": 4469316,
  "_sha256": "77e09728416bfb8666cfe29c6bb197b6f2d4a69de507fe08c215ecf2a389c9e5",
  "_created": "2026-05-29T23:13:03.000Z",
  "_published": "2026-05-29T23:16:20.197Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78602234148,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7302924616"
    },
    {
      "job": 78602234140,
      "time": 153,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7302923468"
    },
    {
      "job": 78602234169,
      "time": 94,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7302912600"
    },
    {
      "job": 78602234153,
      "time": 138,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7302920736"
    },
    {
      "job": 78601897244,
      "time": 209,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7302894137"
    },
    {
      "job": 78602234188,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7302915651"
    },
    {
      "job": 78602234182,
      "time": 144,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7302922007"
    },
    {
      "job": 78602234173,
      "time": 127,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7302918632"
    },
    {
      "job": 78602234209,
      "time": 137,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7302920309"
    }
  ],
  "_buildurl": "https://github.com/r-universe/gcol33/actions/runs/26666819607",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/gcol33/ggguides",
  "_commit": {
    "id": "442085bfaae5340669cb1444582657a4091a4999",
    "author": "Gilles Colling <gilles.colling051@gmail.com>",
    "committer": "Gilles Colling <gilles.colling051@gmail.com>",
    "message": "docs: rewrite README in readme-aura style with plain break line\n\nCo-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>\n",
    "time": 1780053392
  },
  "_maintainer": {
    "name": "Gilles Colling",
    "email": "gilles.colling051@gmail.com",
    "login": "gcol33",
    "linkedin": "in/gilles-colling-0b3747306",
    "twitter": "@Gilles__Colling",
    "description": "Building tools for ecology in R, C++, and Rust.\nWhy did Microsoft have to buy it. Sadge :(",
    "uuid": 25009600
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "ggplot2",
      "version": ">= 3.5.0",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "gtable",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "gcol33",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-50",
      "n": 2
    },
    {
      "week": "2025-51",
      "n": 72
    },
    {
      "week": "2025-52",
      "n": 7
    },
    {
      "week": "2026-02",
      "n": 4
    },
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 18
    },
    {
      "week": "2026-18",
      "n": 1
    },
    {
      "week": "2026-19",
      "n": 5
    },
    {
      "week": "2026-21",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.2.0",
      "date": "2025-12-15"
    },
    {
      "name": "v1.0.0",
      "date": "2025-12-15"
    },
    {
      "name": "v1.1.4",
      "date": "2026-01-06"
    },
    {
      "name": "v1.1.5",
      "date": "2026-04-22"
    },
    {
      "name": "v1.1.6",
      "date": "2026-04-22"
    },
    {
      "name": "v1.1.7",
      "date": "2026-04-23"
    },
    {
      "name": "v1.1.8",
      "date": "2026-04-23"
    },
    {
      "name": "v1.1.9",
      "date": "2026-04-23"
    },
    {
      "name": "v1.1.10",
      "date": "2026-05-03"
    }
  ],
  "_topics": [
    "data-visualization",
    "dataviz",
    "ggplot2",
    "ggplot2-extension",
    "legend",
    "patchwork"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "gcol33",
      "count": 112,
      "uuid": 25009600
    }
  ],
  "_userbio": {
    "uuid": 25009600,
    "type": "user",
    "name": "Gilles Colling",
    "description": "Building tools for ecology in R, C++, and Rust.\nWhy did Microsoft have to buy it. Sadge :("
  },
  "_downloads": {
    "count": 414,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ggguides"
  },
  "_devurl": "https://github.com/gcol33/ggguides",
  "_pkgdown": "https://gillescolling.com/ggguides/",
  "_searchresults": 12,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ggguides.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/gcol33/ggguides",
  "_realowner": "gcol33",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.1.4",
      "date": "2026-01-09"
    },
    {
      "version": "1.1.5",
      "date": "2026-04-22"
    },
    {
      "version": "1.1.6",
      "date": "2026-04-23"
    },
    {
      "version": "1.1.10",
      "date": "2026-05-07"
    }
  ],
  "_exports": [
    "align_guides_h",
    "center_legend_title",
    "collect_axes",
    "collect_legends",
    "colorbar_style",
    "colourbar_style",
    "get_legend",
    "legend_auto_fit",
    "legend_bottom",
    "legend_hide",
    "legend_horizontal",
    "legend_inside",
    "legend_keys",
    "legend_left",
    "legend_merge",
    "legend_none",
    "legend_order",
    "legend_order_guides",
    "legend_reverse",
    "legend_right",
    "legend_select",
    "legend_split",
    "legend_style",
    "legend_top",
    "legend_vertical",
    "legend_wrap",
    "shared_legend"
  ],
  "_help": [
    {
      "page": "center_legend_title",
      "title": "Center Legend Title Over Keys",
      "topics": [
        "center_legend_title"
      ]
    },
    {
      "page": "collect_axes",
      "title": "Collect Axes from Patchwork Compositions",
      "topics": [
        "align_guides_h",
        "collect_axes"
      ]
    },
    {
      "page": "collect_legends",
      "title": "Collect Legends from Patchwork Compositions",
      "topics": [
        "collect_legends"
      ]
    },
    {
      "page": "colorbar_style",
      "title": "Style Continuous Color Bar Legends",
      "topics": [
        "colorbar_style",
        "colourbar_style"
      ]
    },
    {
      "page": "get_legend",
      "title": "Extract Legend from a ggplot",
      "topics": [
        "get_legend"
      ]
    },
    {
      "page": "legend_auto_fit",
      "title": "Auto-fit Legend to Plot Height",
      "topics": [
        "legend_auto_fit"
      ]
    },
    {
      "page": "legend_bottom",
      "title": "Place Legend on Bottom with Horizontal Layout",
      "topics": [
        "legend_bottom"
      ]
    },
    {
      "page": "legend_hide",
      "title": "Hide Specific Legends",
      "topics": [
        "legend_hide"
      ]
    },
    {
      "page": "legend_horizontal",
      "title": "Set Legend Direction to Horizontal",
      "topics": [
        "legend_horizontal"
      ]
    },
    {
      "page": "legend_inside",
      "title": "Place Legend Inside the Plot Area",
      "topics": [
        "legend_inside"
      ]
    },
    {
      "page": "legend_keys",
      "title": "Customize Legend Key Appearance",
      "topics": [
        "legend_keys"
      ]
    },
    {
      "page": "legend_left",
      "title": "Place Legend on the Left with Proper Alignment",
      "topics": [
        "legend_left"
      ]
    },
    {
      "page": "legend_merge",
      "title": "Force Legends to Merge",
      "topics": [
        "legend_merge"
      ]
    },
    {
      "page": "legend_none",
      "title": "Remove Legend from Plot",
      "topics": [
        "legend_none"
      ]
    },
    {
      "page": "legend_order",
      "title": "Reorder Legend Entries",
      "topics": [
        "legend_order"
      ]
    },
    {
      "page": "legend_order_guides",
      "title": "Control Legend Display Order",
      "topics": [
        "legend_order_guides"
      ]
    },
    {
      "page": "legend_reverse",
      "title": "Reverse Legend Order",
      "topics": [
        "legend_reverse"
      ]
    },
    {
      "page": "legend_right",
      "title": "Place Legend on the Right with Proper Alignment",
      "topics": [
        "legend_right"
      ]
    },
    {
      "page": "legend_select",
      "title": "Keep Only Specific Legends",
      "topics": [
        "legend_select"
      ]
    },
    {
      "page": "legend_split",
      "title": "Force Legends to Stay Separate",
      "topics": [
        "legend_split"
      ]
    },
    {
      "page": "legend_style",
      "title": "Style Legend Appearance",
      "topics": [
        "legend_style"
      ]
    },
    {
      "page": "legend_top",
      "title": "Place Legend on Top with Horizontal Layout",
      "topics": [
        "legend_top"
      ]
    },
    {
      "page": "legend_vertical",
      "title": "Set Legend Direction to Vertical",
      "topics": [
        "legend_vertical"
      ]
    },
    {
      "page": "legend_wrap",
      "title": "Wrap Legend Entries into Columns or Rows",
      "topics": [
        "legend_wrap"
      ]
    },
    {
      "page": "shared_legend",
      "title": "Combine Plots with a Shared Legend",
      "topics": [
        "shared_legend"
      ]
    }
  ],
  "_readme": "https://github.com/gcol33/ggguides/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting Started with ggguides",
      "author": "Gilles Colling",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Installation",
        "Basic Usage",
        "Moving the Legend",
        "Inside Positioning",
        "Removing the Legend",
        "Styling Legends",
        "Wrapping Legend Entries",
        "Combining Functions",
        "What's Next"
      ],
      "created": "2025-12-15 06:02:05",
      "modified": "2026-04-22 14:41:37",
      "commits": 9
    },
    {
      "source": "positioning.Rmd",
      "filename": "positioning.html",
      "title": "Legend Positioning",
      "author": "Gilles Colling",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Basic Positioning",
        "Left and Right",
        "Top and Bottom",
        "Alignment with Titles",
        "Inside Positioning",
        "Using Shortcuts",
        "Using Coordinates",
        "Adding Background",
        "Direction Control",
        "Horizontal and Vertical",
        "Combining Direction and Position",
        "Removing the Legend",
        "Summary"
      ],
      "created": "2025-12-15 06:02:05",
      "modified": "2026-04-22 14:41:37",
      "commits": 7
    },
    {
      "source": "multiple-legends.Rmd",
      "filename": "multiple-legends.html",
      "title": "Multiple Legends",
      "author": "Gilles Colling",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Example Plot",
        "Hiding Legends",
        "Selecting Legends",
        "Controlling Legend Order",
        "Merging and Splitting Legends",
        "Forcing Merge",
        "Forcing Split",
        "Positioning Legends Separately",
        "Styling Legends Separately",
        "Combining Multiple Controls",
        "Four Legends, One per Side",
        "Six Legends, Stacked per Side",
        "What each step is doing",
        "Why one line per parameter",
        "Summary"
      ],
      "created": "2025-12-15 11:03:24",
      "modified": "2026-04-24 08:25:56",
      "commits": 7
    },
    {
      "source": "patchwork.Rmd",
      "filename": "patchwork.html",
      "title": "Patchwork Integration",
      "author": "Gilles Colling",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "The Problem: Duplicate Legends",
        "Basic Legend Collection",
        "Position Options",
        "Stacked Plots",
        "Default: Centered",
        "Spanning Full Height",
        "Attaching to Specific Rows",
        "Collecting Duplicate Axes",
        "Combining with Styling",
        "Complex Layouts",
        "cowplot / Grid Users",
        "get_legend() - Extract Legend",
        "shared_legend() - Combine Plots with Shared Legend",
        "Summary"
      ],
      "created": "2025-12-15 06:02:05",
      "modified": "2026-04-22 11:36:09",
      "commits": 6
    },
    {
      "source": "styling.Rmd",
      "filename": "styling.html",
      "title": "Styling & Customization",
      "author": "Gilles Colling",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Font Styling",
        "Font Size",
        "Font Family",
        "Title Emphasis",
        "Text Rotation",
        "Basic Rotation",
        "Vertical Labels",
        "Title Rotation",
        "Background and Border",
        "Key Size",
        "Margin",
        "Full Styling Example",
        "Wrapping Legend Entries",
        "By Columns",
        "By Rows",
        "With Bottom Position",
        "Customizing Legend Keys",
        "Enlarging Small Points",
        "Removing Transparency",
        "Combining Overrides",
        "Targeting Specific Aesthetics",
        "Changing Symbol Shapes",
        "Filled Shapes with Outlines",
        "Reordering Legend Entries",
        "Explicit Order",
        "Using Functions",
        "Other Aesthetics",
        "Reversing Legend Order",
        "Combining Style Functions",
        "Styling Continuous Color Bars",
        "Basic Usage",
        "Size Adjustments",
        "Horizontal Orientation",
        "Adding a Frame",
        "Removing Ticks",
        "Combined Customization",
        "Summary"
      ],
      "created": "2025-12-15 06:02:05",
      "modified": "2026-04-22 11:36:09",
      "commits": 12
    }
  ],
  "_score": 6.217483944213907,
  "_indexed": true,
  "_nocasepkg": "ggguides",
  "_universes": [
    "gcol33"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.10",
      "date": "2026-05-29T23:15:09.000Z",
      "distro": "noble",
      "commit": "442085bfaae5340669cb1444582657a4091a4999",
      "fileid": "0f6c24bb4a6d6558a6ae60061766af773f0be494ef22828fe0d1c2dd5becf855",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gcol33/actions/runs/26666819607"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.10",
      "date": "2026-05-29T23:15:03.000Z",
      "distro": "noble",
      "commit": "442085bfaae5340669cb1444582657a4091a4999",
      "fileid": "a9dd6e0343fc7c3b89421606ec32792c690d9b0520d40a88fb8b16933aa55d29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gcol33/actions/runs/26666819607"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.10",
      "date": "2026-05-29T23:14:28.000Z",
      "commit": "442085bfaae5340669cb1444582657a4091a4999",
      "fileid": "c8f1f52e951c6a996e836a632a9e063bbb1dce36f755249dd6d9102a9ecebe51",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gcol33/actions/runs/26666819607"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.10",
      "date": "2026-05-29T23:14:52.000Z",
      "commit": "442085bfaae5340669cb1444582657a4091a4999",
      "fileid": "f06a777c41ba877deace9ddad5e74a60716b10280cd6f9c934b450cbd6da4b35",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gcol33/actions/runs/26666819607"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.10",
      "date": "2026-05-29T23:15:12.000Z",
      "commit": "442085bfaae5340669cb1444582657a4091a4999",
      "fileid": "479a8ed9e5f585ec07ea814ad153ab8c056e1d171e173f7a4df62b9051ba061e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gcol33/actions/runs/26666819607"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.10",
      "date": "2026-05-29T23:14:32.000Z",
      "commit": "442085bfaae5340669cb1444582657a4091a4999",
      "fileid": "0dcd002d31258415e18901f299bac08daa924c89001e252b91c0115321029d51",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gcol33/actions/runs/26666819607"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.10",
      "date": "2026-05-29T23:14:18.000Z",
      "commit": "442085bfaae5340669cb1444582657a4091a4999",
      "fileid": "ab31c549c4f9c03cee36bf62b4ca1aaa1a8a233597977f8533e67c7233b50590",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gcol33/actions/runs/26666819607"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.10",
      "date": "2026-05-29T23:14:31.000Z",
      "commit": "442085bfaae5340669cb1444582657a4091a4999",
      "fileid": "11735ad64ddfa19c76562e4d94546615aea2c9467cd5462e66a27f172de11d41",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gcol33/actions/runs/26666819607"
    }
  ]
}