<- c("shiny", "shinythemes", "rlang", "ggplot2",
pkgs "devtools", "logger", "fs", "rmarkdown", "lobstr",
"shinytest2", "fst")
install.packages(pkgs)
Materials
Workshop Code & Materials
Pre-work
Local use
Install latest version of RStudio (
RStudio 2023.09.0 463
“Desert Sunflower” or later)Access ALL hands-on materials by cloning the repo: https://github.com/mjfrigaard/moviesApp.git
Posit Cloud
- Posit Cloud has the workshop materials pre-installed: https://posit.cloud/spaces/434433/content/6827633
Slido link
- Access the Slido polls
Packages
- Install these R packages:
Efficient Tests Talk (recording)
You can view a recorded version of the Efficient Tests talk here.
Accessing code examples
To follow along, change the branch in the Git pane to the corresponding Branch in the slide footer:
You can also access each branch/app with the shinypak
package.
# install.packages("pak")
::pak("mjfrigaard/shinypak")
paklibrary(shinypak)
List all the apps with list_apps()
head(list_apps())
#> branch last_updated
#> 2 01_whole-app-game 2024-01-01 14:11:32
#> 1 02.1_shiny-app 2024-01-04 13:05:58
#> 4 02.2_movies-app 2024-01-04 13:07:59
#> 5 02.3_proj-app 2024-01-04 13:08:58
#> 6 03.1_description 2024-01-04 13:10:00
#> 7 03.2_rproj 2024-01-04 13:25:06
Launch an app with launch()
launch(app = "02.3_proj-app")