Package: ggChinaFlag 0.2.0

Zhaoshuo Liu
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.
Authors:
ggChinaFlag_0.2.0.tar.gz
ggChinaFlag_0.2.0.zip(r-4.7)ggChinaFlag_0.2.0.zip(r-4.6)ggChinaFlag_0.2.0.zip(r-4.5)
ggChinaFlag_0.2.0.tgz(r-4.6-any)ggChinaFlag_0.2.0.tgz(r-4.5-any)
ggChinaFlag_0.2.0.tar.gz(r-4.7-any)ggChinaFlag_0.2.0.tar.gz(r-4.6-any)
ggChinaFlag_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
ggChinaFlag/json (API)
| # Install 'ggChinaFlag' in R: |
| install.packages('ggChinaFlag', repos = c('https://xlions.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/xlions/ggchinaflag/issues
Last updated from:5c6f010f01. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 103 | ||
| source / vignettes | OK | 162 | ||
| linux-release-x86_64 | OK | 116 | ||
| macos-release-arm64 | OK | 153 | ||
| macos-oldrel-arm64 | OK | 123 | ||
| windows-devel | OK | 62 | ||
| windows-release | OK | 66 | ||
| windows-oldrel | OK | 63 | ||
| wasm-release | OK | 109 |
Exports:FlagStorageplot_CCPplot_Han18Starplot_KMTplot_P.R.CHINA_flagplot_ROC_Beiyang_flagplot_ROC_KMT_flagplotCNFlag
Dependencies:base64encclicpp11dplyrfarvergenericsggforceggplot2gluegtableisobandjsonlitelabelinglifecyclemagrittrMASSpillarpkgconfigpolyclipR6RColorBrewerrlangS7scalesshowtextshowtextdbsysfontssystemfontstibbletidyselecttweenrutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Built-in Chinese and English names of the flags | FlagStorage |
| Plot the emblem or flag of the Communist Party of China (CCP) | plot_CCP |
| Plot the Iron-Blood 18-Star Flag of the Wuchang Uprising | plot_Han18Star |
| Plot the Blue Sky with a White Sun flag (Kuomintang / Republic of China) | plot_KMT |
| Plot the national flag of the People's Republic of China | plot_P.R.CHINA_flag |
| Plot the Five-Colored Flag of the Beiyang Government | plot_ROC_Beiyang_flag |
| Plot the Blue Sky, White Sun, and a Wholly Red Earth flag | plot_ROC_KMT_flag |
| Plot a Chinese national or historical flag by name | plotCNFlag |