{
  "_id": "6a398fff4c3da884a9289292",
  "Package": "ggstats",
  "Type": "Package",
  "Title": "Extension to 'ggplot2' for Plotting Stats",
  "Version": "0.13.0.9000",
  "Authors@R": "c(\nperson(\n\"Joseph\", \"Larmarange\", ,\n\"joseph@larmarange.net\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-7097-700X\")\n)\n)",
  "Description": "Provides new statistics, new geometries and new positions\nfor 'ggplot2' and a suite of functions to facilitate the\ncreation of statistical plots.",
  "License": "GPL (>= 3)",
  "URL": "https://larmarange.github.io/ggstats/,\nhttps://github.com/larmarange/ggstats",
  "BugReports": "https://github.com/larmarange/ggstats/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Language": "en-US",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://larmarange.r-universe.dev",
  "Date/Publication": "2026-06-22 17:20:36 UTC",
  "RemoteUrl": "https://github.com/larmarange/ggstats",
  "RemoteRef": "HEAD",
  "RemoteSha": "5d7fa06dcd7f02ee90f56056eb18867c644f5edf",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-22 19:37:51 UTC",
    "User": "root"
  },
  "Author": "Joseph Larmarange [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7097-700X>)",
  "Maintainer": "Joseph Larmarange <joseph@larmarange.net>",
  "MD5sum": "691ec2c77c7b7f6138b68dccee97ea05",
  "_user": "larmarange",
  "_type": "src",
  "_file": "ggstats_0.13.0.9000.tar.gz",
  "_fileid": "d6bba5e48cfdf98e47621416dc6cb53c4077bcfcc0d6d20fe08a7a2ca51ccfb7",
  "_filesize": 8562867,
  "_sha256": "d6bba5e48cfdf98e47621416dc6cb53c4077bcfcc0d6d20fe08a7a2ca51ccfb7",
  "_created": "2026-06-22T19:37:51.000Z",
  "_published": "2026-06-22T19:41:51.508Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82803860622,
      "time": 194,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7803048964"
    },
    {
      "job": 82803860656,
      "time": 201,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7803050944"
    },
    {
      "job": 82803860629,
      "time": 129,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7803022130"
    },
    {
      "job": 82803860631,
      "time": 120,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7803019263"
    },
    {
      "job": 82802886412,
      "time": 298,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7802972683"
    },
    {
      "job": 82803860661,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7803021874"
    },
    {
      "job": 82803860647,
      "time": 152,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7803031482"
    },
    {
      "job": 82803860602,
      "time": 135,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7803025367"
    },
    {
      "job": 82803860616,
      "time": 133,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7803024377"
    }
  ],
  "_buildurl": "https://github.com/r-universe/larmarange/actions/runs/27978653819",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/larmarange/ggstats",
  "_commit": {
    "id": "5d7fa06dcd7f02ee90f56056eb18867c644f5edf",
    "author": "Joseph Larmarange <joseph@larmarange.net>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #125 from larmarange/issue124\n\nfix in `gglikert()` when only one variable is selected",
    "time": 1782148836
  },
  "_maintainer": {
    "name": "Joseph Larmarange",
    "email": "joseph@larmarange.net",
    "login": "larmarange",
    "orcid": "0000-0001-7097-700X",
    "description": "Public health demographer",
    "uuid": 966307
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 4.0.0",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "betareg",
      "role": "Suggests"
    },
    {
      "package": "broom",
      "role": "Suggests"
    },
    {
      "package": "broom.helpers",
      "version": ">= 1.20.0",
      "role": "Suggests"
    },
    {
      "package": "emmeans",
      "role": "Suggests"
    },
    {
      "package": "glue",
      "role": "Suggests"
    },
    {
      "package": "gtsummary",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "labelled",
      "version": ">= 2.11.0",
      "role": "Suggests"
    },
    {
      "package": "reshape",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "nnet",
      "role": "Suggests"
    },
    {
      "package": "parameters",
      "role": "Suggests"
    },
    {
      "package": "pscl",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "survey",
      "role": "Suggests"
    },
    {
      "package": "survival",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    }
  ],
  "_owner": "larmarange",
  "_selfowned": true,
  "_usedby": 145,
  "_updates": [
    {
      "week": "2025-27",
      "n": 5
    },
    {
      "week": "2025-34",
      "n": 1
    },
    {
      "week": "2025-37",
      "n": 1
    },
    {
      "week": "2025-38",
      "n": 8
    },
    {
      "week": "2025-51",
      "n": 11
    },
    {
      "week": "2025-52",
      "n": 5
    },
    {
      "week": "2026-05",
      "n": 2
    },
    {
      "week": "2026-10",
      "n": 6
    },
    {
      "week": "2026-20",
      "n": 2
    },
    {
      "week": "2026-25",
      "n": 1
    },
    {
      "week": "2026-26",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.10.0",
      "date": "2025-07-02"
    },
    {
      "name": "v0.11.0",
      "date": "2025-09-15"
    },
    {
      "name": "v0.12.0",
      "date": "2025-12-22"
    },
    {
      "name": "v0.13.0",
      "date": "2026-03-06"
    }
  ],
  "_stars": 54,
  "_contributors": [
    {
      "user": "larmarange",
      "count": 534,
      "uuid": 966307
    },
    {
      "user": "davisvaughan",
      "count": 1,
      "uuid": 19150088
    },
    {
      "user": "michaelchirico",
      "count": 1,
      "uuid": 7606389
    }
  ],
  "_userbio": {
    "uuid": 966307,
    "type": "user",
    "name": "Joseph Larmarange",
    "followers": 205,
    "description": "Public health demographer"
  },
  "_downloads": {
    "count": 64308,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ggstats"
  },
  "_devurl": "https://github.com/larmarange/ggstats",
  "_pkgdown": "https://larmarange.github.io/ggstats/",
  "_searchresults": 502,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ggstats.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/larmarange/ggstats",
  "_realowner": "larmarange",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-10-17"
    },
    {
      "version": "0.1.1",
      "date": "2022-11-24"
    },
    {
      "version": "0.2.0",
      "date": "2023-01-06"
    },
    {
      "version": "0.2.1",
      "date": "2023-01-14"
    },
    {
      "version": "0.3.0",
      "date": "2023-04-12"
    },
    {
      "version": "0.4.0",
      "date": "2023-08-13"
    },
    {
      "version": "0.5.0",
      "date": "2023-09-28"
    },
    {
      "version": "0.5.1",
      "date": "2023-11-21"
    },
    {
      "version": "0.6.0",
      "date": "2024-04-05"
    },
    {
      "version": "0.7.0",
      "date": "2024-09-22"
    },
    {
      "version": "0.8.0",
      "date": "2025-01-07"
    },
    {
      "version": "0.9.0",
      "date": "2025-03-10"
    },
    {
      "version": "0.10.0",
      "date": "2025-07-02"
    },
    {
      "version": "0.11.0",
      "date": "2025-09-15"
    },
    {
      "version": "0.12.0",
      "date": "2025-12-22"
    },
    {
      "version": "0.13.0",
      "date": "2026-03-06"
    }
  ],
  "_exports": [
    "augment_chisq_add_phi",
    "auto_contrast",
    "compute_cascade",
    "geom_bar_connector",
    "geom_connector",
    "geom_diverging",
    "geom_diverging_text",
    "geom_likert",
    "geom_likert_text",
    "geom_prop_bar",
    "geom_prop_connector",
    "geom_prop_text",
    "geom_pyramid",
    "geom_pyramid_text",
    "geom_stripped_cols",
    "geom_stripped_rows",
    "GeomConnector",
    "ggcascade",
    "ggcoef_compare",
    "ggcoef_dodged",
    "ggcoef_faceted",
    "ggcoef_model",
    "ggcoef_multicomponents",
    "ggcoef_multinom",
    "ggcoef_plot",
    "ggcoef_table",
    "gglikert",
    "gglikert_data",
    "gglikert_side",
    "gglikert_stacked",
    "ggsurvey",
    "hex_bw",
    "hex_bw_threshold",
    "label_number_abs",
    "label_percent_abs",
    "likert_pal",
    "pal_extender",
    "plot_cascade",
    "position_diverging",
    "position_likert",
    "PositionDiverging",
    "PositionLikert",
    "round_any",
    "scale_colour_extended",
    "scale_fill_extended",
    "scale_fill_likert",
    "signif_stars",
    "stat_cross",
    "stat_prop",
    "stat_weighted_mean",
    "StatCross",
    "StatProp",
    "StatWeightedMean",
    "symmetric_limits",
    "weighted.median",
    "weighted.quantile",
    "weighted.sum"
  ],
  "_help": [
    {
      "page": "augment_chisq_add_phi",
      "title": "Augment a chi-squared test and compute phi coefficients",
      "topics": [
        "augment_chisq_add_phi"
      ]
    },
    {
      "page": "geom_connector",
      "title": "Connect bars / points",
      "topics": [
        "GeomConnector",
        "geom_bar_connector",
        "geom_connector"
      ]
    },
    {
      "page": "geom_diverging",
      "title": "Geometries for diverging bar plots",
      "topics": [
        "geom_diverging",
        "geom_diverging_text",
        "geom_likert",
        "geom_likert_text",
        "geom_pyramid",
        "geom_pyramid_text"
      ]
    },
    {
      "page": "geom_prop_bar",
      "title": "Convenient geometries for proportion bar plots",
      "topics": [
        "geom_prop_bar",
        "geom_prop_connector",
        "geom_prop_text"
      ]
    },
    {
      "page": "geom_stripped_rows",
      "title": "Alternating Background Color",
      "topics": [
        "geom_stripped_cols",
        "geom_stripped_rows"
      ]
    },
    {
      "page": "ggcascade",
      "title": "Cascade plot",
      "topics": [
        "compute_cascade",
        "ggcascade",
        "plot_cascade"
      ]
    },
    {
      "page": "ggcoef_model",
      "title": "Plot model coefficients",
      "topics": [
        "ggcoef_compare",
        "ggcoef_dodged",
        "ggcoef_faceted",
        "ggcoef_model",
        "ggcoef_plot",
        "ggcoef_table"
      ]
    },
    {
      "page": "ggcoef_multicomponents",
      "title": "Deprecated functions",
      "topics": [
        "ggcoef_multicomponents",
        "ggcoef_multinom"
      ]
    },
    {
      "page": "gglikert",
      "title": "Plotting Likert-type items",
      "topics": [
        "gglikert",
        "gglikert_data",
        "gglikert_side",
        "gglikert_stacked"
      ]
    },
    {
      "page": "ggsurvey",
      "title": "Easy ggplot2 with survey objects",
      "topics": [
        "ggsurvey"
      ]
    },
    {
      "page": "hex_bw",
      "title": "Identify a suitable font color (black or white) given a background HEX color",
      "topics": [
        "auto_contrast",
        "hex_bw",
        "hex_bw_threshold"
      ]
    },
    {
      "page": "label_number_abs",
      "title": "Label absolute values",
      "topics": [
        "label_number_abs",
        "label_percent_abs"
      ]
    },
    {
      "page": "pal_extender",
      "title": "Extend a discrete colour palette",
      "topics": [
        "pal_extender",
        "scale_colour_extended",
        "scale_fill_extended"
      ]
    },
    {
      "page": "position_likert",
      "title": "Stack objects on top of each another and center them around 0",
      "topics": [
        "PositionDiverging",
        "PositionLikert",
        "position_diverging",
        "position_likert"
      ]
    },
    {
      "page": "round_any",
      "title": "Round to multiple of any number.",
      "topics": [
        "round_any"
      ]
    },
    {
      "page": "scale_fill_likert",
      "title": "Colour scale for Likert-type plots",
      "topics": [
        "likert_pal",
        "scale_fill_likert"
      ]
    },
    {
      "page": "signif_stars",
      "title": "Significance Stars",
      "topics": [
        "signif_stars"
      ]
    },
    {
      "page": "stat_cross",
      "title": "Compute cross-tabulation statistics",
      "topics": [
        "StatCross",
        "stat_cross"
      ]
    },
    {
      "page": "stat_prop",
      "title": "Compute proportions according to custom denominator",
      "topics": [
        "StatProp",
        "stat_prop"
      ]
    },
    {
      "page": "stat_weighted_mean",
      "title": "Compute weighted y mean",
      "topics": [
        "StatWeightedMean",
        "stat_weighted_mean"
      ]
    },
    {
      "page": "symmetric_limits",
      "title": "Symmetric limits",
      "topics": [
        "symmetric_limits"
      ]
    },
    {
      "page": "weighted.median",
      "title": "Weighted Median and Quantiles",
      "topics": [
        "weighted.median",
        "weighted.quantile"
      ]
    },
    {
      "page": "weighted.sum",
      "title": "Weighted Sum",
      "topics": [
        "weighted.sum"
      ]
    }
  ],
  "_readme": "https://github.com/larmarange/ggstats/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "forcats",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "patchwork",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "stat_cross.Rmd",
      "filename": "stat_cross.html",
      "title": "Compute cross-tabulation statistics with stat_cross()",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-10-08 07:21:00",
      "modified": "2022-10-13 09:37:34",
      "commits": 5
    },
    {
      "source": "stat_prop.Rmd",
      "filename": "stat_prop.html",
      "title": "Compute custom proportions with stat_prop()",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Adding labels on a percent stacked bar plot",
        "Displaying proportions of the total",
        "A dodged bar plot to compare two distributions",
        "Displaying unobserved levels",
        "Using geom_prop_bar() and geom_prop_text()"
      ],
      "created": "2022-10-08 07:21:00",
      "modified": "2024-09-22 15:19:15",
      "commits": 6
    },
    {
      "source": "stat_weighted_mean.Rmd",
      "filename": "stat_weighted_mean.html",
      "title": "Compute weighted mean with stat_weighted_mean()",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-10-08 07:21:00",
      "modified": "2022-10-08 07:21:00",
      "commits": 1
    },
    {
      "source": "geom_diverging.Rmd",
      "filename": "geom_diverging.html",
      "title": "Geometries for diverging bar plots",
      "author": "Joseph Larmarange",
      "engine": "knitr::rmarkdown",
      "headings": [
        "New positions",
        "New scales",
        "Improving axes",
        "New geometries",
        "geom_diverging() & geom_diverging_text()",
        "geom_likert() & geom_likert_text()",
        "geom_pyramid() & geom_pyramid_text()"
      ],
      "created": "2024-09-18 16:35:57",
      "modified": "2025-02-18 08:52:22",
      "commits": 3
    },
    {
      "source": "gglikert.Rmd",
      "filename": "gglikert.html",
      "title": "Plot Likert-type items with gglikert()",
      "author": "Joseph Larmarange",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Generating an example dataset",
        "Quick plot",
        "Customizing the plot",
        "Sorting the questions",
        "Sorting the answers",
        "Proportion labels",
        "Totals on each side",
        "Variable labels",
        "Custom center",
        "Symmetric x-axis",
        "Removing certain values",
        "Facets",
        "Stacked plot",
        "Long format dataset",
        "Weighted data",
        "See also"
      ],
      "created": "2023-04-12 12:44:26",
      "modified": "2026-01-27 17:44:06",
      "commits": 12
    },
    {
      "source": "ggcoef_model.Rmd",
      "filename": "ggcoef_model.html",
      "title": "Plot model coefficients with ggcoef_model()",
      "author": "Joseph Larmarange",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Quick coefficients plot",
        "Customizing the plot",
        "Variable labels",
        "Term labels",
        "Elements to display",
        "ggplot2 elements",
        "Forest plot with a coefficient table",
        "Multinomial models",
        "Multi-components models",
        "Comparing several models",
        "Advanced users",
        "Supported models"
      ],
      "created": "2022-10-07 17:25:05",
      "modified": "2025-12-21 19:42:50",
      "commits": 19
    }
  ],
  "_score": 13.699395672555731,
  "_indexed": true,
  "_nocasepkg": "ggstats",
  "_universes": [
    "larmarange"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.13.0.9000",
      "date": "2026-06-22T19:40:34.000Z",
      "distro": "noble",
      "commit": "5d7fa06dcd7f02ee90f56056eb18867c644f5edf",
      "fileid": "be2256cf46963e69c26cc250c6b4dfaa31fe6360127ee29dd0bbeff01acc7d82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larmarange/actions/runs/27978653819"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.13.0.9000",
      "date": "2026-06-22T19:40:36.000Z",
      "distro": "noble",
      "commit": "5d7fa06dcd7f02ee90f56056eb18867c644f5edf",
      "fileid": "45fb85023871c7995c1bdbb17f9b14687682a4cc5ac65adaf493ee17ae3f59d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larmarange/actions/runs/27978653819"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.13.0.9000",
      "date": "2026-06-22T19:39:36.000Z",
      "commit": "5d7fa06dcd7f02ee90f56056eb18867c644f5edf",
      "fileid": "efa61d130d2d8a6a276f8462cf90cf84dc0c9e1890c6a2a0f8f9474809e1492b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larmarange/actions/runs/27978653819"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.13.0.9000",
      "date": "2026-06-22T19:39:33.000Z",
      "commit": "5d7fa06dcd7f02ee90f56056eb18867c644f5edf",
      "fileid": "872f73f489dbee52855f63becd68a973dc7c35479c22761317f5e9ab1bd55b8f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larmarange/actions/runs/27978653819"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.13.0.9000",
      "date": "2026-06-22T19:40:19.000Z",
      "commit": "5d7fa06dcd7f02ee90f56056eb18867c644f5edf",
      "fileid": "544f0e6add0352d93897ba22766016a0618ef21babc05621fd035776e431831c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/larmarange/actions/runs/27978653819"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.13.0.9000",
      "date": "2026-06-22T19:39:39.000Z",
      "commit": "5d7fa06dcd7f02ee90f56056eb18867c644f5edf",
      "fileid": "9a640b3c8f1e516110eae9e55c5d4533f4ffad0baba3f7ec2bdf8480e2237d37",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larmarange/actions/runs/27978653819"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.13.0.9000",
      "date": "2026-06-22T19:39:24.000Z",
      "commit": "5d7fa06dcd7f02ee90f56056eb18867c644f5edf",
      "fileid": "5bb9942a6febabdc32f80d6f0c8c3268de06aa98650666bbf78564eb1e331f47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larmarange/actions/runs/27978653819"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.13.0.9000",
      "date": "2026-06-22T19:39:24.000Z",
      "commit": "5d7fa06dcd7f02ee90f56056eb18867c644f5edf",
      "fileid": "6a02b74db2a7b672aec0b9bb2e2357286c96e64056285815bbaa277c2713a6a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larmarange/actions/runs/27978653819"
    }
  ]
}