Skip to content

mexicolors

0.2.0

Mexican Politics-Inspired Color Palette Generator

0packages depend
2.5Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Alejandro Platas-LópezFirst published 2021-09-071 releasesCRAN page ↗GitHub ↗

A color palette generator inspired by Mexican politics, with colors ranging from red on the left to gray in the middle and green on the right. Palette options range from only a few colors to several colors, but with discrete and continuous options to offer greatest flexibility to the user. This package allows for a range of applications, from mapping brief discrete scales (e.g., four colors for Morena, PRI, and PAN) to continuous interpolated arrays including dozens of shades graded from red to green.

Install

Health

CRAN checks
13OK
Slowest check: 42 s · r-devel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
None
Vignettes
Yes
README
0
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

2.5K
CRAN downloads in the past year
Rank #21,910 · ~7/day · ~205/mo
Daily download trend is not available in this view yet.
18030 days
54390 days
2.5K1 year
Compare downloads with other packages →
Also on96 r2u6 autocran

Repository

Repository
0Stars
0Forks
0Open issues
0Open PRs
0Releases
License GPL-2.0 · Last activity 2021-09-17

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 85 (56%)Rd 68 (44%)
Code characteristics
Object systems
S31
Cyclomatic complexity
3.0 median / 5 max
Documented parameters
100%

Test coverage

Line coverage

Expression

Tests / Examples

Functions

2 1 exported

Complexity

3 avg / 5 max

Call network

2 nodes / 0 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.0Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2021-09-07
Total releases
1 / 5 yrs
License
GPL (>= 2) OSI
Download size
4.3 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →