The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
palette
provides a lightweight infrastructure for working with color palettes in R. The primary goal is to place colors directly next to their character representations. To do this, we create a palette class based on vctrs
. We then provide methods for this class, including print()
, plot()
, and pillar
. To keep it lightweight and usable in other packages, the only direct dependencies are vctrs
, cli
, and pillar
.
You can install the development version of palette from GitHub with:
palette
palette
primarily provides a palette
vctrs
class. Using included data, roygbiv
, a length 7 vector of hex codes, we can create a palette.
library(palette)
#>
#> Attaching package: 'palette'
#> The following object is masked from 'package:grDevices':
#>
#> palette
palette(roygbiv)
There is also a plot()
method for visualizing the colors:
For use within tibble
s, there is a pillar_shaft
method:
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.