ggChinaFlag: Drawing Chinese National and Historical Flags with 'ggplot2'

Provides programmatic implementations for drawing Chinese national and historical flags using analytic geometry and 'ggplot2'-based vector graphics. Flag designs are constructed entirely from geometric primitives such as polygons and rectangles, without relying on external image files. The package is intended for educational demonstration, reproducible visualization, and procedural graphics in R.

Version: 0.2.0
Imports: ggplot2, dplyr, showtext, ggforce
Published: 2026-07-04
DOI: 10.32614/CRAN.package.ggChinaFlag (may not be active yet)
Author: Zhaoshuo Liu ORCID iD [aut, cre]
Maintainer: Zhaoshuo Liu <liuzhaoshuo1997 at outlook.com>
BugReports: https://github.com/XLions/ggChinaFlag/issues
License: GPL-3
URL: https://github.com/XLions/ggChinaFlag
NeedsCompilation: no
CRAN checks: ggChinaFlag results

Documentation:

Reference manual: ggChinaFlag.html , ggChinaFlag.pdf

Downloads:

Package source: ggChinaFlag_0.2.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=ggChinaFlag to link to this page.