{"id":27941892,"url":"https://github.com/nvietto/rdune","last_synced_at":"2025-06-11T09:06:48.810Z","repository":{"id":246600436,"uuid":"821602277","full_name":"nvietto/Rdune","owner":"nvietto","description":"Creates color palettes inspired by 'Dune'","archived":false,"fork":false,"pushed_at":"2025-03-03T00:59:00.000Z","size":9639,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-05T12:54:03.758Z","etag":null,"topics":["color-palette","data-visualization","r","r-package"],"latest_commit_sha":null,"homepage":"https://nvietto.github.io/Rdune/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nvietto.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-28T23:44:39.000Z","updated_at":"2025-03-03T00:55:44.000Z","dependencies_parsed_at":"2024-06-29T00:41:19.323Z","dependency_job_id":"27eac56a-6b36-4cdf-bbcc-e899d1dfbeaa","html_url":"https://github.com/nvietto/Rdune","commit_stats":null,"previous_names":["nvietto/rdune"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvietto%2FRdune","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvietto%2FRdune/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvietto%2FRdune/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvietto%2FRdune/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nvietto","download_url":"https://codeload.github.com/nvietto/Rdune/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252866785,"owners_count":21816542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["color-palette","data-visualization","r","r-package"],"created_at":"2025-05-07T11:24:02.198Z","updated_at":"2025-05-07T11:24:02.815Z","avatar_url":"https://github.com/nvietto.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n\n# Rdune \u003cimg src=\"man/figures/logo.jpg\" align=\"right\" width=\"120\" /\u003e\n\n\u003c!-- badges: start --\u003e\n[![R-CMD-check](https://github.com/nvietto/Rdune/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/nvietto/Rdune/actions/workflows/R-CMD-check.yaml)\n[![CRAN status](https://www.r-pkg.org/badges/version/Rdune)](https://CRAN.R-project.org/package=Rdune)\n[![](https://cranlogs.r-pkg.org/badges/grand-total/Rdune)](https://cran.r-project.org/package=Rdune)\n\u003c!-- badges: end --\u003e\n\nThe {Rdune} package offers a collection of color palettes inspired by 'Dune', designed for use in data visualizations and graphics with {ggplot2}.\n\nThe structure of the code and creative inspiration were drawn from the [{PrettyCols}](https://github.com/nrennie/PrettyCols), [{wesanderson}](https://github.com/karthik/wesanderson), [{MetBrewer}](https://github.com/BlakeRMills/MetBrewer), [{PNWColors}](https://github.com/jakelawlor/PNWColors) packages.\n\n\nColors were selected using [{eyedroppeR}](https://github.com/doehm/eyedroppeR).\n\n\n\n## Installation\n\n{Rdune} is available on CRAN. Install using:\n\n``` r\ninstall.packages(\"Rdune\")\n```\n\nOr you can install the development version of Rdune from [GitHub](https://github.com/) with:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"nvietto/Rdune\")\n```\n\n## How to use\n\n```{r example}\nlibrary(Rdune)\n\n# See all palettes\nnames(dune_palettes)\n```\n\n## View palette\n\n```{r, fig.height = 2}\npal \u003c- dune_palette(\"atreides\")\n\nprint.palette(pal)\n```\n\n## Examples\n\n### \"May thy knife chip and shatter\"\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"man/figures/maythyknifechipandshatter.jpg\" height=\"300\" \u003e\n\u003c/p\u003e\n\n\n```{r, example1, fig.height=3}\nlibrary(ggplot2)\n\nggplot(\n  data = iris,\n  mapping = aes(x = Sepal.Width, y = Sepal.Length, color = Species)\n) +\n  geom_point(size = 2) +\n  scale_color_dune_d(name = \"maythyknifechipandshatter\")\n```\n\n\n### House Atreides \n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"man/figures/Atreides3.jpg\" height=\"300\" \u003e\n\u003c/p\u003e\n\n\n```{r, example2, fig.height=3}\nlibrary(ggplot2)\n\nggplot(\n  data.frame(x = rnorm(1000), y = rnorm(1000)),\n  aes(x = x, y = y)\n) +\n  geom_hex() +\n  theme_minimal() +\n  scale_fill_dune_c(name = \"atreides3\") +\n  labs(x = \"X-axis\", y = \"Y-axis\", fill = \"Legend\")\n```\n\n\n## Palettes\n\n### Arrakis\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"man/figures/Arrakis.jpg\" height=\"300\" \u003e\n\u003c/p\u003e\n\n\n### House Atreides\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"man/figures/Atreides.jpg\" height=\"300\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"man/figures/Atreides2.jpg\" height=\"300\"\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"man/figures/Atreides3.jpg\" height=\"300\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"man/figures/Atreides4.jpg\" height=\"300\"\u003e\n\u003c/p\u003e\n\n\n\n### Bene Gesserit\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"man/figures/bene_gesserit.jpg\" height=\"300\"\u003e\n\u003c/p\u003e\n\n\n### House Corrino\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"man/figures/corrino.jpg\" height=\"300\" \u003e\n\u003c/p\u003e\n\n### Fremen\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"man/figures/fermen.jpg\" height=\"300\" \u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"man/figures/fermen2.jpg\" height=\"300\" \u003e\n\u003c/p\u003e\n\n\n### House Harkonnen\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"man/figures/harkonnen.jpg\" height=\"300\" \u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"man/figures/harkonnen2.jpg\" height=\"300\" \u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"man/figures/harkonnen3.jpg\" height=\"300\" \u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"man/figures/harkonnen4.jpg\" height=\"300\" \u003e\n\u003c/p\u003e\n\n\n### \"May thy knife chip and shatter\"\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"man/figures/maythyknifechipandshatter.jpg\" height=\"300\" \u003e\n\u003c/p\u003e\n\n\n### Sandworm \n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"man/figures/sandworm.jpg\" height=\"300\" \u003e\n\u003c/p\u003e\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnvietto%2Frdune","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnvietto%2Frdune","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnvietto%2Frdune/lists"}