{
  "_id": "6a101529acfb0bcc41c83ee1",
  "Package": "maraca",
  "Version": "1.1.0",
  "Type": "Package",
  "Title": "The Maraca Plot: Visualizing Hierarchical Composite Endpoints",
  "License": "Apache License (>= 2)",
  "Authors@R": "c(\nperson(given = \"Martin\", family = \"Karpefors\",\nemail = \"martin.karpefors@astrazeneca.com\", role = \"aut\",\ncomment = c(ORCID = \"0000-0003-3136-9882\")),\nperson(given = \"Samvel B.\", family = \"Gasparyan\",\nemail = \"samvel.gasparyan@astrazeneca.com\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-4797-2208\")),\nperson(given = \"Stefano\", family = \"Borini\",\nemail = \"stefano.borini@astrazeneca.com\", role = c(\"ctb\")),\nperson(given = \"Kevin\", family = \"Anderson\",\nemail = \"kevin.anderson1@astrazeneca.com\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-9446-7386\")),\nperson(given = \"Monika\", family = \"Huhn\",\nemail = \"monika.huhn@astrazeneca.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0009-0000-7865-6008\")))",
  "Description": "Supports visual interpretation of hierarchical composite\nendpoints (HCEs). HCEs are complex constructs used as primary\nendpoints in clinical trials, combining outcomes of different\ntypes into ordinal endpoints, in which each patient contributes\nthe most clinically important event (one and only one) to the\nanalysis. See Karpefors M et al. (2022)\n<doi:10.1177/17407745221134949>.",
  "URL": "https://github.com/AstraZeneca/maraca",
  "BugReports": "https://github.com/AstraZeneca/maraca/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "NeedsCompilation": "no",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://astrazeneca.r-universe.dev",
  "Date/Publication": "2026-01-14 07:57:04 UTC",
  "RemoteUrl": "https://github.com/astrazeneca/maraca",
  "RemoteRef": "HEAD",
  "RemoteSha": "ddbc160727b955165b0ca8a39b080f105e121e79",
  "Packaged": {
    "Date": "2026-05-14 08:21:19 UTC",
    "User": "root"
  },
  "Author": "Martin Karpefors [aut] (ORCID: <https://orcid.org/0000-0003-3136-9882>),\nSamvel B. Gasparyan [aut] (ORCID:\n<https://orcid.org/0000-0002-4797-2208>),\nStefano Borini [ctb],\nKevin Anderson [aut] (ORCID: <https://orcid.org/0000-0002-9446-7386>),\nMonika Huhn [aut, cre] (ORCID: <https://orcid.org/0009-0000-7865-6008>)",
  "Maintainer": "Monika Huhn <monika.huhn@astrazeneca.com>",
  "MD5sum": "a44fc1926907544b6b5e32f698d377e2",
  "_user": "astrazeneca",
  "_type": "src",
  "_file": "maraca_1.1.0.tar.gz",
  "_fileid": "43b15182d171948c93cb01f7a95f916af2b580806036dc97845c05ebb8d9a2e0",
  "_filesize": 6219107,
  "_sha256": "43b15182d171948c93cb01f7a95f916af2b580806036dc97845c05ebb8d9a2e0",
  "_created": "2026-05-14T08:21:19.000Z",
  "_published": "2026-05-24T09:55:06.566Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77344636522,
      "time": 162,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6990258090"
    },
    {
      "job": 77344636550,
      "time": 156,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6990256721"
    },
    {
      "job": 77344636649,
      "time": 196,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7010983730"
    },
    {
      "job": 77344636494,
      "time": 135,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7011008380"
    },
    {
      "job": 77344635725,
      "time": 399,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6990215706"
    },
    {
      "job": 77344635935,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156264324"
    },
    {
      "job": 77344636947,
      "time": 113,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6990245859"
    },
    {
      "job": 77344637089,
      "time": 112,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6990245763"
    },
    {
      "job": 77344636986,
      "time": 118,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6990246805"
    }
  ],
  "_buildurl": "https://github.com/r-universe/astrazeneca/actions/runs/25849545682",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/astrazeneca/maraca",
  "_commit": {
    "id": "ddbc160727b955165b0ca8a39b080f105e121e79",
    "author": "Monika Huhn <Monika-H@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #98 from AstraZeneca/develop\n\nDevelop",
    "time": 1768377424
  },
  "_maintainer": {
    "name": "Monika Huhn",
    "email": "monika.huhn@astrazeneca.com",
    "login": "monika-h",
    "uuid": 7541575
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "hce",
      "version": ">= 0.8.5",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.2",
      "role": "Imports"
    },
    {
      "package": "checkmate",
      "version": ">= 2.1",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "version": ">= 1.39",
      "role": "Suggests"
    },
    {
      "package": "here",
      "version": ">= 1.0.1",
      "role": "Suggests"
    },
    {
      "package": "lintr",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "version": ">= 2.5.0",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.1",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "gganimate",
      "role": "Suggests"
    },
    {
      "package": "gifski",
      "role": "Suggests"
    }
  ],
  "_owner": "astrazeneca",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-24",
      "n": 1
    },
    {
      "week": "2025-31",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.0",
      "date": "2025-06-09"
    },
    {
      "name": "1.0.1",
      "date": "2025-07-28"
    },
    {
      "name": "1.1.0",
      "date": "2026-01-14"
    }
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "stefanoborini",
      "count": 247,
      "uuid": 132967
    },
    {
      "user": "monika-h",
      "count": 150,
      "uuid": 7541575
    },
    {
      "user": "karpefors",
      "count": 21,
      "uuid": 33787665
    },
    {
      "user": "samve",
      "count": 15,
      "uuid": 10420380
    }
  ],
  "_userbio": {
    "uuid": 16338928,
    "type": "organization",
    "name": "AstraZeneca",
    "description": "Data and AI: Unlocking new science insights"
  },
  "_downloads": {
    "count": 470,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/maraca"
  },
  "_devurl": "https://github.com/astrazeneca/maraca",
  "_searchresults": 21,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/maraca.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/astrazeneca/maraca",
  "_realowner": "astrazeneca",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.10",
      "date": "2022-10-05"
    },
    {
      "version": "0.4.0",
      "date": "2022-11-21"
    },
    {
      "version": "0.5.0",
      "date": "2023-05-08"
    },
    {
      "version": "0.5.1",
      "date": "2023-09-06"
    },
    {
      "version": "0.6",
      "date": "2023-10-24"
    },
    {
      "version": "0.7",
      "date": "2024-03-18"
    },
    {
      "version": "0.7.1",
      "date": "2025-01-13"
    },
    {
      "version": "1.0.0",
      "date": "2025-06-08"
    },
    {
      "version": "1.0.1",
      "date": "2025-08-01"
    },
    {
      "version": "1.1.0",
      "date": "2025-11-20"
    }
  ],
  "_exports": [
    "animate_plot",
    "component_plot",
    "cumulative_plot",
    "dustin",
    "dustin_plot",
    "maraca",
    "mosaic_plot",
    "plot_maraca",
    "validate_maraca_plot"
  ],
  "_datasets": [
    {
      "name": "hce_scenario_a",
      "title": "Example HCE scenario A.",
      "object": "hce_scenario_a",
      "class": [
        "data.frame"
      ],
      "fields": [
        "SUBJID",
        "GROUP",
        "GROUPN",
        "AVAL0",
        "AVAL",
        "TRTP"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "hce_scenario_b",
      "title": "Example HCE scenario B.",
      "object": "hce_scenario_b",
      "class": [
        "data.frame"
      ],
      "fields": [
        "SUBJID",
        "GROUP",
        "GROUPN",
        "AVAL0",
        "AVAL",
        "TRTP"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "hce_scenario_c",
      "title": "Example HCE scenario C.",
      "object": "hce_scenario_c",
      "class": [
        "data.frame"
      ],
      "fields": [
        "SUBJID",
        "GROUP",
        "GROUPN",
        "AVAL0",
        "AVAL",
        "TRTP"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "hce_scenario_d",
      "title": "Example HCE scenario D.",
      "object": "hce_scenario_d",
      "class": [
        "data.frame"
      ],
      "fields": [
        "SUBJID",
        "GROUP",
        "GROUPN",
        "AVAL0",
        "AVAL",
        "TRTP"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "hce_scenario_kccq3",
      "title": "Example HCE scenario KCCQ3.",
      "object": "hce_scenario_kccq3",
      "class": [
        "data.frame"
      ],
      "fields": [
        "SUBJID",
        "GROUP",
        "GROUPN",
        "AVAL0",
        "AVAL",
        "TRTP",
        "HFHT",
        "SEED"
      ],
      "rows": 5000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "animate_plot",
      "title": "Creates and returns an animated version of the standard maraca plot.",
      "topics": [
        "animate_plot",
        "animate_plot.adhce",
        "animate_plot.default",
        "animate_plot.maraca"
      ]
    },
    {
      "page": "component_plot",
      "title": "Plotting components of win odds",
      "topics": [
        "component_plot",
        "component_plot.adhce",
        "component_plot.default",
        "component_plot.maraca"
      ]
    },
    {
      "page": "cumulative_plot",
      "title": "Plotting the cumulated components of win odds",
      "topics": [
        "cumulative_plot",
        "cumulative_plot.adhce",
        "cumulative_plot.default",
        "cumulative_plot.maraca",
        "dustin",
        "dustin_plot"
      ]
    },
    {
      "page": "hce_scenario_a",
      "title": "Example HCE scenario A.",
      "topics": [
        "hce_scenario_a"
      ]
    },
    {
      "page": "hce_scenario_b",
      "title": "Example HCE scenario B.",
      "topics": [
        "hce_scenario_b"
      ]
    },
    {
      "page": "hce_scenario_c",
      "title": "Example HCE scenario C.",
      "topics": [
        "hce_scenario_c"
      ]
    },
    {
      "page": "hce_scenario_d",
      "title": "Example HCE scenario D.",
      "topics": [
        "hce_scenario_d"
      ]
    },
    {
      "page": "hce_scenario_kccq3",
      "title": "Example HCE scenario KCCQ3.",
      "topics": [
        "hce_scenario_kccq3"
      ]
    },
    {
      "page": "maraca",
      "title": "maraca package.",
      "topics": [
        "maraca-package",
        "maraca",
        "print.maraca"
      ]
    },
    {
      "page": "mosaic_plot",
      "title": "Mosaic plot",
      "topics": [
        "mosaic_plot",
        "mosaic_plot.adhce",
        "mosaic_plot.default",
        "mosaic_plot.maraca"
      ]
    },
    {
      "page": "plot_maraca",
      "title": "Creates and returns the plot of the maraca data.",
      "topics": [
        "plot_maraca"
      ]
    },
    {
      "page": "plot.adhce",
      "title": "Generic function to plot the adhce object using plot().",
      "topics": [
        "plot.adhce"
      ]
    },
    {
      "page": "plot.maraca",
      "title": "Generic function to plot the maraca object using plot().",
      "topics": [
        "plot.maraca"
      ]
    },
    {
      "page": "validate_maraca_plot",
      "title": "Generic function to generate validation data for the maraca plot object.",
      "topics": [
        "validate_maraca_plot"
      ]
    }
  ],
  "_readme": "https://github.com/astrazeneca/maraca/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "checkmate",
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "hce",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "patchwork",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "otherEndpoints.Rmd",
      "filename": "otherEndpoints.html",
      "title": "Maraca Plots - Alternative Endpoints",
      "author": "Monika Huhn",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Binary endpoints",
        "Last outcome",
        "Step outcome"
      ],
      "created": "2024-03-15 12:29:20",
      "modified": "2024-03-15 12:29:20",
      "commits": 1
    },
    {
      "source": "animation.Rmd",
      "filename": "animation.html",
      "title": "Maraca Plots - Animation",
      "author": "Kevin Anderson, Monika Huhn",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Usage",
        "Basic Static Maraca Plot",
        "Animate Basic Maraca Plot",
        "Animation plot options",
        "Controlling Animation Speed and Duration",
        "Sequential Animation of Each Group/Arm",
        "Size of animation output",
        "Example gif",
        "Animating Alternative Maraca Plots",
        "Saving the Animation"
      ],
      "created": "2026-01-14 07:57:04",
      "modified": "2026-01-14 07:57:04",
      "commits": 1
    },
    {
      "source": "maraca.Rmd",
      "filename": "maraca.html",
      "title": "Maraca Plots - Basic Usage",
      "author": "Martin Karpefors, Samvel B. Gasparyan, Stefano Borini",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Basic usage",
        "Plotting the resulting object",
        "References"
      ],
      "created": "2022-08-12 13:20:29",
      "modified": "2026-01-14 07:57:04",
      "commits": 14
    },
    {
      "source": "faq.Rmd",
      "filename": "faq.html",
      "title": "Maraca Plots - Frequently Asked Questions",
      "author": "Martin Karpefors, Stefano Borini, Monika Huhn",
      "engine": "knitr::rmarkdown",
      "headings": [
        "I get the warning \"Removed 1 rows containing missing values (geom_point).\" when plotting using density_plot_type scatter.",
        "I want to add other information to the plot rather than win odds.",
        "For my continuous outcome, lower values are better",
        "Outcome axis labels are overlapping",
        "I get the error \"outcome [XY] is not present in column\""
      ],
      "created": "2022-08-19 12:46:04",
      "modified": "2026-01-14 07:57:04",
      "commits": 6
    },
    {
      "source": "mosaic.Rmd",
      "filename": "mosaic.html",
      "title": "Maraca Plots - Introduction to the Mosaic plot",
      "author": "Monika Huhn",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Creating the mosaic plot",
        "Styling"
      ],
      "created": "2025-06-09 09:02:38",
      "modified": "2026-01-14 07:57:04",
      "commits": 2
    },
    {
      "source": "winOdds.Rmd",
      "filename": "winOdds.html",
      "title": "Maraca Plots - Plotting win odds",
      "author": "Monika Huhn",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Component plot",
        "Cumulative plot",
        "Styling"
      ],
      "created": "2023-11-08 14:23:42",
      "modified": "2026-01-14 07:57:04",
      "commits": 3
    },
    {
      "source": "themes.Rmd",
      "filename": "themes.html",
      "title": "Maraca Plots - Themes and Styling",
      "author": "Monika Huhn",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Default themes",
        "Extending themes"
      ],
      "created": "2023-11-08 14:23:42",
      "modified": "2024-03-15 12:29:20",
      "commits": 2
    },
    {
      "source": "validation.Rmd",
      "filename": "validation.html",
      "title": "Maraca Plots - Validation",
      "author": "Monika Huhn",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-11-08 14:23:42",
      "modified": "2025-04-29 10:21:56",
      "commits": 3
    }
  ],
  "_score": 6.355643050220869,
  "_indexed": true,
  "_nocasepkg": "maraca",
  "_universes": [
    "astrazeneca",
    "monika-h"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-14T08:23:40.000Z",
      "distro": "noble",
      "commit": "ddbc160727b955165b0ca8a39b080f105e121e79",
      "fileid": "b6facb345b5c980bb63034dc0d6633fe0d64ce1e3a7c853708daf3fe6951fd1a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/astrazeneca/actions/runs/25849545682"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-14T08:23:38.000Z",
      "distro": "noble",
      "commit": "ddbc160727b955165b0ca8a39b080f105e121e79",
      "fileid": "88160d03d28449d56f83d447b0df9d14d6775a908b8b1e66032d0c6498ded240",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/astrazeneca/actions/runs/25849545682"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-15T05:53:42.000Z",
      "commit": "ddbc160727b955165b0ca8a39b080f105e121e79",
      "fileid": "dbe6cd497093cc3ededfc79c0af676b263bdead68a2dd6626ac5a54c592fd549",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/astrazeneca/actions/runs/25849545682"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-15T05:55:54.000Z",
      "commit": "ddbc160727b955165b0ca8a39b080f105e121e79",
      "fileid": "b0441bbe2586246a095ef155d4cf9c6be4dcfe3495ad2c0b1d38be94ab571fb9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/astrazeneca/actions/runs/25849545682"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-14T08:22:46.000Z",
      "commit": "ddbc160727b955165b0ca8a39b080f105e121e79",
      "fileid": "5b37431fe65e7304c85a020a383d4d81cadeb13c0fbf929cc484932a4ef96da4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/astrazeneca/actions/runs/25849545682"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-14T08:22:46.000Z",
      "commit": "ddbc160727b955165b0ca8a39b080f105e121e79",
      "fileid": "df1bdb2e7af33b81821bd81388ef71182853b1d04a49e294098ecb1bae55292e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/astrazeneca/actions/runs/25849545682"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-14T08:22:50.000Z",
      "commit": "ddbc160727b955165b0ca8a39b080f105e121e79",
      "fileid": "05c4ea6cfbaa2320982e77fe98226109cb33b2dd6550d7b1c6d31e9503fefb03",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/astrazeneca/actions/runs/25849545682"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-05-22T08:34:33.000Z",
      "commit": "ddbc160727b955165b0ca8a39b080f105e121e79",
      "fileid": "210399984b231c71475d748fa795e4c706c04433713b4d99bcacc410becdebfc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/astrazeneca/actions/runs/25849545682"
    }
  ]
}