{
  "_id": "6ab0fd7d3d719c1f84085749",
  "Package": "colorrepel",
  "Title": "Repel Visually Similar Colors for Colorblind Users in Various\nPlots",
  "Version": "0.5.2",
  "Authors@R": "person(given = \"Rui\",\nfamily = \"Fu\",\nrole = c(\"cre\", \"aut\", \"cph\"),\nemail = \"raysinensis@gmail.com\",\ncomment = c(ORCID = \"0000-0001-8183-4549\"))",
  "Description": "Iterate and repel visually similar colors away in various\n'ggplot2' plots. When many groups are plotted at the same time\non multiple axes, for instance stacked bars or scatter plots,\neffectively ordering colors becomes difficult. This tool\niterates through color combinations to find the best solution\nto maximize visual distinctness of nearby groups, so plots are\nmore friendly toward colorblind users. This is achieved by two\ndistance measurements, distance between groups within the plot,\nand CIELAB color space distances between colors as described in\nCarter et al., (2018) <doi:10.25039/TR.015.2018>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "URL": "https://github.com/raysinensis/color_repel",
  "ByteCompile": "true",
  "Config/pak/sysreqs": "cmake libfontconfig1-dev libfreetype6-dev make\nlibicu-dev libpng-dev libuv1-dev libssl-dev",
  "Repository": "https://raysinensis.r-universe.dev",
  "Date/Publication": "2026-08-22 05:00:18 UTC",
  "RemoteUrl": "https://github.com/raysinensis/color_repel",
  "RemoteRef": "HEAD",
  "RemoteSha": "eeda8e61295db0379f9dae967b926126727c00cf",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-21 09:44:35 UTC",
    "User": "root"
  },
  "Author": "Rui Fu [cre, aut, cph] (ORCID: <https://orcid.org/0000-0001-8183-4549>)",
  "Maintainer": "Rui Fu <raysinensis@gmail.com>",
  "_user": "raysinensis",
  "_type": "src",
  "_file": "colorrepel_0.5.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/79d5ed00451bf1ded658a05da8f18e6a5d888352faf50df4ec302510944c5ec8",
  "_filesize": 1344157,
  "_sha256": "79d5ed00451bf1ded658a05da8f18e6a5d888352faf50df4ec302510944c5ec8",
  "_expires": "2026-12-30T09:48:43.000Z",
  "_created": "2026-09-21T09:44:35.000Z",
  "_published": "2026-09-21T09:48:45.251Z",
  "_jobs": [
    {
      "job": 106286200287,
      "time": 185,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10631134439"
    },
    {
      "job": 106286200320,
      "time": 167,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10631694860"
    },
    {
      "job": 106286200338,
      "time": 203,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10631054452"
    },
    {
      "job": 106286200315,
      "time": 194,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10631089333"
    },
    {
      "job": 106284936171,
      "time": 225,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10632290716"
    },
    {
      "job": 106286200297,
      "time": 170,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10631884050"
    },
    {
      "job": 106286200323,
      "time": 126,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10630929705"
    },
    {
      "job": 106286200452,
      "time": 98,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10631739425"
    },
    {
      "job": 106286200328,
      "time": 108,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10632006414"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/raysinensis/actions/runs/35584579830",
  "_status": "success",
  "_upstream": "https://github.com/raysinensis/color_repel",
  "_commit": {
    "id": "eeda8e61295db0379f9dae967b926126727c00cf",
    "author": "Ray Fu <raysinensis@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #26 from raysinensis/devel\n\n#25",
    "time": 1787374818
  },
  "_maintainer": {
    "name": "Rui Fu",
    "email": "raysinensis@gmail.com",
    "login": "raysinensis",
    "description": "RNA biologist",
    "uuid": 22802886,
    "orcid": "0000-0001-8183-4549"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "matrixStats",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "distances",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "dqrng",
      "role": "Imports"
    },
    {
      "package": "gtools",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggrepel",
      "role": "Imports"
    },
    {
      "package": "plotly",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Imports"
    },
    {
      "package": "png",
      "role": "Imports"
    },
    {
      "package": "Polychrome",
      "role": "Imports"
    },
    {
      "package": "mascarade",
      "role": "Imports"
    },
    {
      "package": "colorspace",
      "role": "Suggests"
    }
  ],
  "_owner": "raysinensis",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-29",
      "n": 1
    },
    {
      "week": "2026-34",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.5.1",
      "date": "2026-07-17"
    }
  ],
  "_stars": 11,
  "_contributors": [
    {
      "user": "raysinensis",
      "count": 126,
      "uuid": 22802886
    }
  ],
  "_userbio": {
    "uuid": 22802886,
    "type": "user",
    "name": "Ray Fu",
    "followers": 24,
    "description": "RNA biologist"
  },
  "_downloads": {
    "count": 342,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/colorrepel"
  },
  "_devurl": "https://github.com/raysinensis/color_repel",
  "_searchresults": 3,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/colorrepel.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/raysinensis/color_repel",
  "_realowner": "raysinensis",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2024-09-17"
    },
    {
      "version": "0.3.0",
      "date": "2024-09-29"
    },
    {
      "version": "0.4.1",
      "date": "2025-01-19"
    },
    {
      "version": "0.4.3",
      "date": "2025-07-21"
    },
    {
      "version": "0.5.0",
      "date": "2026-07-14"
    },
    {
      "version": "0.5.2",
      "date": "2026-08-22"
    }
  ],
  "_exports": [
    "average_clusters",
    "average_clusters_rowwise",
    "by_cluster_sampling",
    "color_repel",
    "get_labs",
    "gg_color_repel",
    "ggplotly_background",
    "label_repel",
    "scale_color_repel",
    "scale_colour_repel",
    "scale_fill_repel"
  ],
  "_help": [
    {
      "page": "average_clusters",
      "title": "Average expression values per cluster",
      "topics": [
        "average_clusters"
      ]
    },
    {
      "page": "average_clusters_rowwise",
      "title": "Rowwise math from matrix/data.frame per cluster based on another vector/metadata, similar to clustifyr::average_clusters but ids as rows",
      "topics": [
        "average_clusters_rowwise"
      ]
    },
    {
      "page": "by_cluster_sampling",
      "title": "Balanced downsampling of matrix/data.frame based on cluster assignment vector",
      "topics": [
        "by_cluster_sampling"
      ]
    },
    {
      "page": "calc_distance",
      "title": "Distance calculations for spatial coord",
      "topics": [
        "calc_distance"
      ]
    },
    {
      "page": "color_repel",
      "title": "Reorder ggplot colors to maximize color differences in space",
      "topics": [
        "color_repel"
      ]
    },
    {
      "page": "get_labs",
      "title": "Extract custom labels from ggplot object",
      "topics": [
        "get_labs"
      ]
    },
    {
      "page": "gg_color_repel",
      "title": "Wrapper to reorder ggplot colors to maximize color differences in space",
      "topics": [
        "gg_color_repel"
      ]
    },
    {
      "page": "ggplotly_background",
      "title": "Prepare ggplot object to ggplotly-compatible layer and image layer",
      "topics": [
        "ggplotly_background"
      ]
    },
    {
      "page": "label_repel",
      "title": "ggrepel labeling of clusters",
      "topics": [
        "label_repel"
      ]
    },
    {
      "page": "matrix2_score",
      "title": "Score matrix distances",
      "topics": [
        "matrix2_score"
      ]
    },
    {
      "page": "matrix2_score_n",
      "title": "Score matrix distances in multiple combinations",
      "topics": [
        "matrix2_score_n"
      ]
    },
    {
      "page": "scale_color_repel",
      "title": "Add a color-repel scale to a ggplot",
      "topics": [
        "scale_color_repel",
        "scale_colour_repel",
        "scale_fill_repel"
      ]
    }
  ],
  "_readme": "https://github.com/raysinensis/color_repel/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "askpass",
    "base64enc",
    "BH",
    "bslib",
    "cachem",
    "cli",
    "colorspace",
    "cpp11",
    "crosstalk",
    "curl",
    "data.table",
    "deldir",
    "digest",
    "distances",
    "dplyr",
    "dqrng",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "ggforce",
    "ggplot2",
    "ggrepel",
    "glue",
    "goftest",
    "gtable",
    "gtools",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httr",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lazyeval",
    "lifecycle",
    "magrittr",
    "mascarade",
    "MASS",
    "Matrix",
    "matrixStats",
    "memoise",
    "mime",
    "nlme",
    "openssl",
    "otel",
    "pillar",
    "pkgconfig",
    "plotly",
    "plyr",
    "png",
    "Polychrome",
    "polyclip",
    "polylabelr",
    "promises",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rmarkdown",
    "S7",
    "sass",
    "scales",
    "scatterplot3d",
    "sitmo",
    "spatstat.data",
    "spatstat.explore",
    "spatstat.geom",
    "spatstat.random",
    "spatstat.sparse",
    "spatstat.univar",
    "spatstat.utils",
    "stringi",
    "stringr",
    "sys",
    "systemfonts",
    "tensor",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "tweenr",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_score": 4.041392685158225,
  "_indexed": true,
  "_nocasepkg": "colorrepel",
  "_universes": [
    "raysinensis"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.2",
      "date": "2026-09-21T09:47:38.000Z",
      "distro": "resolute",
      "commit": "eeda8e61295db0379f9dae967b926126727c00cf",
      "fileid": "https://r2.ropensci.org/31acdb418955eef72c966c089e92f2c513eae8143b7be78db4ed02ca284a4080",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raysinensis/actions/runs/35584579830"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.2",
      "date": "2026-09-21T09:47:24.000Z",
      "distro": "resolute",
      "commit": "eeda8e61295db0379f9dae967b926126727c00cf",
      "fileid": "https://r2.ropensci.org/dd3c45aff8fc8a4a0139d717d5217a1fd5a466114549602790df8891ca15d973",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raysinensis/actions/runs/35584579830"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.2",
      "date": "2026-09-21T09:47:31.000Z",
      "commit": "eeda8e61295db0379f9dae967b926126727c00cf",
      "fileid": "https://r2.ropensci.org/785c4e492a728a6e79f99bd7f8f2fa6b0606837b4d3eb5edc0dc7a78bb602b97",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raysinensis/actions/runs/35584579830"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5.2",
      "date": "2026-09-21T09:47:09.000Z",
      "commit": "eeda8e61295db0379f9dae967b926126727c00cf",
      "fileid": "https://r2.ropensci.org/30c5f860db26d94f359e2eb9ead21d8f2deb6d5f8019dbb2b3af85c00db18d81",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raysinensis/actions/runs/35584579830"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.2",
      "date": "2026-09-21T09:47:44.000Z",
      "commit": "eeda8e61295db0379f9dae967b926126727c00cf",
      "fileid": "https://r2.ropensci.org/752a9e71bdfd24d73cda45fd667dff773d92d889616a2bff0af4b79f0f2e3ffc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/raysinensis/actions/runs/35584579830"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.2",
      "date": "2026-09-21T09:46:36.000Z",
      "commit": "eeda8e61295db0379f9dae967b926126727c00cf",
      "fileid": "https://r2.ropensci.org/27f35403d1fa35b8a8715000a11d7fe7a3566de39aa76a4559a48a542a8ededb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raysinensis/actions/runs/35584579830"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.2",
      "date": "2026-09-21T09:46:07.000Z",
      "commit": "eeda8e61295db0379f9dae967b926126727c00cf",
      "fileid": "https://r2.ropensci.org/1babfabcff22d7c1277b804e06ccabcb8a53bf72f3f81b6db17cc9048c7aaf3f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raysinensis/actions/runs/35584579830"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5.2",
      "date": "2026-09-21T09:46:14.000Z",
      "commit": "eeda8e61295db0379f9dae967b926126727c00cf",
      "fileid": "https://r2.ropensci.org/1e30da9949898bc148abcc5747b2e12fc724979afb9bc13d4f5dd659ab4c6737",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raysinensis/actions/runs/35584579830"
    }
  ]
}