{
  "_id": "6a1f03b2b401979e7341b5d3",
  "Package": "colorrepel",
  "Title": "Repel Visually Similar Colors for Colorblind Users in Various\nPlots",
  "Version": "0.4.3",
  "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 make libicu-dev libpng-dev libuv1-dev\nlibssl-dev",
  "Repository": "https://raysinensis.r-universe.dev",
  "Date/Publication": "2025-07-21 13:23:48 UTC",
  "RemoteUrl": "https://github.com/raysinensis/color_repel",
  "RemoteRef": "HEAD",
  "RemoteSha": "2ec84fd59d029242f7389f6d7f227b1a20966c93",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-18 07:59:39 UTC",
    "User": "root"
  },
  "Author": "Rui Fu [cre, aut, cph] (ORCID: <https://orcid.org/0000-0001-8183-4549>)",
  "Maintainer": "Rui Fu <raysinensis@gmail.com>",
  "MD5sum": "48229cc9ee5ed7e36f09fdbdfb6d8c85",
  "_user": "raysinensis",
  "_type": "src",
  "_file": "colorrepel_0.4.3.tar.gz",
  "_fileid": "a0125a08ac9abddf26b1e7faf44309c08acbb01323a4cb31aee3671e10320851",
  "_filesize": 1335019,
  "_sha256": "a0125a08ac9abddf26b1e7faf44309c08acbb01323a4cb31aee3671e10320851",
  "_created": "2026-05-18T07:59:39.000Z",
  "_published": "2026-06-02T16:24:18.910Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79119619142,
      "time": 153,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7052437487"
    },
    {
      "job": 79119619297,
      "time": 180,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7052445513"
    },
    {
      "job": 79119619622,
      "time": 169,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7052432620"
    },
    {
      "job": 79119619369,
      "time": 200,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7052440095"
    },
    {
      "job": 79119618460,
      "time": 190,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7052390679"
    },
    {
      "job": 79119618427,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7363650173"
    },
    {
      "job": 79119619233,
      "time": 105,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7052423611"
    },
    {
      "job": 79119619421,
      "time": 98,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7052421763"
    },
    {
      "job": 79119619743,
      "time": 182,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7052446868"
    }
  ],
  "_buildurl": "https://github.com/r-universe/raysinensis/actions/runs/26020828394",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/raysinensis/color_repel",
  "_commit": {
    "id": "2ec84fd59d029242f7389f6d7f227b1a20966c93",
    "author": "Ray Fu <raysinensis@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #22 from raysinensis/devel\n\nDevel",
    "time": 1753104228
  },
  "_maintainer": {
    "name": "Rui Fu",
    "email": "raysinensis@gmail.com",
    "login": "raysinensis",
    "description": "RNA biologist",
    "uuid": 22802886,
    "orcid": "0000-0001-8183-4549"
  },
  "_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": "colorspace",
      "role": "Suggests"
    }
  ],
  "_owner": "raysinensis",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-30",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 10,
  "_contributors": [
    {
      "user": "raysinensis",
      "count": 116,
      "uuid": 22802886
    }
  ],
  "_userbio": {
    "uuid": 22802886,
    "type": "user",
    "name": "Ray Fu",
    "description": "RNA biologist"
  },
  "_downloads": {
    "count": 203,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/colorrepel"
  },
  "_devurl": "https://github.com/raysinensis/color_repel",
  "_searchresults": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/colorrepel.html",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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"
    }
  ],
  "_exports": [
    "average_clusters",
    "average_clusters_rowwise",
    "by_cluster_sampling",
    "color_repel",
    "get_labs",
    "gg_color_repel",
    "ggplotly_background",
    "label_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"
      ]
    }
  ],
  "_readme": "https://github.com/raysinensis/color_repel/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "base64enc",
    "BH",
    "bslib",
    "cachem",
    "cli",
    "colorspace",
    "cpp11",
    "crosstalk",
    "curl",
    "data.table",
    "digest",
    "distances",
    "dplyr",
    "dqrng",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "ggplot2",
    "ggrepel",
    "glue",
    "gtable",
    "gtools",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httr",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lazyeval",
    "lifecycle",
    "magrittr",
    "Matrix",
    "matrixStats",
    "memoise",
    "mime",
    "openssl",
    "otel",
    "pillar",
    "pkgconfig",
    "plotly",
    "plyr",
    "png",
    "Polychrome",
    "promises",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rmarkdown",
    "S7",
    "sass",
    "scales",
    "scatterplot3d",
    "sitmo",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "colorrepel",
  "_universes": [
    "raysinensis"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.3",
      "date": "2026-05-18T08:02:15.000Z",
      "distro": "noble",
      "commit": "2ec84fd59d029242f7389f6d7f227b1a20966c93",
      "fileid": "70f6e4ae765267beac166253a8a45299f0214544f63f656921f352c7936b85b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raysinensis/actions/runs/26020828394"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.3",
      "date": "2026-05-18T08:02:40.000Z",
      "distro": "noble",
      "commit": "2ec84fd59d029242f7389f6d7f227b1a20966c93",
      "fileid": "97d917b942b11f2049351bd8c572530b4dcc898d2bac281877e2f38ebaeb9f7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raysinensis/actions/runs/26020828394"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.3",
      "date": "2026-05-18T08:01:59.000Z",
      "commit": "2ec84fd59d029242f7389f6d7f227b1a20966c93",
      "fileid": "c388bc2f02057ffd2ae36ba9100bdafc080c5ccf4cb11156d2b55ad907c1b9aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raysinensis/actions/runs/26020828394"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.3",
      "date": "2026-05-18T08:02:18.000Z",
      "commit": "2ec84fd59d029242f7389f6d7f227b1a20966c93",
      "fileid": "8c43e5cf1db58289115494017178e1b0c4c2ed3538e6c258b5cdd22c9668aa37",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raysinensis/actions/runs/26020828394"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.3",
      "date": "2026-05-18T08:01:23.000Z",
      "commit": "2ec84fd59d029242f7389f6d7f227b1a20966c93",
      "fileid": "2affa0f7a4162cd57dae47b546583ef2f3b5962e9b926d458797eef347cee470",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raysinensis/actions/runs/26020828394"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.3",
      "date": "2026-05-18T08:01:14.000Z",
      "commit": "2ec84fd59d029242f7389f6d7f227b1a20966c93",
      "fileid": "f7054a605ffc0e21a4d3f932831c38fd5c44e5315d46e4d1141f854e7242b513",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raysinensis/actions/runs/26020828394"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.3",
      "date": "2026-05-18T08:02:40.000Z",
      "commit": "2ec84fd59d029242f7389f6d7f227b1a20966c93",
      "fileid": "8aa5bb1cf7ced1a95df04c227af7087d1211b34f733c5a99db67a607c7940ed4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raysinensis/actions/runs/26020828394"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.3",
      "date": "2026-06-02T16:23:57.000Z",
      "commit": "2ec84fd59d029242f7389f6d7f227b1a20966c93",
      "fileid": "45ad0661bf84e8be42fb66c79a5f82da49fafe8ffd500f8101291190e4fd8e51",
      "status": "success",
      "buildurl": "https://github.com/r-universe/raysinensis/actions/runs/26020828394"
    }
  ]
}