{
  "_id": "6a102776acfb0bcc41c9021a",
  "Package": "palettes",
  "Title": "Methods for Colour Vectors and Colour Palettes",
  "Version": "0.2.2.9000",
  "Authors@R": "person(given = \"Michael\",\nfamily = \"McCarthy\",\nrole = c(\"aut\", \"cre\", \"cph\"),\nemail = \"m.mccarthy1624@gmail.com\")",
  "Description": "Provides a comprehensive library for colour vectors and\ncolour palettes using a new family of colour classes\n(palettes_colour and palettes_palette) that always print as hex\ncodes with colour previews. Capabilities include: formatting,\ncasting and coercion, extraction and updating of components,\nplotting, colour mixing arithmetic, and colour interpolation.",
  "License": "MIT + file LICENSE",
  "URL": "https://mccarthy-m-g.github.io/palettes/,\nhttps://github.com/mccarthy-m-g/palettes",
  "BugReports": "https://github.com/mccarthy-m-g/palettes/issues",
  "VignetteBuilder": "knitr",
  "Config/Needs/website": "asciicast (>= 2.2.1), fontawesome",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Repository": "https://mccarthy-m-g.r-universe.dev",
  "Date/Publication": "2025-07-01 05:43:22 UTC",
  "RemoteUrl": "https://github.com/mccarthy-m-g/palettes",
  "RemoteRef": "HEAD",
  "RemoteSha": "b934dc7c650885ee7e4bf866a929cf081a96143e",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-13 08:35:08 UTC",
    "User": "root"
  },
  "Author": "Michael McCarthy [aut, cre, cph]",
  "Maintainer": "Michael McCarthy <m.mccarthy1624@gmail.com>",
  "MD5sum": "96914b1c2ea1008f7744fb7b243a27ea",
  "_user": "mccarthy-m-g",
  "_type": "src",
  "_file": "palettes_0.2.2.9000.tar.gz",
  "_fileid": "26e5d8d8cb4e58760c21e26a5971274252c4cce1564015c29d60470049513d5b",
  "_filesize": 994886,
  "_sha256": "26e5d8d8cb4e58760c21e26a5971274252c4cce1564015c29d60470049513d5b",
  "_created": "2026-05-13T08:35:08.000Z",
  "_published": "2026-05-22T09:52:54.094Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77356401644,
      "time": 237,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6965383472"
    },
    {
      "job": 77356401488,
      "time": 167,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965361615"
    },
    {
      "job": 77356401910,
      "time": 200,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6965360721"
    },
    {
      "job": 77356401517,
      "time": 208,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965359412"
    },
    {
      "job": 77356401084,
      "time": 190,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965303264"
    },
    {
      "job": 77356401035,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157709476"
    },
    {
      "job": 77356401650,
      "time": 103,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6965341275"
    },
    {
      "job": 77356402121,
      "time": 113,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6965342301"
    },
    {
      "job": 77356401617,
      "time": 105,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965339246"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mccarthy-m-g/actions/runs/25787771554",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mccarthy-m-g/palettes",
  "_commit": {
    "id": "b934dc7c650885ee7e4bf866a929cf081a96143e",
    "author": "Michael McCarthy <51542091+mccarthy-m-g@users.noreply.github.com>",
    "committer": "Michael McCarthy <51542091+mccarthy-m-g@users.noreply.github.com>",
    "message": "Increment version number to 0.2.2.9000\n",
    "time": 1751348602
  },
  "_maintainer": {
    "name": "Michael McCarthy",
    "email": "m.mccarthy1624@gmail.com",
    "login": "mccarthy-m-g",
    "mastodon": "@mccarthymg@fosstodon.org",
    "linkedin": "in/mccarthymg",
    "uuid": 51542091
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "vctrs",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "pillar",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "prismatic",
      "role": "Imports"
    },
    {
      "package": "farver",
      "version": ">= 2.0.3",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.5.0",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "version": ">= 1.22",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "version": ">= 2.20",
      "role": "Suggests"
    },
    {
      "package": "colorspace",
      "role": "Suggests"
    },
    {
      "package": "gt",
      "version": ">= 0.9.0",
      "role": "Suggests"
    },
    {
      "package": "biscale",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "MetBrewer",
      "role": "Suggests"
    },
    {
      "package": "nord",
      "role": "Suggests"
    },
    {
      "package": "PNWColors",
      "role": "Suggests"
    },
    {
      "package": "viridisLite",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "grDevices",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "mccarthy-m-g",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2025-27",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v0.2.2",
      "date": "2025-07-01"
    }
  ],
  "_topics": [
    "color-palette",
    "colors",
    "colour-palette",
    "colours",
    "ggplot2",
    "gt",
    "palettes",
    "vctrs"
  ],
  "_stars": 31,
  "_contributors": [
    {
      "user": "mccarthy-m-g",
      "count": 232,
      "uuid": 51542091
    },
    {
      "user": "teunbrand",
      "count": 2,
      "uuid": 49372158
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 51542091,
    "type": "user",
    "name": "Michael McCarthy",
    "description": "Data Scientist solving problems you care about"
  },
  "_downloads": {
    "count": 561,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/palettes"
  },
  "_devurl": "https://github.com/mccarthy-m-g/palettes",
  "_pkgdown": "https://mccarthy-m-g.github.io/palettes/",
  "_searchresults": 47,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/palettes.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mccarthy-m-g/palettes",
  "_realowner": "mccarthy-m-g",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-12-19"
    },
    {
      "version": "0.1.1",
      "date": "2023-01-14"
    },
    {
      "version": "0.2.0",
      "date": "2024-02-05"
    },
    {
      "version": "0.2.1",
      "date": "2024-07-13"
    },
    {
      "version": "0.2.2",
      "date": "2025-07-01"
    }
  ],
  "_exports": [
    "as_color",
    "as_colour",
    "as_palette",
    "as_tibble",
    "is_color",
    "is_colour",
    "is_palette",
    "list_color_symbols",
    "list_colour_symbols",
    "pal_bin",
    "pal_color",
    "pal_colour",
    "pal_factor",
    "pal_numeric",
    "pal_palette",
    "pal_quantile",
    "pal_ramp",
    "scale_color_palette_b",
    "scale_color_palette_c",
    "scale_color_palette_d",
    "scale_colour_palette_b",
    "scale_colour_palette_c",
    "scale_colour_palette_d",
    "scale_fill_palette_b",
    "scale_fill_palette_c",
    "scale_fill_palette_d"
  ],
  "_datasets": [
    {
      "name": "discrete_palettes",
      "title": "Cartography palettes",
      "object": "discrete_palettes",
      "class": [
        "palettes_palette",
        "vctrs_list_of",
        "vctrs_vctr",
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": false
    },
    {
      "name": "diverging_palettes",
      "title": "Cartography palettes",
      "object": "diverging_palettes",
      "class": [
        "palettes_palette",
        "vctrs_list_of",
        "vctrs_vctr",
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": false
    },
    {
      "name": "met_palettes",
      "title": "Metropolitan Museum of Art palettes",
      "object": "met_palettes",
      "class": [
        "palettes_palette",
        "vctrs_list_of",
        "vctrs_vctr",
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "met_palettes_a11y",
      "title": "Metropolitan Museum of Art palettes",
      "object": "met_palettes_a11y",
      "class": [
        "palettes_palette",
        "vctrs_list_of",
        "vctrs_vctr",
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "nord_palettes",
      "title": "Nord palettes",
      "object": "nord_palettes",
      "class": [
        "palettes_palette",
        "vctrs_list_of",
        "vctrs_vctr",
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "penguin_palettes",
      "title": "Palmer penguins palettes",
      "object": "penguin_palettes",
      "class": [
        "palettes_palette",
        "vctrs_list_of",
        "vctrs_vctr",
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": false
    },
    {
      "name": "performance_palettes",
      "title": "Performance palettes",
      "object": "performance_palettes",
      "class": [
        "palettes_palette",
        "vctrs_list_of",
        "vctrs_vctr",
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": false
    },
    {
      "name": "pnw_palettes",
      "title": "Pacific Northwest palettes",
      "object": "pnw_palettes",
      "class": [
        "palettes_palette",
        "vctrs_list_of",
        "vctrs_vctr",
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "sequential_palettes",
      "title": "Cartography palettes",
      "object": "sequential_palettes",
      "class": [
        "palettes_palette",
        "vctrs_list_of",
        "vctrs_vctr",
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": false
    },
    {
      "name": "viridis_palettes",
      "title": "Viridis palettes",
      "object": "viridis_palettes",
      "class": [
        "palettes_palette",
        "vctrs_list_of",
        "vctrs_vctr",
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "as_tibble.palettes_colour",
      "title": "Cast colour vectors and colour palettes to tibbles",
      "topics": [
        "as_tibble.palettes_colour",
        "as_tibble.palettes_palette"
      ]
    },
    {
      "page": "carto_palettes",
      "title": "Cartography palettes",
      "topics": [
        "carto_palettes",
        "discrete_palettes",
        "discrete_palettes,",
        "diverging_palettes",
        "sequential_palettes",
        "sequential_palettes,"
      ]
    },
    {
      "page": "colour-mixing-arithmetic",
      "title": "Mix colour vectors with arithmetic operators",
      "topics": [
        "+.palettes_colour",
        "color-mixing-arithmetic",
        "colour-mixing-arithmetic"
      ]
    },
    {
      "page": "colour-mixing-math",
      "title": "Mix colour vectors with math functions",
      "topics": [
        "color-mixing-math",
        "colour-mixing-math",
        "cumsum.palettes_colour",
        "sum.palettes_colour"
      ]
    },
    {
      "page": "list_colour_symbols",
      "title": "Symbols to use in colour previews",
      "topics": [
        "list_color_symbols",
        "list_colour_symbols"
      ]
    },
    {
      "page": "met_palettes",
      "title": "Metropolitan Museum of Art palettes",
      "topics": [
        "met_palettes",
        "met_palettes_a11y"
      ]
    },
    {
      "page": "nord_palettes",
      "title": "Nord palettes",
      "topics": [
        "nord_palettes"
      ]
    },
    {
      "page": "pal_colour",
      "title": "Colour vectors",
      "topics": [
        "as_color",
        "as_colour",
        "as_colour.default",
        "as_colour.palettes_palette",
        "is_color",
        "is_colour",
        "pal_color",
        "pal_colour"
      ]
    },
    {
      "page": "pal_numeric",
      "title": "Colour vector and colour palette mapping",
      "topics": [
        "pal_bin",
        "pal_factor",
        "pal_numeric",
        "pal_quantile"
      ]
    },
    {
      "page": "pal_palette",
      "title": "Colour palettes",
      "topics": [
        "as_palette",
        "is_palette",
        "pal_palette"
      ]
    },
    {
      "page": "pal_ramp",
      "title": "Colour vector and colour palette interpolation",
      "topics": [
        "pal_ramp",
        "pal_ramp.palettes_colour",
        "pal_ramp.palettes_palette"
      ]
    },
    {
      "page": "palettes-options",
      "title": "Package options",
      "topics": [
        "palettes-options"
      ]
    },
    {
      "page": "penguin_palettes",
      "title": "Palmer penguins palettes",
      "topics": [
        "penguin_palettes"
      ]
    },
    {
      "page": "performance_palettes",
      "title": "Performance palettes",
      "topics": [
        "performance_palettes"
      ]
    },
    {
      "page": "plot.palettes_colour",
      "title": "Plot colour vectors and colour palettes",
      "topics": [
        "plot.palettes_colour",
        "plot.palettes_palette"
      ]
    },
    {
      "page": "pnw_palettes",
      "title": "Pacific Northwest palettes",
      "topics": [
        "pnw_palettes"
      ]
    },
    {
      "page": "scale_colour_palette_d",
      "title": "Colour scales from colour vectors and colour palettes",
      "topics": [
        "scale_color_palette_b",
        "scale_color_palette_c",
        "scale_color_palette_d",
        "scale_colour_palette_b",
        "scale_colour_palette_c",
        "scale_colour_palette_d",
        "scale_fill_palette_b",
        "scale_fill_palette_c",
        "scale_fill_palette_d"
      ]
    },
    {
      "page": "viridis_palettes",
      "title": "Viridis palettes",
      "topics": [
        "viridis_palettes"
      ]
    }
  ],
  "_pkglogo": "https://github.com/mccarthy-m-g/palettes/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/mccarthy-m-g/palettes/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "prismatic",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "tibble",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "compatibility.Rmd",
      "filename": "compatibility.html",
      "title": "Compatibility with other colour packages",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "colorspace",
        "farver",
        "grDevices"
      ],
      "created": "2022-12-01 20:25:48",
      "modified": "2022-12-01 21:18:41",
      "commits": 2
    },
    {
      "source": "creating-packages.Rmd",
      "filename": "creating-packages.html",
      "title": "Creating a colour palette package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Set up advice",
        "Attach devtools",
        "Example package: sunsets",
        "Creating the package",
        "Adding package metadata",
        "Choosing a license",
        "Creating colour palettes",
        "Attaching the palettes package",
        "Documenting colour palettes",
        "Adding README.md and NEWS.md",
        "Package maintenance",
        "Distributing your package"
      ],
      "created": "2022-12-06 21:08:04",
      "modified": "2023-01-12 23:21:30",
      "commits": 6
    },
    {
      "source": "palettes.Rmd",
      "filename": "palettes.html",
      "title": "palettes",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Creating",
        "Casting and coercion",
        "Subsetting",
        "Plotting",
        "Printing"
      ],
      "created": "2022-12-01 18:53:37",
      "modified": "2024-02-03 02:02:27",
      "commits": 6
    },
    {
      "source": "biscale.Rmd",
      "filename": "biscale.html",
      "title": "Using palettes with biscale",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Custom palettes",
        "Creating maps"
      ],
      "created": "2022-12-07 00:46:06",
      "modified": "2022-12-07 00:46:06",
      "commits": 1
    },
    {
      "source": "ggplot2.Rmd",
      "filename": "ggplot2.html",
      "title": "Using palettes with ggplot2",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Colour scales",
        "Fill scales",
        "Customizing scales"
      ],
      "created": "2022-12-01 23:56:48",
      "modified": "2022-12-07 00:45:24",
      "commits": 4
    },
    {
      "source": "gt.Rmd",
      "filename": "gt.html",
      "title": "Using palettes with gt",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Preparing the table",
        "Adding colour"
      ],
      "created": "2022-12-02 21:01:24",
      "modified": "2024-07-13 23:41:54",
      "commits": 6
    }
  ],
  "_score": 7.719762052537277,
  "_indexed": true,
  "_nocasepkg": "palettes",
  "_universes": [
    "mccarthy-m-g"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2.9000",
      "date": "2026-05-13T08:38:56.000Z",
      "distro": "noble",
      "commit": "b934dc7c650885ee7e4bf866a929cf081a96143e",
      "fileid": "6ded19567964bfb579b87e5af26ac4e3108f63fcd47dde3f5f8dee68bc092682",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mccarthy-m-g/actions/runs/25787771554"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.2.9000",
      "date": "2026-05-13T08:37:56.000Z",
      "distro": "noble",
      "commit": "b934dc7c650885ee7e4bf866a929cf081a96143e",
      "fileid": "b2eea6326b8a3a238a67c30e52f40987e9769feb6d7670b92b94ae5df4261263",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mccarthy-m-g/actions/runs/25787771554"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2.9000",
      "date": "2026-05-13T08:38:02.000Z",
      "commit": "b934dc7c650885ee7e4bf866a929cf081a96143e",
      "fileid": "a1a465c3c524745e10dbd1a9e5c414fa565ceac81d426bad3bbcffdca0547256",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mccarthy-m-g/actions/runs/25787771554"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.2.9000",
      "date": "2026-05-13T08:37:53.000Z",
      "commit": "b934dc7c650885ee7e4bf866a929cf081a96143e",
      "fileid": "ce00591278aa258dd61a0d65b40e4c8467fc79d77aed7b7f8dda5c47e0598295",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mccarthy-m-g/actions/runs/25787771554"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2.9000",
      "date": "2026-05-13T08:36:43.000Z",
      "commit": "b934dc7c650885ee7e4bf866a929cf081a96143e",
      "fileid": "842bb2292f70971c1cea308cf705be4b3e1e1b147bf1a64404435cd798f7eb7f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mccarthy-m-g/actions/runs/25787771554"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2.9000",
      "date": "2026-05-13T08:36:49.000Z",
      "commit": "b934dc7c650885ee7e4bf866a929cf081a96143e",
      "fileid": "53895d3620ead94ccede65a42be50bb9b6360cf0d29b4dfa94fdbedcc104a980",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mccarthy-m-g/actions/runs/25787771554"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.2.9000",
      "date": "2026-05-13T08:36:36.000Z",
      "commit": "b934dc7c650885ee7e4bf866a929cf081a96143e",
      "fileid": "617021fbe25b1c8022c78c6d8fe744fb1e135800224eda40c44ae38adc3707c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mccarthy-m-g/actions/runs/25787771554"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2.9000",
      "date": "2026-05-22T09:52:37.000Z",
      "commit": "b934dc7c650885ee7e4bf866a929cf081a96143e",
      "fileid": "c387df4f1cc6b29e97976191ec62bd3fdecd021031aefc1d38519f7098195a3a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mccarthy-m-g/actions/runs/25787771554"
    }
  ]
}