gadenbuie / countdown

⏲ countdown timer for R Markdown slides and HTML docs
https://pkg.garrickadenbuie.com/countdown
147 stars 15 forks source link
countdown-timer html rmarkdown rstats slides xaringan

countdown

CRAN status countdown on r-universe/gadenbuie R-CMD-check

countdown makes it easy to drop in a simple countdown timer in slides and HTML documents written in R Markdown.

library(countdown)

countdown(minutes = 0, seconds = 15)

Want to know more?

Check out countdown in its native environment in the countdown presentation.

Installation

You can install countdown from CRAN

install.packages("countdown")

or you can install the development version of countdown from gadenbuie.r-universe.dev

options(repos = c(
  gadenbuie = 'https://gadenbuie.r-universe.dev',
  getOption("repos")
))

install.packages('countdown')

or from GitHub

# install.packages("remotes")
remotes::install_github("gadenbuie/countdown", subdir = "r")

Shiny App

countdown ships with a Shiny app for an interactive full-screen countdown timer!

To launch the app, run

countdown_app()

or use the version hosted online at apps.garrickadenbuie.com/countdown.