{
  "_id": "6b00bd2f304827bb829a2e01",
  "Package": "mosaicresid",
  "Type": "Package",
  "Title": "Residual-Shaded Mosaic Plots for 'ggplot2'",
  "Version": "0.1.1",
  "Authors@R": "person(\"Sam\", \"Butler\", email = \"swmbutler@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "A 'ggplot2'-native alternative to the shaded mosaic plots\ndrawn by mosaicplot() in base 'R'. geom_mosaic_resid() maps two\ncategorical variables with ordinary 'ggplot2' aesthetics,\nrecursively partitions the unit square into tiles sized by\ntheir joint proportions, computes Pearson, deviance, or\nFreeman-Tukey residuals against a two-way independence model,\nand maps the residuals to fill color. It works on raw data,\nalready aggregated counts, or contingency tables, and the tile\ngeometry and residuals are also returned as a data frame by\ncompute_mosaic_residuals().",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/sbutler22/geom_mosaic",
  "BugReports": "https://github.com/sbutler22/geom_mosaic/issues",
  "Config/roxygen2/version": "8.1.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-20 21:32:37 UTC",
    "User": "root"
  },
  "Author": "Sam Butler [aut, cre]",
  "Maintainer": "Sam Butler <swmbutler@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-11-20 13:00:08 UTC",
  "RemoteUrl": "https://github.com/cran/mosaicresid",
  "RemoteRef": "HEAD",
  "RemoteSha": "2072620d17688069ad2b772ca381c79fc9ca189d",
  "_user": "cran",
  "_type": "src",
  "_file": "mosaicresid_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/3ea65694f957f2a4a96709065a36fccd0b15fdba964fe7c7f99664dca5a1a355",
  "_filesize": 523353,
  "_sha256": "3ea65694f957f2a4a96709065a36fccd0b15fdba964fe7c7f99664dca5a1a355",
  "_expires": "2027-02-28T21:35:42.000Z",
  "_created": "2026-11-20T21:32:37.000Z",
  "_published": "2026-11-20T21:35:43.954Z",
  "_upstream": "https://github.com/cran/mosaicresid",
  "_status": "success",
  "_maintainer": {
    "name": "Sam Butler",
    "email": "swmbutler@gmail.com",
    "login": "sbutler22",
    "description": "Math Major at Pomona College",
    "uuid": 170558947
  },
  "_jobs": [
    {
      "job": 136582569310,
      "time": 139,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14671217621"
    },
    {
      "job": 136582569384,
      "time": 140,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14672610941"
    },
    {
      "job": 136580877074,
      "time": 195,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14672062112"
    },
    {
      "job": 136582569141,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14672526024"
    },
    {
      "job": 136582569418,
      "time": 73,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14671967519"
    },
    {
      "job": 136582569273,
      "time": 77,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14671837660"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/44820751324",
  "_commit": {
    "id": "2072620d17688069ad2b772ca381c79fc9ca189d",
    "author": "Sam Butler <swmbutler@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.1\n",
    "time": 1795179608
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "S7",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-47",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.1",
      "date": "2026-11-20"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "sbutler22",
      "count": 1,
      "uuid": 170558947
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 636,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mosaicresid"
  },
  "_devurl": "https://github.com/sbutler22/geom_mosaic",
  "_searchresults": 0,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/mosaicresid.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2026-11-20"
    }
  ],
  "_authors": [
    {
      "name": "Sam Butler",
      "email": "swmbutler@gmail.com",
      "role": [
        "aut",
        "cre"
      ]
    }
  ],
  "_exports": [
    "compute_mosaic_residuals",
    "geom_mosaic_resid",
    "scale_fill_mosaic_residual",
    "stat_mosaic_label",
    "stat_mosaic_residual",
    "StatMosaicLabel",
    "StatMosaicResidual",
    "to_long_counts"
  ],
  "_help": [
    {
      "page": "compute_mosaic_residuals",
      "title": "Compute mosaic tile geometry and independence residuals",
      "topics": [
        "compute_mosaic_residuals"
      ]
    },
    {
      "page": "fortify.table",
      "title": "Fortify a table object for ggplot2",
      "topics": [
        "fortify.table"
      ]
    },
    {
      "page": "geom_mosaic_resid",
      "title": "Residual-shaded mosaic plot",
      "topics": [
        "geom_mosaic_resid"
      ]
    },
    {
      "page": "ggplot_add.mosaicresid_layers",
      "title": "Add mosaicresid layers to a plot (ggplot2 < 4.0 entry point)",
      "topics": [
        "ggplot_add.mosaicresid_layers"
      ]
    },
    {
      "page": "scale_fill_mosaic_residual",
      "title": "Default diverging fill scale for mosaic residuals",
      "topics": [
        "scale_fill_mosaic_residual"
      ]
    },
    {
      "page": "stat_mosaic_label",
      "title": "Compute in-tile mosaic labels as a ggplot2 stat",
      "topics": [
        "stat_mosaic_label"
      ]
    },
    {
      "page": "stat_mosaic_residual",
      "title": "Compute mosaic tiles and independence residuals as a ggplot2 stat",
      "topics": [
        "stat_mosaic_residual"
      ]
    },
    {
      "page": "StatMosaicLabel",
      "title": "StatMosaicLabel",
      "topics": [
        "StatMosaicLabel"
      ]
    },
    {
      "page": "StatMosaicResidual",
      "title": "StatMosaicResidual",
      "topics": [
        "StatMosaicResidual"
      ]
    },
    {
      "page": "to_long_counts",
      "title": "Convert raw or pre-aggregated data into long-format counts",
      "topics": [
        "to_long_counts"
      ]
    }
  ],
  "_readme": "https://github.com/cran/mosaicresid/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting Started with mosaicresid",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Why this package exists",
        "Working with raw or pre-aggregated data",
        "Overriding the color scale",
        "Spacing, labels, and small cells",
        "Matching base R's dir and type options",
        "Inspecting the numbers directly",
        "What this package deliberately does not do"
      ],
      "created": "2026-11-20 13:00:08",
      "modified": "2026-11-20 13:00:08",
      "commits": 1
    },
    {
      "source": "comparison.Rmd",
      "filename": "comparison.html",
      "title": "mosaicresid vs base R mosaicplot() vs ggmosaic2",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Why this document exists",
        "Feature-by-feature comparison",
        "Is aes(x =, y =) vs product() a real differentiator?",
        "Defending the one deliberate gap: n-way support",
        "Everything else: closed",
        "Bottom line"
      ],
      "created": "2026-11-20 13:00:08",
      "modified": "2026-11-20 13:00:08",
      "commits": 1
    }
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "mosaicresid",
  "_universes": [
    "cran",
    "sbutler22"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-11-20T21:34:45.000Z",
      "distro": "resolute",
      "commit": "2072620d17688069ad2b772ca381c79fc9ca189d",
      "fileid": "https://r2.ropensci.org/d2de3385436d13e76a7635476361082b457b5fa5ebe28a2a74e39b98f6db89a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44820751324"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-11-20T21:34:41.000Z",
      "distro": "resolute",
      "commit": "2072620d17688069ad2b772ca381c79fc9ca189d",
      "fileid": "https://r2.ropensci.org/87fec5c39be12e3c2bc17ab7c8aa319522d34f68c2d523483a91916deabe459a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44820751324"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-11-20T21:34:48.000Z",
      "commit": "2072620d17688069ad2b772ca381c79fc9ca189d",
      "fileid": "https://r2.ropensci.org/9986f1896472f7870137d30af91e257e37851bf43e670a335702ccee9c6ded15",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44820751324"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-11-20T21:33:42.000Z",
      "commit": "2072620d17688069ad2b772ca381c79fc9ca189d",
      "fileid": "https://r2.ropensci.org/8f78a1ae72125925023031fdbc53d45c58292e01f7f2b527c389998d72d95c90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44820751324"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-11-20T21:33:47.000Z",
      "commit": "2072620d17688069ad2b772ca381c79fc9ca189d",
      "fileid": "https://r2.ropensci.org/7897b456ea0aa932555d06a4197d31bad7ff2fad0b58d664af7d4ac0fa2419a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44820751324"
    }
  ]
}