htmltools

Tools for HTML generation and output

https://github.com/rstudio/htmltools

Science Score: 23.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
  • Committers with academic emails
    1 of 32 committers (3.1%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.5%) to scientific vocabulary

Keywords from Contributors

rmarkdown latex pandoc literate-programming bookdown book epub gitbook visualisation web-development
Last synced: 10 months ago · JSON representation

Repository

Tools for HTML generation and output

Basic Info
Statistics
  • Stars: 220
  • Watchers: 24
  • Forks: 70
  • Open Issues: 99
  • Releases: 12
Created over 12 years ago · Last pushed almost 2 years ago
Metadata Files
Readme Changelog Contributing

README.md

R build
status CRAN
status Lifecycle:
experimental <!-- badges: end -->

htmltools

Tools for creating, manipulating, and writing HTML from R.

Installation

Install the stable release of htmltools on CRAN:

r install.packages("htmltools")

Install the development version with:

r remotes::install_github("rstudio/htmltools")

Quick overview

{htmltools} makes it easy to customize the user interface (UI) of any Shiny or R Markdown project by using R code to generate custom HTML (including JavaScript and CSS).

This Shiny article provides a great introduction to {htmltools} (even if you're not interested in Shiny). As you'll learn in that article, the general foundation that {htmltools} provides allows other R packages (e.g., {htmlwidgets}, {crosstalk}, etc.) to provide "HTML components" in R that users can manipulate and combine in ways the component authors didn't foresee.

For example, as described in depth here, {htmltools} makes it fairly easy to arrange numerous {htmlwidgets} (e.g., {plotly} graphs) into a single static HTML webpage:

r library(htmltools) library(plotly) browsable(tagList( plot_ly(diamonds, x = ~carat, height = 200), plot_ly(diamonds, x = ~price, height = 200) ))

Also, thanks to tagQuery(), it is fairly easy to query and manipulate the underlying HTML structure of components. See the tagQuery() article to learn more.

Learn more

If you're looking to learn how to build more custom user interfaces by writing custom HTML/JavaScript/CSS, we recommend the following resource:

Owner

  • Name: RStudio
  • Login: rstudio
  • Kind: organization
  • Email: info@rstudio.org
  • Location: Boston, MA

GitHub Events

Total
  • Issues event: 5
  • Watch event: 5
  • Issue comment event: 16
  • Fork event: 2
Last Year
  • Issues event: 5
  • Watch event: 5
  • Issue comment event: 16
  • Fork event: 2

Committers

Last synced: 12 months ago

All Time
  • Total Commits: 384
  • Total Committers: 32
  • Avg Commits per committer: 12.0
  • Development Distribution Score (DDS): 0.779
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Joe Cheng j****e@r****m 85
Carson Sievert c****1@g****m 63
Winston Chang w****n@s****g 62
Barret Schloerke b****t@r****m 39
Yihui Xie x****e@y****e 32
trestletech j****n@t****t 26
JJ Allaire jj@r****g 14
Garrick Aden-Buie g****k@a****m 13
Jim Hester j****r@g****m 6
Matthew Strasiotto m****6@u****u 5
atusy 3****y 4
Duncan Murdoch m****n@g****m 4
shrektan s****n@1****m 4
Michael Kuhn m****n@g****m 3
Christophe Dervieux c****x@g****m 2
Colin Fay c****t@c****e 2
Dean Attali d****i@g****m 2
Markus Döring f****d 2
olivroy 5****y 2
Romain François r****n@r****m 2
stla l****p@y****r 1
rekado r****s@m****e 1
hadley h****m@g****m 1
Stuart Lodge l****t@g****m 1
Ramnath Vaidyanathan r****a@g****m 1
Nistara n****a 1
Maëlle Salmon m****n@y****e 1
Jonathan McPherson j****n@r****m 1
John Malc c****o@o****m 1
Indrajeet Patil p****e@g****m 1
and 2 more...

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 90
  • Total pull requests: 73
  • Average time to close issues: 4 months
  • Average time to close pull requests: 24 days
  • Total issue authors: 46
  • Total pull request authors: 21
  • Average comments per issue: 1.84
  • Average comments per pull request: 1.21
  • Merged pull requests: 50
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 4
  • Pull requests: 0
  • Average time to close issues: about 20 hours
  • Average time to close pull requests: N/A
  • Issue authors: 4
  • Pull request authors: 0
  • Average comments per issue: 1.75
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • cpsievert (21)
  • daattali (7)
  • gadenbuie (5)
  • JosiahParry (3)
  • ismirsehregal (3)
  • jooyoungseo (3)
  • schloerke (2)
  • hadley (2)
  • stla (2)
  • mgirlich (2)
  • cderv (2)
  • rrchai (1)
  • bersbersbers (1)
  • slodge (1)
  • colearendt (1)
Pull Request Authors
  • cpsievert (26)
  • gadenbuie (16)
  • schloerke (9)
  • romainfrancois (3)
  • mgirlich (3)
  • wkmor1 (2)
  • olivroy (2)
  • wch (2)
  • yihui (2)
  • gtritchie (1)
  • lionel- (1)
  • dmurdoch (1)
  • ismirsehregal (1)
  • Haunfelder (1)
  • atusy (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 3
  • Total downloads:
    • cran 787,553 last-month
  • Total docker downloads: 176,392,601
  • Total dependent packages: 635
    (may contain duplicates)
  • Total dependent repositories: 3,006
    (may contain duplicates)
  • Total versions: 35
  • Total maintainers: 1
cran.r-project.org: htmltools

Tools for HTML

  • Versions: 18
  • Dependent Packages: 512
  • Dependent Repositories: 2,913
  • Downloads: 787,553 Last month
  • Docker Downloads: 176,392,601
Rankings
Downloads: 0.1%
Dependent repos count: 0.1%
Dependent packages count: 0.2%
Forks count: 0.5%
Stargazers count: 2.0%
Average: 3.4%
Docker downloads count: 17.3%
Maintainers (1)
Last synced: 11 months ago
proxy.golang.org: github.com/rstudio/htmltools
  • Versions: 10
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.5%
Average: 5.7%
Dependent repos count: 5.9%
Last synced: 11 months ago
conda-forge.org: r-htmltools
  • Versions: 7
  • Dependent Packages: 123
  • Dependent Repositories: 93
Rankings
Dependent packages count: 0.6%
Dependent repos count: 3.6%
Average: 13.3%
Forks count: 22.3%
Stargazers count: 26.8%
Last synced: 11 months ago

Dependencies

DESCRIPTION cran
  • R >= 2.14.1 depends
  • knitr * enhances
  • base64enc * imports
  • digest * imports
  • fastmap >= 1.1.0 imports
  • grDevices * imports
  • rlang >= 0.4.10 imports
  • utils * imports
  • Cairo * suggests
  • markdown * suggests
  • ragg * suggests
  • shiny * suggests
  • testthat * suggests
  • withr * suggests