tinythemes

Lightweight Repackaging of 'Themes' for 'ggplot2'

https://github.com/eddelbuettel/tinythemes

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Lightweight Repackaging of 'Themes' for 'ggplot2'

Basic Info
  • Host: GitHub
  • Owner: eddelbuettel
  • License: other
  • Language: R
  • Default Branch: master
  • Size: 21.5 KB
Statistics
  • Stars: 36
  • Watchers: 3
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 2 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog License

README.md

tinythemes -- Lightweight Repackaging of ggplot2 Themes

CI License CRAN r-universe Dependencies Last Commit

Example: Without, and With, The Theme

One the left are ggplot() defaults, on the right the theme is added.

Motivation

The hrbrthemes package contains a nice theme as seen in the preceding example. Installing the package, however, comes at cost of fourty-nine (yeah, really) additional packages:

```r

db <- tools::CRANpackagedb() deps <- tools::package_dependencies(c("ggplot2", "hrbrthemes"), recursive=TRUE, db=db) Filter((x) x != "ggplot2", setdiff(deps[[2]], deps[[1]])) [1] "extrafont" "knitr" "rmarkdown"
[4] "htmltools" "tools" "gdtools"
[7] "extrafontdb" "Rttf2pt1" "Rcpp"
[10] "systemfonts" "gfonts" "curl"
[13] "fontquiver" "base64enc" "digest"
[16] "ellipsis" "fastmap" "evaluate"
[19] "highr" "xfun" "yaml"
[22] "bslib" "fontawesome" "jquerylib"
[25] "jsonlite" "stringr" "tinytex"
[28] "cachem" "memoise" "mime"
[31] "sass" "fontBitstreamVera" "fontLiberation"
[34] "shiny" "crul" "crayon"
[37] "stringi" "cpp11" "urltools"
[40] "httpcode" "fs" "rappdirs"
[43] "httpuv" "xtable" "sourcetools"
[46] "later" "promises" "commonmark"
[49] "triebeard"

```

So this package goes the other way and currently contains only one theme: theme_ipsum_rc(), taken from hrbrthemes and minimally polished. Installing this package from CRAN results in zero additional dependencies.

What If Something Goes Wrong?

Good question. This package is for when you know the Roboto Condensed font is in fact present and ready to be used. Package hrbrthemes has some documentation and helpers about what to do when that is not the case; consult that documentation first.

Author

The theme was written by Bob Rudis who is the principal author of hrbrthemes.

This package was put together by Dirk Eddelbuettel

License

tinythemese is released under the same terms as hrbrthemes, namely the MIT license.

Owner

  • Name: Dirk Eddelbuettel
  • Login: eddelbuettel
  • Kind: user
  • Location: Chicago, IL, USA

GitHub Events

Total
  • Watch event: 8
  • Push event: 3
Last Year
  • Watch event: 8
  • Push event: 3

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 495 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 3
  • Total maintainers: 1
cran.r-project.org: tinythemes

Lightweight Repackaging of 'Themes' for 'ggplot2'

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 495 Last month
Rankings
Dependent packages count: 28.6%
Dependent repos count: 36.7%
Average: 50.4%
Downloads: 85.8%
Maintainers (1)
Last synced: 11 months ago

Dependencies

DESCRIPTION cran
  • ggplot2 * imports
  • hrbrthemes * suggests