{
  "_id": "6a102e82acfb0bcc41c944a7",
  "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",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Language": "en-US",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://larmarange.r-universe.dev",
  "Date/Publication": "2026-05-12 11:44:14 UTC",
  "RemoteUrl": "https://github.com/larmarange/ggstats",
  "RemoteRef": "HEAD",
  "RemoteSha": "0de83cbf48007a8c6682cd144420100b31d7e9c1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-12 14:14:56 UTC",
    "User": "root"
  },
  "Author": "Joseph Larmarange [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7097-700X>)",
  "Maintainer": "Joseph Larmarange <joseph@larmarange.net>",
  "MD5sum": "7e41588e933ce082a433d29f622fd029",
  "_user": "larmarange",
  "_type": "src",
  "_file": "ggstats_0.13.0.9000.tar.gz",
  "_fileid": "40608d6509909cdb0ae1adc09bfe1cf3d19f5a7408fe9a06d2de1d1360910c8c",
  "_filesize": 8570418,
  "_sha256": "40608d6509909cdb0ae1adc09bfe1cf3d19f5a7408fe9a06d2de1d1360910c8c",
  "_created": "2026-05-12T14:14:56.000Z",
  "_published": "2026-05-22T10:22:58.898Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77360861254,
      "time": 231,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6946651515"
    },
    {
      "job": 77360861661,
      "time": 180,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6946631704"
    },
    {
      "job": 77360861690,
      "time": 173,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6946647968"
    },
    {
      "job": 77360861714,
      "time": 438,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6946737701"
    },
    {
      "job": 77360861125,
      "time": 311,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6946556079"
    },
    {
      "job": 77360860805,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158248884"
    },
    {
      "job": 77360861488,
      "time": 138,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6962132741"
    },
    {
      "job": 77360861826,
      "time": 161,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6946623215"
    },
    {
      "job": 77360861383,
      "time": 126,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6946608669"
    }
  ],
  "_buildurl": "https://github.com/r-universe/larmarange/actions/runs/25739948721",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/larmarange/ggstats",
  "_commit": {
    "id": "0de83cbf48007a8c6682cd144420100b31d7e9c1",
    "author": "Joseph Larmarange <joseph@larmarange.net>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #121 from larmarange/suffix\n\nimprovement of suffix implementation in gglikert()",
    "time": 1778586254
  },
  "_maintainer": {
    "name": "Joseph Larmarange",
    "email": "joseph@larmarange.net",
    "login": "larmarange",
    "orcid": "0000-0001-7097-700X",
    "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-21",
      "n": 1
    },
    {
      "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
    }
  ],
  "_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": 528,
      "uuid": 966307
    },
    {
      "user": "davisvaughan",
      "count": 1,
      "uuid": 19150088
    },
    {
      "user": "michaelchirico",
      "count": 1,
      "uuid": 7606389
    }
  ],
  "_userbio": {
    "uuid": 966307,
    "type": "user",
    "name": "Joseph Larmarange",
    "description": "Public health demographer"
  },
  "_downloads": {
    "count": 75111,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ggstats"
  },
  "_devurl": "https://github.com/larmarange/ggstats",
  "_pkgdown": "https://larmarange.github.io/ggstats/",
  "_searchresults": 335,
  "_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.549782618252474,
  "_indexed": true,
  "_nocasepkg": "ggstats",
  "_universes": [
    "larmarange"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.13.0.9000",
      "date": "2026-05-12T14:18:10.000Z",
      "distro": "noble",
      "commit": "0de83cbf48007a8c6682cd144420100b31d7e9c1",
      "fileid": "cbf611e9b314ae20b04770641a9beae09a7c2773c4d09757a4d9dc08435763f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larmarange/actions/runs/25739948721"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.13.0.9000",
      "date": "2026-05-12T14:17:33.000Z",
      "distro": "noble",
      "commit": "0de83cbf48007a8c6682cd144420100b31d7e9c1",
      "fileid": "96d2592e5fc0730387f38dd212408bace5ec06a4c29d240e41ad9d8740163542",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larmarange/actions/runs/25739948721"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.13.0.9000",
      "date": "2026-05-12T14:18:17.000Z",
      "commit": "0de83cbf48007a8c6682cd144420100b31d7e9c1",
      "fileid": "0e85015e3d385af15ef3ee38410deefecd4199f4ee4424dbd04cc8295d90239e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larmarange/actions/runs/25739948721"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.13.0.9000",
      "date": "2026-05-12T14:19:49.000Z",
      "commit": "0de83cbf48007a8c6682cd144420100b31d7e9c1",
      "fileid": "74da0e6ac8c39d998f562e612b79b5af0edb65a3e3e3c767c069d49fefcb152d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larmarange/actions/runs/25739948721"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.13.0.9000",
      "date": "2026-05-13T05:14:37.000Z",
      "commit": "0de83cbf48007a8c6682cd144420100b31d7e9c1",
      "fileid": "cf571d07ab93444f29cdae772b5a8ca8f03f64757209418c3ead5b14914eea51",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larmarange/actions/runs/25739948721"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.13.0.9000",
      "date": "2026-05-12T14:16:57.000Z",
      "commit": "0de83cbf48007a8c6682cd144420100b31d7e9c1",
      "fileid": "2e1b0007b8ac60a4e2d4bbb9f26bfb10c4452a4d1db85053bb535a8d893dceda",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larmarange/actions/runs/25739948721"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.13.0.9000",
      "date": "2026-05-12T14:16:24.000Z",
      "commit": "0de83cbf48007a8c6682cd144420100b31d7e9c1",
      "fileid": "b17f9890770538b99204925d0f2571ea35f2468fd70edd9bf5577d1927244b69",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/larmarange/actions/runs/25739948721"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.13.0.9000",
      "date": "2026-05-22T10:22:32.000Z",
      "commit": "0de83cbf48007a8c6682cd144420100b31d7e9c1",
      "fileid": "db41adcf2b5e8a36f53e04ae4b53f738bbd27c031e8204a402c7604b494b865c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/larmarange/actions/runs/25739948721"
    }
  ]
}