Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gadenbuie/countdown
⏲ countdown timer for R Markdown slides and HTML docs
https://github.com/gadenbuie/countdown
countdown-timer html rmarkdown rstats slides xaringan
Last synced: 18 days ago
JSON representation
⏲ countdown timer for R Markdown slides and HTML docs
- Host: GitHub
- URL: https://github.com/gadenbuie/countdown
- Owner: gadenbuie
- Created: 2019-03-11T20:11:52.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-11T11:19:08.000Z (7 months ago)
- Last Synced: 2024-10-14T22:29:36.367Z (30 days ago)
- Topics: countdown-timer, html, rmarkdown, rstats, slides, xaringan
- Language: JavaScript
- Homepage: https://pkg.garrickadenbuie.com/countdown
- Size: 1.76 MB
- Stars: 149
- Watchers: 8
- Forks: 15
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - gadenbuie/countdown - ⏲ countdown timer for R Markdown slides and HTML docs (JavaScript)
README
# countdown
[![CRAN status](https://www.r-pkg.org/badges/version/countdown)](https://CRAN.R-project.org/package=countdown)
[![countdown on r-universe/gadenbuie](https://gadenbuie.r-universe.dev/badges/countdown)](https://gadenbuie.r-universe.dev)
[![R-CMD-check](https://github.com/gadenbuie/countdown/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/gadenbuie/countdown/actions/workflows/R-CMD-check.yaml)**countdown** makes it easy to drop in a simple countdown timer in slides and HTML documents written in R Markdown.
``` r
library(countdown)countdown(minutes = 0, seconds = 15)
```### Want to know more?
Check out countdown in its native environment in the [countdown presentation](https://pkg.garrickadenbuie.com/countdown/).
## Installation
You can install countdown from CRAN
``` r
install.packages("countdown")
```or you can install the development version of countdown from [gadenbuie.r-universe.dev](https://gadenbuie.r-universe.dev/ui#package:countdown)
``` r
options(repos = c(
gadenbuie = 'https://gadenbuie.r-universe.dev',
getOption("repos")
))install.packages('countdown')
```or from GitHub
``` r
# install.packages("remotes")
remotes::install_github("gadenbuie/countdown", subdir = "r")
```## Shiny App
**countdown** ships with a [Shiny app](https://shiny.rstudio.com) for an interactive _full-screen countdown timer_!
To launch the app, run
```r
countdown_app()
```or use the version hosted online at [apps.garrickadenbuie.com/countdown](https://apps.garrickadenbuie.com/countdown/).