shinypak

April 16, 2026 · View on GitHub

shinypak provides easy access all the Shiny app examples in the Shiny App-Packages book (which are stored in the sap R package).1 shinypak also has a few helper functions for checking the files and folders in a Shiny app-package.

Installation

You can install the development version of shinypak from GitHub after installing remotes:

install.packages('pak')
pak::pak("mjfrigaard/shinypak", force = TRUE)
library(shinypak)

GitHub authentication

shinypak uses the gert package for Git/GitHub management (and assumes authentication was done automatically using the credentials package).2

Available app-packages

All applications in shinypak come from chapters in Shiny App-Packages book. A full list of the available apps and topics are available in topic_lookup:

head(topic_lookup, 10)
branchpartchapter
02.1_shiny-appIntroShiny
02.2_movies-appIntroShiny
02.3_proj-appIntroShiny
03.1_descriptionIntroPackages
03.2_rprojIntroPackages
03.3_create-packageIntroPackages
04_devtoolsIntroDevelopment
05_roxygen2App-packagesDocumentation
06.1_exportsApp-packagesDependencies
06.2_importsApp-packagesDependencies
tail(topic_lookup, 10)
branchpartchapter
3121.3_gha-shiny-dockerDeployDeploying shiny app with Docker and GitHub Actions
3222_pkgdownDeployDeploying a package website
3323_golemFrameworksgolem framework
3424_leprechaunFrameworksleprechaun framework
3525_rhinoFrameworksrhino framework
3626_llm-shiny-assistShiny & LLMsLLMs with Shiny Assistant
3727_llm-ellmerShiny & LLMsLLMs with ellmer package
3828_llm-choresShiny & LLMsLLMs with chores package
3929_llm-ganderShiny & LLMsLLMs with gander package
4030_llm-btwShiny & LLMsLLMs with btw package

Launching apps and app-packages

Launch an application from any section in the book using:

launch(app = "02.3_proj-app")

Footnotes

  1. Each of the apps in shinypak have a corresponding chapter and branch in the sap repo.

  2. Check out the documentation for the credentials package