You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -13,45 +13,109 @@ The `{shinyfa}` package is designed to help Shiny developers analyze and underst
13
13
14
14
Large Shiny applications often contain numerous files that define both dynamic UI and server components, sometimes linked together in complex sourcing chains (though this is less common in Shiny apps structured with modules). For new contributors—such as consultants joining a project—it can take considerable time to onboard, navigate the codebase, and identify areas for optimization.
15
15
16
-
This in-progress package aims to streamline that process by extracting key information from a Shiny app directory. It identifies specific render functions, reactive functions, and their inputs, organizing them into a structured `data.frame` for easy reference.
16
+
This package aims to streamline that process by extracting key information from a Shiny app directory. It identifies specific render functions, reactive functions, and their inputs, organizing them into a structured `data.frame` for easy reference.
17
17
18
18
The *fa* in *shinyfa* stands for *file analysis*.
19
19
20
-
## Installation
20
+
## 🎯 Why use shinyfa?
21
21
22
-
You can install the development version of {shinyfa} from [GitHub](https://github.com/) with:
22
+
-**📊 Audit reactive dependencies**: Quickly understand which inputs affect which outputs across your entire app
23
+
-**🔍 Identify unused code**: Find reactive expressions and render functions that may no longer be used
24
+
-**🗺️ Map data flow**: Visualize how data flows through complex Shiny applications with multiple modules
25
+
-**📚 Generate documentation**: Create instant reference guides for new team members joining the project
26
+
-**⚡ Optimize performance**: Identify potential bottlenecks by understanding reactive chains
27
+
28
+
## 📦 Installation
29
+
30
+
Install from CRAN:
31
+
32
+
```r
33
+
install.packages("shinyfa")
34
+
```
35
+
36
+
Or install the development version from GitHub:
23
37
24
38
```r
25
-
# install.packages("pak")
39
+
# Install from GitHub
40
+
devtools::install_github("dalyanalytics/shinyfa")
41
+
42
+
# Or using pak
26
43
pak::pak("dalyanalytics/shinyfa")
27
44
```
28
45
29
-
## Example
46
+
## 🚀 Usage
47
+
48
+
### Basic Example
30
49
31
-
This is a basic example which shows you how to solve a common problem for looping through a directory that contains server files:
0 commit comments