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
Repository
Tools for HTML generation and output
Basic Info
- Host: GitHub
- Owner: rstudio
- Language: R
- Default Branch: main
- Homepage: https://rstudio.github.io/htmltools/
- Size: 2.55 MB
Statistics
- Stars: 220
- Watchers: 24
- Forks: 70
- Open Issues: 99
- Releases: 12
Metadata Files
README.md
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:
- Shiny's UI and extensions articles
- Outstanding UI with Shiny by David Granjon
- JavaScript for R by John Coene
Owner
- Name: RStudio
- Login: rstudio
- Kind: organization
- Email: info@rstudio.org
- Location: Boston, MA
- Website: http://rstudio.org
- Repositories: 356
- Profile: https://github.com/rstudio
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
Top Committers
| Name | 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... | ||
Committer Domains (Top 20 + Academic)
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
- Homepage: https://github.com/rstudio/htmltools
- Documentation: http://cran.r-project.org/web/packages/htmltools/htmltools.pdf
- License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
-
Latest release: 0.5.8
published over 2 years ago
Rankings
Maintainers (1)
proxy.golang.org: github.com/rstudio/htmltools
- Documentation: https://pkg.go.dev/github.com/rstudio/htmltools#section-documentation
-
Latest release: v0.5.8
published over 2 years ago
Rankings
conda-forge.org: r-htmltools
- Homepage: https://github.com/rstudio/htmltools
- License: GPL-2.0-or-later
-
Latest release: 0.5.3
published almost 4 years ago
Rankings
Dependencies
- 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