4.1 Introduction
This chapter is about building a more complex app with the tools we learned in the previous chapters.
We’re going to use the following packages:
Session Info
## R version 4.4.1 (2024-06-14)
## Platform: x86_64-pc-linux-gnu
## Running under: Ubuntu 22.04.4 LTS
##
## Matrix products: default
## BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
## LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.20.so; LAPACK version 3.10.0
##
## locale:
## [1] LC_CTYPE=C.UTF-8 LC_NUMERIC=C LC_TIME=C.UTF-8
## [4] LC_COLLATE=C.UTF-8 LC_MONETARY=C.UTF-8 LC_MESSAGES=C.UTF-8
## [7] LC_PAPER=C.UTF-8 LC_NAME=C LC_ADDRESS=C
## [10] LC_TELEPHONE=C LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C
##
## time zone: UTC
## tzcode source: system (glibc)
##
## attached base packages:
## [1] stats graphics grDevices utils datasets methods base
##
## other attached packages:
## [1] lubridate_1.9.3 forcats_1.0.0 stringr_1.5.1 dplyr_1.1.4
## [5] purrr_1.0.2 readr_2.1.5 tidyr_1.3.1 tibble_3.2.1
## [9] ggplot2_3.5.1 tidyverse_2.0.0 vroom_1.6.5 DiagrammeR_1.0.11
## [13] shiny_1.9.1
##
## loaded via a namespace (and not attached):
## [1] sass_0.4.9 utf8_1.2.4 generics_0.1.3 stringi_1.8.4
## [5] hms_1.1.3 digest_0.6.36 magrittr_2.0.3 timechange_0.3.0
## [9] evaluate_0.24.0 grid_4.4.1 RColorBrewer_1.1-3 bookdown_0.40
## [13] fastmap_1.2.0 jsonlite_1.8.8 promises_1.3.0 fansi_1.0.6
## [17] scales_1.3.0 jquerylib_0.1.4 cli_3.6.3 rlang_1.1.4
## [21] crayon_1.5.3 visNetwork_2.1.2 bit64_4.0.5 munsell_0.5.1
## [25] withr_3.0.1 cachem_1.1.0 yaml_2.3.10 tools_4.4.1
## [29] tzdb_0.4.0 colorspace_2.1-1 httpuv_1.6.15 vctrs_0.6.5
## [33] R6_2.5.1 mime_0.12 lifecycle_1.0.4 htmlwidgets_1.6.4
## [37] bit_4.0.5 pkgconfig_2.0.3 pillar_1.9.0 bslib_0.8.0
## [41] later_1.3.2 gtable_0.3.5 glue_1.7.0 Rcpp_1.0.13
## [45] xfun_0.46 tidyselect_1.2.1 highr_0.11 rstudioapi_0.16.0
## [49] knitr_1.48 xtable_1.8-4 htmltools_0.5.8.1 rmarkdown_2.27
## [53] compiler_4.4.1