Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Lightweight Repackaging of 'Themes' for 'ggplot2'

License

NotificationsYou must be signed in to change notification settings

eddelbuettel/tinythemes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CILicenseCRANr-universeDependenciesLast Commit

Example: Without, and With, The Theme

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

Motivation

Thehrbrthemes 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:

>db<-tools::CRAN_package_db()>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 onlyone theme:theme_ipsum_rc(),taken fromhrbrthemes 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 andready to be used. Packagehrbrthemes has some documentation and helpers about what todo when that is not the case; consult that documentation first.

Author

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

This package was put together by Dirk Eddelbuettel

License

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

About

Lightweight Repackaging of 'Themes' for 'ggplot2'

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp