Files
jaredandClaude Sonnet 5.5 119aa7aa0f
R-CMD-check / R CMD check (push) Successful in 5m7s
feat(theme): add a showtext switch to civilytics_load_fonts() for ragg users (#29)
civilytics_load_fonts(showtext = getOption("civilytics.showtext", TRUE))
registers the brand fonts and only then turns on showtext, so ragg users can
opt out of its 96 dpi text sizing. The default is unchanged, so existing
reports render as before. The help page documents the ragg path.

Closes #29

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-15 15:45:47 -04:00

43 lines
1.2 KiB
Plaintext

Package: civilytics
Type: Package
Title: Brand Themes, Color Palettes, and Utility Functions for Civilytics
Version: 0.3.2
Authors@R:
person("Jared", "E. Knowles", email = "jared@civilytics.com",
role = c("aut", "cre"))
Description: Provides a complete ggplot2 brand theme system for Civilytics
Consulting LLC, including editorial light, dark, and slide-optimized themes;
10 curated color palettes for qualitative, sequential, and diverging data;
logo composition utilities; Quarto themes for HTML reports, PDF, Typst, and
Reveal.js presentations; and data-wrangling helpers for public-sector
analysis.
License: LGPL (>= 3)
URL: https://gitea.civilytics.org/Civilytics/civilyticsR
BugReports: https://gitea.civilytics.org/Civilytics/civilyticsR/issues
Depends:
R (>= 4.1.0)
Imports:
ggplot2 (>= 4.0.0),
jpeg,
jsonlite,
png,
stringr,
gridExtra,
grid,
stringdist,
showtext,
sysfonts
Encoding: UTF-8
Suggests:
testthat (>= 3.0.0),
tidycensus,
quarto,
flextable,
officer,
patchwork,
ragg,
withr
Config/testthat/edition: 3
Config/roxygen2/version: 8.0.0
RoxygenNote: 7.3.3