{
  "_id": "6a27bc2424555f66ed53b570",
  "Package": "lemon",
  "Type": "Package",
  "Title": "Freshing Up your 'ggplot2' Plots",
  "URL": "https://github.com/stefanedwards/lemon",
  "BugReports": "https://github.com/stefanedwards/lemon/issues",
  "Version": "0.5.2",
  "Authors@R": "c(\nperson('Stefan McKinnon', 'Edwards', email='sme@iysik.com',\ncomment=c(ORCID='0000-0002-4628-8148'),\nrole=c('aut','ctb','cre')),\nperson('Baptiste','Auguie', role='ctb',\ncomment='For g_legend and grid_arrange_shared_legend'),\nperson('Shaun','Jackman', role='ctb',\ncomment='For grid_arrange_shared_legend'),\nperson(\"Hadley\", \"Wickham\", , \"hadley@rstudio.com\", \"ctb\",\ncomment='ggplot2 functions'),\nperson(\"Winston\", \"Chang\", , \"winston@rstudio.com\", \"ctb\",\ncomment='ggplot2 functions')\n)",
  "Description": "Functions for working with legends and axis lines of\n'ggplot2', facets that repeat axis lines on all panels, and\nsome 'knitr' extensions.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Collate": "'ggplot2.r' 'lemon-plot.r' 'axis-annotation.r' 'brackets.R'\n'coord-flex.r' 'coord-capped.r' 'dot.r' 'facet-rep-lab.r'\n'facet-wrap.r' 'geom-pointline.r' 'lemon_print.r'\n'geom-siderange.r' 'grob_utils.r' 'gtable_show-.r'\n'guides-axis.r' 'legends.r' 'lemon.r' 'scale-symmetric.r'",
  "VignetteBuilder": "knitr",
  "Repository": "https://stefanedwards.r-universe.dev",
  "Date/Publication": "2025-09-04 12:25:41 UTC",
  "RemoteUrl": "https://github.com/stefanedwards/lemon",
  "RemoteRef": "HEAD",
  "RemoteSha": "ee7ae8d060c56d85ec3fea4c4b877a70a5b728e0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-09 06:51:16 UTC",
    "User": "root"
  },
  "Author": "Stefan McKinnon Edwards [aut, ctb, cre] (ORCID:\n<https://orcid.org/0000-0002-4628-8148>),\nBaptiste Auguie [ctb] (For g_legend and grid_arrange_shared_legend),\nShaun Jackman [ctb] (For grid_arrange_shared_legend),\nHadley Wickham [ctb] (ggplot2 functions),\nWinston Chang [ctb] (ggplot2 functions)",
  "Maintainer": "Stefan McKinnon Edwards <sme@iysik.com>",
  "MD5sum": "34d2ee3870a38530557f4a920b9a4a44",
  "_user": "stefanedwards",
  "_type": "src",
  "_file": "lemon_0.5.2.tar.gz",
  "_fileid": "09e9b4f32457e715fa3e2eef3260b2bb3b140f051b2f3dc195b57a9587961ec7",
  "_filesize": 5298041,
  "_sha256": "09e9b4f32457e715fa3e2eef3260b2bb3b140f051b2f3dc195b57a9587961ec7",
  "_created": "2026-06-09T06:51:16.000Z",
  "_published": "2026-06-09T07:09:24.009Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80264864461,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7500518615"
    },
    {
      "job": 80264864476,
      "time": 163,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500519963"
    },
    {
      "job": 80264864480,
      "time": 201,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7500773946"
    },
    {
      "job": 80264864473,
      "time": 221,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500715038"
    },
    {
      "job": 80264408397,
      "time": 197,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500470847"
    },
    {
      "job": 80264864490,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500506919"
    },
    {
      "job": 80264864486,
      "time": 125,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7500508907"
    },
    {
      "job": 80264864504,
      "time": 121,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7500507771"
    },
    {
      "job": 80264864488,
      "time": 97,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500500868"
    }
  ],
  "_buildurl": "https://github.com/r-universe/stefanedwards/actions/runs/27188984661",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/stefanedwards/lemon",
  "_commit": {
    "id": "ee7ae8d060c56d85ec3fea4c4b877a70a5b728e0",
    "author": "Stefan McKinnon Edwards <smhe@kamstrup.com>",
    "committer": "Stefan McKinnon Edwards <smhe@kamstrup.com>",
    "message": "Minor fixes to pass ggplot2 4.0.0 release.\n",
    "time": 1756988741
  },
  "_maintainer": {
    "name": "Stefan McKinnon Edwards",
    "email": "sme@iysik.com",
    "login": "stefanedwards",
    "twitter": "@iysik_com",
    "description": "Data Analyst at Kamstrup A/S, former quantitative geneticist. ",
    "uuid": 3592346,
    "orcid": "0000-0002-4628-8148"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.2",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "gtable",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "version": ">= 1.12",
      "role": "Imports"
    },
    {
      "package": "lattice",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "ggh4x",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    },
    {
      "package": "diffviewer",
      "role": "Suggests"
    }
  ],
  "_owner": "stefanedwards",
  "_selfowned": true,
  "_usedby": 7,
  "_updates": [
    {
      "week": "2025-30",
      "n": 4
    },
    {
      "week": "2025-36",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "axis-lines",
    "facets",
    "ggplot-extension",
    "ggplot2",
    "knitr",
    "legend",
    "ticks",
    "visualization"
  ],
  "_stars": 195,
  "_contributors": [
    {
      "user": "stefanedwards",
      "count": 200,
      "uuid": 3592346
    },
    {
      "user": "teunbrand",
      "count": 2,
      "uuid": 49372158
    }
  ],
  "_userbio": {
    "uuid": 3592346,
    "type": "user",
    "name": "Stefan McKinnon Edwards",
    "description": "Data Analyst at Kamstrup A/S, former quantitative geneticist. "
  },
  "_downloads": {
    "count": 11030,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lemon"
  },
  "_mentions": 4,
  "_devurl": "https://github.com/stefanedwards/lemon",
  "_searchresults": 2000,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lemon.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/stefanedwards/lemon",
  "_realowner": "stefanedwards",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2017-05-22"
    },
    {
      "version": "0.3.1",
      "date": "2017-09-12"
    },
    {
      "version": "0.3.3",
      "date": "2018-01-31"
    },
    {
      "version": "0.4.1",
      "date": "2018-06-28"
    },
    {
      "version": "0.4.2",
      "date": "2018-10-30"
    },
    {
      "version": "0.4.3",
      "date": "2019-01-08"
    },
    {
      "version": "0.4.4",
      "date": "2020-04-03"
    },
    {
      "version": "0.4.5",
      "date": "2020-06-08"
    },
    {
      "version": "0.4.6",
      "date": "2022-12-02"
    },
    {
      "version": "0.4.7",
      "date": "2023-11-07"
    },
    {
      "version": "0.4.9",
      "date": "2024-02-08"
    },
    {
      "version": "0.5.0",
      "date": "2024-11-14"
    },
    {
      "version": "0.5.1",
      "date": "2025-07-22"
    },
    {
      "version": "0.5.2",
      "date": "2025-09-04"
    }
  ],
  "_exports": [
    ".dot",
    ".dot2",
    "annotate_x_axis",
    "annotate_y_axis",
    "as.lemon_plot",
    "brackets_horisontal",
    "brackets_horizontal",
    "brackets_vertical",
    "capped_horisontal",
    "capped_horizontal",
    "capped_vertical",
    "coord_capped_cart",
    "coord_capped_flip",
    "coord_flex_cart",
    "coord_flex_fixed",
    "coord_flex_flip",
    "CoordFlexCartesian",
    "CoordFlexFixed",
    "CoordFlexFlipped",
    "facet_rep_grid",
    "facet_rep_wrap",
    "FacetGridRepeatLabels",
    "FacetWrapRepeatLabels",
    "g_legend",
    "geom_pointline",
    "geom_pointpath",
    "geom_siderange",
    "GeomPointLine",
    "GeomPointPath",
    "GeomSideRange",
    "get_panel_params",
    "get_panel_x_range",
    "get_panel_y_range",
    "grid_arrange_shared_legend",
    "gtable_show_grill",
    "gtable_show_names",
    "guidebox_as_column",
    "lemon_print",
    "render_gpar",
    "reposition_legend",
    "scale_x_symmetric",
    "scale_y_symmetric"
  ],
  "_help": [
    {
      "page": "dot",
      "title": "Create paths that are safe from changing working directory.",
      "topics": [
        ".dot",
        ".dot2"
      ]
    },
    {
      "page": "annotate_axis",
      "title": "Annotations on the axis",
      "topics": [
        "annotate_x_axis",
        "annotate_y_axis"
      ]
    },
    {
      "page": "brackets",
      "title": "Axis brackets instead of axis ticks and lines",
      "topics": [
        "brackets_horisontal",
        "brackets_horizontal",
        "brackets_vertical"
      ]
    },
    {
      "page": "coord_capped",
      "title": "Cartesian coordinates with capped axis lines.",
      "topics": [
        "capped_horisontal",
        "capped_horizontal",
        "capped_vertical",
        "coord_capped_cart",
        "coord_capped_flip"
      ]
    },
    {
      "page": "coord_flex",
      "title": "Cartesian coordinates with flexible options for drawing axes",
      "topics": [
        "coord_flex_cart",
        "coord_flex_fixed",
        "coord_flex_flip"
      ]
    },
    {
      "page": "facet_rep",
      "title": "Repeat axis lines and labels across all facet panels",
      "topics": [
        "facet_rep_grid",
        "facet_rep_wrap"
      ]
    },
    {
      "page": "g_legend",
      "title": "Extract ggplot legends",
      "topics": [
        "g_legend"
      ]
    },
    {
      "page": "geom_pointpath",
      "title": "Connected points",
      "topics": [
        "geom_pointline",
        "geom_pointpath",
        "geom_pointrangeline"
      ]
    },
    {
      "page": "geom_siderange",
      "title": "Display range of data in side of plot",
      "topics": [
        "geom_siderange"
      ]
    },
    {
      "page": "get_panel_range",
      "title": "Version safe(r) method to get the y- and x-range from trained scales.",
      "topics": [
        "get_panel_params",
        "get_panel_range",
        "get_panel_x_range",
        "get_panel_y_range"
      ]
    },
    {
      "page": "grid_arrange_shared_legend",
      "title": "Share a legend between multiple plots",
      "topics": [
        "grid_arrange_shared_legend"
      ]
    },
    {
      "page": "gtable_show",
      "title": "Visualise underlying gtable layout.",
      "topics": [
        "gtable_show_grill",
        "gtable_show_names"
      ]
    },
    {
      "page": "guidebox_as_column",
      "title": "Guidebox as a column",
      "topics": [
        "guidebox_as_column"
      ]
    },
    {
      "page": "is.small",
      "title": "Is a given unit 'small'?",
      "topics": [
        "is.small"
      ]
    },
    {
      "page": "lemon",
      "title": "Freshing up your ggplots",
      "topics": [
        "lemon-package",
        "lemon"
      ]
    },
    {
      "page": "lemon_print",
      "title": "knitr extension: Always use `kable` for data frames.",
      "topics": [
        "lemon_print",
        "lemon_print.data.frame",
        "lemon_print.table"
      ]
    },
    {
      "page": "remove_labels_from_axis",
      "title": "Removes labels from axis grobs.",
      "topics": [
        "remove_labels_from_axis"
      ]
    },
    {
      "page": "reposition_legend",
      "title": "Reposition a legend onto a panel",
      "topics": [
        "reposition_legend"
      ]
    },
    {
      "page": "scale_symmetric",
      "title": "Symmetrix position scale for continuous x and y",
      "topics": [
        "scale_x_symmetric",
        "scale_y_symmetric"
      ]
    }
  ],
  "_readme": "https://github.com/stefanedwards/lemon/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "evaluate",
    "farver",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "isoband",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "plyr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "capped-axes.Rmd",
      "filename": "capped-axes.html",
      "title": "Capping axis lines",
      "author": "Stefan McKinnon Edwards sme@iysik.com",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Demonstration",
        "The coord objects",
        "The axis drawing functions",
        "Brackets",
        "Facets",
        "Scales"
      ],
      "created": "2017-04-27 09:09:15",
      "modified": "2022-12-02 12:35:44",
      "commits": 11
    },
    {
      "source": "geoms.Rmd",
      "filename": "geoms.html",
      "title": "Geoms in lemon",
      "author": "Stefan McKinnon Edwards sme@iysik.com",
      "engine": "knitr::rmarkdown",
      "headings": [
        "geom_pointpath",
        "lemon and ggh4x",
        "geom_siderange"
      ],
      "created": "2018-02-23 17:03:11",
      "modified": "2025-09-04 12:25:41",
      "commits": 5
    },
    {
      "source": "lemon_print.Rmd",
      "filename": "lemon_print.html",
      "title": "Lemon print -- pretty printing data frames and tables",
      "author": "Stefan McKinnon Edwards sme@iysik.com",
      "engine": "knitr::rmarkdown",
      "headings": [
        "It uses kable",
        "Why does it matter",
        "Other objects covered",
        "dplyr"
      ],
      "created": "2017-05-18 11:26:19",
      "modified": "2025-09-04 12:25:41",
      "commits": 6
    },
    {
      "source": "facet-rep-labels.Rmd",
      "filename": "facet-rep-labels.html",
      "title": "Repeat axis lines on facet panels",
      "author": "Stefan McKinnon Edwards sme@iysik.com",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Translating between lemon's and ggh4x' facets"
      ],
      "created": "2017-09-21 14:42:32",
      "modified": "2025-07-22 08:43:30",
      "commits": 3
    },
    {
      "source": "gtable_show_lemonade.Rmd",
      "filename": "gtable_show_lemonade.html",
      "title": "Show gtable names and grill",
      "author": "Stefan McKinnon Edwards sme@iysik.com",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2017-05-18 11:26:19",
      "modified": "2022-12-02 12:35:44",
      "commits": 3
    },
    {
      "source": "legends.Rmd",
      "filename": "legends.html",
      "title": "Working with legends",
      "author": "Stefan McKinnon Edwards sme@iysik.com",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Legend functions",
        "Reposition legend onto plotting panel",
        "Multiple legends per guide",
        "Legends are placed under axis lines",
        "Placing the legend in facets",
        "Shared legend across multiple plot",
        "Shared legend with grid.arrange",
        "More examples",
        "Complex layout with grid_arrange_shared_legend",
        "Plot for ggplot2-extensions",
        "Acknowledgements",
        "Footnotes"
      ],
      "created": "2017-04-27 13:50:16",
      "modified": "2025-09-04 12:25:41",
      "commits": 21
    }
  ],
  "_score": 12.336070655912215,
  "_indexed": true,
  "_nocasepkg": "lemon",
  "_universes": [
    "stefanedwards"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.2",
      "date": "2026-06-09T06:53:26.000Z",
      "distro": "noble",
      "commit": "ee7ae8d060c56d85ec3fea4c4b877a70a5b728e0",
      "fileid": "13f77f000302afc7961e3ea3effe4fc69b7123d840e39379da48f0da6d9c56c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stefanedwards/actions/runs/27188984661"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.2",
      "date": "2026-06-09T06:53:28.000Z",
      "distro": "noble",
      "commit": "ee7ae8d060c56d85ec3fea4c4b877a70a5b728e0",
      "fileid": "a71d88b410425dffae571f406dcc9e822ac46c7fb7c9390df75ecb2036bec778",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stefanedwards/actions/runs/27188984661"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.2",
      "date": "2026-06-09T07:07:55.000Z",
      "commit": "ee7ae8d060c56d85ec3fea4c4b877a70a5b728e0",
      "fileid": "069c8179937cc048014372bc466ff09d8a857fe410fae260beaec5a19e0606a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stefanedwards/actions/runs/27188984661"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.2",
      "date": "2026-06-09T07:04:44.000Z",
      "commit": "ee7ae8d060c56d85ec3fea4c4b877a70a5b728e0",
      "fileid": "cc7c2d221667670193111f901baa2cec4cfe2a759ce885072a08e62ed1f1a8e5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stefanedwards/actions/runs/27188984661"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.2",
      "date": "2026-06-09T06:53:32.000Z",
      "commit": "ee7ae8d060c56d85ec3fea4c4b877a70a5b728e0",
      "fileid": "a9faded41eee7119ebc35d6e741e993ea685d939dca49004fcea1e34fde8304d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/stefanedwards/actions/runs/27188984661"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.2",
      "date": "2026-06-09T06:52:38.000Z",
      "commit": "ee7ae8d060c56d85ec3fea4c4b877a70a5b728e0",
      "fileid": "e14a90f7b46e024fa9f334e8757e01d57cd8847b6776b8303a7f87a142b081f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stefanedwards/actions/runs/27188984661"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.2",
      "date": "2026-06-09T06:52:34.000Z",
      "commit": "ee7ae8d060c56d85ec3fea4c4b877a70a5b728e0",
      "fileid": "eac2d56036a6489336887e322fc498d1ed6e07034e99467d22df8e551f2864b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stefanedwards/actions/runs/27188984661"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5.2",
      "date": "2026-06-09T06:52:28.000Z",
      "commit": "ee7ae8d060c56d85ec3fea4c4b877a70a5b728e0",
      "fileid": "cf10538d832e99594acc1f40755075aeeefdd38e924ea5116855c97a33c7aa24",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stefanedwards/actions/runs/27188984661"
    }
  ]
}