Shiny as a package
In Chapter 1, Introducing R, RStudio, and Shiny, we learned that Shiny is a package. Packages in R, in most cases, are a collection of functions (in some cases, also datasets) that serve certain objectives. For example, the glm
package provides the necessary functions to run general linear models. Packages can also use functions from other packages. In this case, it is said that these packages depend on the package/s that contain the functions that are being used.
Shiny is then a package that contains a set of functions to build web applications within R. However, Shiny is a special package in the following two ways:
Firstly, for the correct use of its functions, it is necessary to organize the files in a specific structure
Secondly, the syntax of its functions is also slightly different