c93c4692677577cd150ee0c68d59341254dba26d
R-CMD-check / R CMD check (push) Failing after 1m39s
- R/colors.R: civilytics_colors named vector (from --cv-* CSS vars on civilytics.com), three palettes (main/sequential/diverging), scale_color_civilytics() and scale_fill_civilytics() for ggplot2 - R/fonts.R: auto-loads Inter + Libre Franklin from Google Fonts via showtext in .onLoad(); exports civilytics_load_fonts() for manual retry - R/theme.R: wires ggplot2 4.0 ink/paper/accent params into theme_grey() base, adds title_family + strip_color params; new theme_civilytics_dark() using navy_dark background and warm off-white text - R/logo.R: make_logo_grob(variant) accepts "light"/"dark" to select the white logo for dark-background compositions - DESCRIPTION: adds showtext, sysfonts; pins ggplot2 >= 4.0.0 - tests/testthat/test_theme.R: full test suite for colors, palettes, scales, both theme variants, and logo grob variants
civilytics
The goal of civilytics is to ...
Installation
You can install the released version of civilytics from CRAN with:
install.packages("civilytics")
Example
This is a basic example which shows you how to solve a common problem:
library(civilytics)
## basic example code
Languages
R
59%
SCSS
19.4%
CSS
13.3%
Typst
3.3%
TeX
2.7%
Other
2.3%