{
  "_id": "6ab8f3bc99f7aa8c6aa38dc4",
  "Package": "gghdx",
  "Title": "HDX Theme, Scales, and Other Conveniences for 'ggplot2'",
  "Version": "0.2.0",
  "Authors@R": "c(\nperson(\ngiven = \"Giulia\",\nfamily = \"Martini\",\nemail = \"giulia.martini@un.org\",\nrole = c(\"aut\", \"cre\")\n),\nperson(\ngiven = \"Seth\",\nfamily = \"Caldwell\",\nemail = \"caldwellst@gmail.com\",\nrole = c(\"aut\", \"cph\")\n)\n)",
  "Description": "A Humanitarian Data Exchange (HDX) theme, color palettes,\nand scales for 'ggplot2' to allow users to easily follow the\nHDX visual design guide, including convenience functions for\nfor loading and using the Roboto and Merriweather fonts.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/OCHA-DAP/gghdx",
  "BugReports": "https://github.com/OCHA-DAP/gghdx/issues",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libfreetype6-dev libicu-dev libpng-dev zlib1g-dev",
  "Repository": "https://ocha-dap.r-universe.dev",
  "Date/Publication": "2026-07-29 14:38:35 UTC",
  "RemoteUrl": "https://github.com/ocha-dap/gghdx",
  "RemoteRef": "HEAD",
  "RemoteSha": "a247ba3b5b10739bfa7055f21365b0fe286b4d5a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-27 10:41:10 UTC",
    "User": "root"
  },
  "Author": "Giulia Martini [aut, cre],\nSeth Caldwell [aut, cph]",
  "Maintainer": "Giulia Martini <giulia.martini@un.org>",
  "_user": "ocha-dap",
  "_type": "src",
  "_file": "gghdx_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/66b656548192f167152846a91ea4c4d9eab673b1cbccb4ec1efa04aeaef45a22",
  "_filesize": 1395613,
  "_sha256": "66b656548192f167152846a91ea4c4d9eab673b1cbccb4ec1efa04aeaef45a22",
  "_expires": "2027-01-05T10:45:13.000Z",
  "_created": "2026-09-27T10:41:10.000Z",
  "_published": "2026-09-27T10:45:16.100Z",
  "_jobs": [
    {
      "job": 108603338422,
      "time": 184,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10929826755"
    },
    {
      "job": 108603338421,
      "time": 188,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10930056112"
    },
    {
      "job": 108603338413,
      "time": 142,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10929995522"
    },
    {
      "job": 108603338405,
      "time": 115,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10929569379"
    },
    {
      "job": 108602815997,
      "time": 211,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10929916209"
    },
    {
      "job": 108603338438,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10929791916"
    },
    {
      "job": 108603338540,
      "time": 133,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10929024356"
    },
    {
      "job": 108603338590,
      "time": 131,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10929811818"
    },
    {
      "job": 108603338449,
      "time": 193,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10929328924"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ocha-dap/actions/runs/36313138525",
  "_status": "success",
  "_upstream": "https://github.com/ocha-dap/gghdx",
  "_commit": {
    "id": "a247ba3b5b10739bfa7055f21365b0fe286b4d5a",
    "author": "Giuli <martini.giulia94@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Silence spelling and slow-example NOTEs from CRAN pretest (#40)\n\n* Make tests, examples, and vignette resilient to no internet/curl\n\nR CMD check failed with 9 test errors, an examples error, and a vignette\nbuild error, all because load_hdx_fonts()/load_source_sans_3() call\nsysfonts::font_add_google() to fetch Merriweather/Roboto/Source Sans 3.\nCRAN's check machines (and this box's earlier run) can't be guaranteed to\nhave internet access or the curl package, which sysfonts only Suggests\nrather than requires.\n\nTests now skip via a new skip_if_font_unavailable() helper instead of\nfailing when a font can't be downloaded or found locally. Examples wrap\nthe same calls in try() so they no longer halt the whole Rd script.\nThe vignette falls back to the sans font in its three font-loading\nchunks. curl is added to Suggests since the package relies on it\ntransitively through sysfonts.\n\nCo-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>\n\n* Silence spelling false-positive and slow-example NOTEs from CRAN pretest\n\nWin-builder/Debian pretest for 0.2.0 flagged two fixable NOTEs alongside\nthe expected maintainer-change one:\n- \"Merriweather\"/\"Roboto\" flagged as possibly misspelled in DESCRIPTION.\n- geom_text_family's example ran 5.8s-10.7s (over the ~5s guideline)\n  because it downloads fonts from Google Fonts live; gghdx()'s own\n  example was borderline slow for the same reason.\n\nAdd both font names to inst/WORDLIST, and wrap the font-downloading\nparts of the geom_text_hdx()/geom_label_hdx() and gghdx() examples in\n\\donttest{}, per CRAN's own guidance for examples that are slow but\nlegitimately need to run. Verified with devtools::check(remote = TRUE,\nincoming = TRUE), which is the only way to reproduce these NOTEs\nlocally (they're gated by _R_CHECK_CRAN_INCOMING_, off by default):\ndown to 3 NOTEs, only the unavoidable maintainer-change note plus two\nlocal-machine-only notes (covr not installed, clock-check unreachable).\n\nCo-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>\n",
    "time": 1785335915
  },
  "_maintainer": {
    "name": "Giulia Martini",
    "email": "giulia.martini@un.org",
    "login": "martinig94",
    "description": "Data Scientist | Researcher | Tech & Basketball Enthusiast ",
    "uuid": 42001852
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggthemes",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "showtext",
      "role": "Imports"
    },
    {
      "package": "sysfonts",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "curl",
      "role": "Suggests"
    },
    {
      "package": "here",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "ocha-dap",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-31",
      "n": 3
    }
  ],
  "_tags": [],
  "_stars": 6,
  "_contributors": [
    {
      "user": "caldwellst",
      "count": 39,
      "uuid": 8086547
    },
    {
      "user": "martinig94",
      "count": 3,
      "uuid": 42001852
    },
    {
      "user": "teunbrand",
      "count": 1,
      "uuid": 49372158
    }
  ],
  "_userbio": {
    "uuid": 5087346,
    "type": "organization",
    "name": "UN-OCHA Humanitarian Data Exchange Project",
    "followers": 271
  },
  "_downloads": {
    "count": 329,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gghdx"
  },
  "_devurl": "https://github.com/ocha-dap/gghdx",
  "_searchresults": 106,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gghdx.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/ocha-dap/gghdx",
  "_realowner": "ocha-dap",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2023-08-18"
    },
    {
      "version": "0.1.2",
      "date": "2024-01-22"
    },
    {
      "version": "0.1.3",
      "date": "2024-05-14"
    },
    {
      "version": "0.1.4",
      "date": "2024-09-23"
    },
    {
      "version": "0.2.0",
      "date": "2026-07-30"
    }
  ],
  "_exports": [
    "%>%",
    "format_number_hdx",
    "geom_label_hdx",
    "geom_text_hdx",
    "gghdx",
    "gghdx_reset",
    "ggplot2_geom_defaults",
    "hdx_color_names",
    "hdx_colors",
    "hdx_colour_names",
    "hdx_colours",
    "hdx_display_pal",
    "hdx_geom_defaults",
    "hdx_hex",
    "hdx_pal_brand",
    "hdx_pal_discrete",
    "hdx_pal_error",
    "hdx_pal_gray",
    "hdx_pal_mint",
    "hdx_pal_primary",
    "hdx_pal_sapphire",
    "hdx_pal_tomato",
    "label_number_hdx",
    "load_hdx_fonts",
    "load_source_sans_3",
    "scale_color_gradient_hdx",
    "scale_color_gradient_hdx_brand",
    "scale_color_gradient_hdx_error",
    "scale_color_gradient_hdx_mint",
    "scale_color_gradient_hdx_primary",
    "scale_color_gradient_hdx_sapphire",
    "scale_color_gradient_hdx_tomato",
    "scale_color_gradient2_hdx",
    "scale_color_hdx_brand",
    "scale_color_hdx_discrete",
    "scale_color_hdx_error",
    "scale_color_hdx_gray",
    "scale_color_hdx_grey",
    "scale_color_hdx_mint",
    "scale_color_hdx_primary",
    "scale_color_hdx_sapphire",
    "scale_color_hdx_tomato",
    "scale_colour_gradient_hdx",
    "scale_colour_gradient_hdx_brand",
    "scale_colour_gradient_hdx_error",
    "scale_colour_gradient_hdx_mint",
    "scale_colour_gradient_hdx_primary",
    "scale_colour_gradient_hdx_sapphire",
    "scale_colour_gradient_hdx_tomato",
    "scale_colour_gradient2_hdx",
    "scale_colour_hdx_brand",
    "scale_colour_hdx_discrete",
    "scale_colour_hdx_error",
    "scale_colour_hdx_gray",
    "scale_colour_hdx_grey",
    "scale_colour_hdx_mint",
    "scale_colour_hdx_primary",
    "scale_colour_hdx_sapphire",
    "scale_colour_hdx_tomato",
    "scale_fill_gradient_hdx",
    "scale_fill_gradient_hdx_brand",
    "scale_fill_gradient_hdx_error",
    "scale_fill_gradient_hdx_mint",
    "scale_fill_gradient_hdx_primary",
    "scale_fill_gradient_hdx_sapphire",
    "scale_fill_gradient_hdx_tomato",
    "scale_fill_gradient2_hdx",
    "scale_fill_hdx_brand",
    "scale_fill_hdx_discrete",
    "scale_fill_hdx_error",
    "scale_fill_hdx_gray",
    "scale_fill_hdx_grey",
    "scale_fill_hdx_mint",
    "scale_fill_hdx_primary",
    "scale_fill_hdx_sapphire",
    "scale_fill_hdx_tomato",
    "scale_y_continuous_hdx",
    "scale_y_log10_hdx",
    "scale_y_reverse_hdx",
    "scale_y_sqrt_hdx",
    "theme_hdx"
  ],
  "_datasets": [
    {
      "name": "df_covid",
      "title": "Example COVID-19 dataset",
      "object": "df_covid",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date",
        "cases_monthly",
        "flag"
      ],
      "rows": 27,
      "table": true,
      "tojson": true
    },
    {
      "name": "hdx_color_list",
      "title": "HDX color ramps",
      "object": "hdx_color_list",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "df_covid",
      "title": "Example COVID-19 dataset",
      "topics": [
        "df_covid"
      ]
    },
    {
      "page": "geom_text_family",
      "title": "Text",
      "topics": [
        "geom_label_hdx",
        "geom_text_hdx"
      ]
    },
    {
      "page": "gghdx",
      "title": "Set HDX theme and aesthetics",
      "topics": [
        "gghdx",
        "gghdx_reset"
      ]
    },
    {
      "page": "ggplot2_geom_defaults",
      "title": "Default ggplot2 geometry aesthetics",
      "topics": [
        "ggplot2_geom_defaults"
      ]
    },
    {
      "page": "hdx_color_list",
      "title": "HDX color ramps",
      "concept": [
        "color hdx"
      ],
      "topics": [
        "hdx_color_list"
      ]
    },
    {
      "page": "hdx_color",
      "title": "Hex values for HDX colors",
      "concept": [
        "color hdx"
      ],
      "topics": [
        "hdx_colors",
        "hdx_color_names",
        "hdx_colours",
        "hdx_colour_names",
        "hdx_hex"
      ]
    },
    {
      "page": "hdx_display_pal",
      "title": "Display HDX palette",
      "topics": [
        "hdx_display_pal"
      ]
    },
    {
      "page": "hdx_geom_defaults",
      "title": "Default HDX geometry aesthetics",
      "topics": [
        "hdx_geom_defaults"
      ]
    },
    {
      "page": "pal_general",
      "title": "HDX color palette (discrete)",
      "concept": [
        "color hdx"
      ],
      "topics": [
        "hdx_pal_brand",
        "hdx_pal_discrete",
        "hdx_pal_error",
        "hdx_pal_gray",
        "hdx_pal_mint",
        "hdx_pal_primary",
        "hdx_pal_sapphire",
        "hdx_pal_tomato"
      ]
    },
    {
      "page": "number_hdx",
      "title": "Format and labels numbers in HDX key figures style",
      "topics": [
        "format_number_hdx",
        "label_number_hdx"
      ]
    },
    {
      "page": "load_hdx_fonts",
      "title": "Load and use the HDX 2025 redesign fonts",
      "topics": [
        "load_hdx_fonts"
      ]
    },
    {
      "page": "load_source_sans_3",
      "title": "Load and use Source Sans 3",
      "topics": [
        "load_source_sans_3"
      ]
    },
    {
      "page": "scale_hdx",
      "title": "HDX color scales",
      "topics": [
        "scale_color_gradient2_hdx",
        "scale_color_gradient_hdx",
        "scale_color_gradient_hdx_brand",
        "scale_color_gradient_hdx_error",
        "scale_color_gradient_hdx_mint",
        "scale_color_gradient_hdx_primary",
        "scale_color_gradient_hdx_sapphire",
        "scale_color_gradient_hdx_tomato",
        "scale_color_hdx_brand",
        "scale_color_hdx_discrete",
        "scale_color_hdx_error",
        "scale_color_hdx_gray",
        "scale_color_hdx_grey",
        "scale_color_hdx_mint",
        "scale_color_hdx_primary",
        "scale_color_hdx_sapphire",
        "scale_color_hdx_tomato",
        "scale_colour_gradient2_hdx",
        "scale_colour_gradient_hdx",
        "scale_colour_gradient_hdx_brand",
        "scale_colour_gradient_hdx_error",
        "scale_colour_gradient_hdx_mint",
        "scale_colour_gradient_hdx_primary",
        "scale_colour_gradient_hdx_sapphire",
        "scale_colour_gradient_hdx_tomato",
        "scale_colour_hdx_brand",
        "scale_colour_hdx_discrete",
        "scale_colour_hdx_error",
        "scale_colour_hdx_gray",
        "scale_colour_hdx_grey",
        "scale_colour_hdx_mint",
        "scale_colour_hdx_primary",
        "scale_colour_hdx_sapphire",
        "scale_colour_hdx_tomato",
        "scale_fill_gradient2_hdx",
        "scale_fill_gradient_hdx",
        "scale_fill_gradient_hdx_brand",
        "scale_fill_gradient_hdx_error",
        "scale_fill_gradient_hdx_mint",
        "scale_fill_gradient_hdx_primary",
        "scale_fill_gradient_hdx_sapphire",
        "scale_fill_gradient_hdx_tomato",
        "scale_fill_hdx_brand",
        "scale_fill_hdx_discrete",
        "scale_fill_hdx_error",
        "scale_fill_hdx_gray",
        "scale_fill_hdx_grey",
        "scale_fill_hdx_mint",
        "scale_fill_hdx_primary",
        "scale_fill_hdx_sapphire",
        "scale_fill_hdx_tomato"
      ]
    },
    {
      "page": "scale_y_hdx",
      "title": "Position scales for continuous y data",
      "topics": [
        "scale_y_continuous_hdx",
        "scale_y_log10_hdx",
        "scale_y_reverse_hdx",
        "scale_y_sqrt_hdx"
      ]
    },
    {
      "page": "theme_hdx",
      "title": "ggplot color theme based on HDX visual design guide",
      "topics": [
        "theme_hdx"
      ]
    }
  ],
  "_pkglogo": "https://github.com/ocha-dap/gghdx/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/ocha-dap/gghdx/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "ggthemes",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "showtext",
    "showtextdb",
    "stringi",
    "stringr",
    "sysfonts",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "gghdx.Rmd",
      "filename": "gghdx.html",
      "title": "gghdx",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Using the package",
        "Theme",
        "Color palettes",
        "Adding fonts",
        "Streamlined plotting",
        "COVID plots"
      ],
      "created": "2022-07-20 13:05:56",
      "modified": "2026-07-29 09:52:16",
      "commits": 11
    }
  ],
  "_score": 5.803457115648413,
  "_indexed": true,
  "_nocasepkg": "gghdx",
  "_universes": [
    "ocha-dap",
    "martinig94"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-09-27T10:43:38.000Z",
      "distro": "resolute",
      "commit": "a247ba3b5b10739bfa7055f21365b0fe286b4d5a",
      "fileid": "https://r2.ropensci.org/fd456b64711d6e0683dc5ff3cc45661a1e6dfec4a16067a0ebfbab1445f34a8b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ocha-dap/actions/runs/36313138525"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-09-27T10:43:35.000Z",
      "distro": "resolute",
      "commit": "a247ba3b5b10739bfa7055f21365b0fe286b4d5a",
      "fileid": "https://r2.ropensci.org/774a9fa398fc0beeed665d0bae99fcff1e3c4ec5f1d577e30e461b7b597097d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ocha-dap/actions/runs/36313138525"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-09-27T10:42:52.000Z",
      "commit": "a247ba3b5b10739bfa7055f21365b0fe286b4d5a",
      "fileid": "https://r2.ropensci.org/8089f5d79ceee29f9bad6af1098d742f5eba0772a2c5dbfee6877bb10e126ca4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ocha-dap/actions/runs/36313138525"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-09-27T10:42:37.000Z",
      "commit": "a247ba3b5b10739bfa7055f21365b0fe286b4d5a",
      "fileid": "https://r2.ropensci.org/419a5d80a6d95e3e79fb50ef88c359796ea1cdc81e5684b7e0c9eb16ca73f8a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ocha-dap/actions/runs/36313138525"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-09-27T10:43:29.000Z",
      "commit": "a247ba3b5b10739bfa7055f21365b0fe286b4d5a",
      "fileid": "https://r2.ropensci.org/4d3132747dda8c8b76aedd8d13fc94fbf26c15baf056e22308e423b8fb7c20bb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ocha-dap/actions/runs/36313138525"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-27T10:42:21.000Z",
      "commit": "a247ba3b5b10739bfa7055f21365b0fe286b4d5a",
      "fileid": "https://r2.ropensci.org/f4c502fba904fabf9e9320a28a4fec0ac8be0eb64b283a5f93443088d33f9604",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ocha-dap/actions/runs/36313138525"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-27T10:42:21.000Z",
      "commit": "a247ba3b5b10739bfa7055f21365b0fe286b4d5a",
      "fileid": "https://r2.ropensci.org/d5b7f006f89e5cf9ca7dc65192b97cfc8185116e06bc5ac02a7f75488efaadf9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ocha-dap/actions/runs/36313138525"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-27T10:43:27.000Z",
      "commit": "a247ba3b5b10739bfa7055f21365b0fe286b4d5a",
      "fileid": "https://r2.ropensci.org/824c85e2e482566ae96e6fadaac4f8018eb56e13030dcdfd9fe9626757d9be0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ocha-dap/actions/runs/36313138525"
    }
  ]
}