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
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Example Shiny application adopting the recommendations of "Ten Quick Tips for Developing a Reproducible Shiny Application", Brun et al, 2025, PLOS Computational Biology.
4
4
5
-
In this example, we are reusing the Faithful Shiny app example (<https://shiny.posit.co/r/gallery/start-simple/faithful/>) provided as part of the R `shiny` package. This Shiny application displays eruption data for the Old Faithful geyser.
5
+
In this example, we are reusing the [Faithful Shiny app example](https://shiny.posit.co/r/gallery/start-simple/faithful/) provided as part of the R ***shiny*** package. This Shiny application displays eruption duration in minutes for the Old Faithful geyser.
6
6
7
7
## Tips demonstrated
8
8
@@ -12,7 +12,7 @@ In this example, we are reusing the Faithful Shiny app example (<https://shiny.p
12
12
- Record the output of `sessionInfo()`
13
13
- Document and develop incrementally
14
14
- Comment UI elements
15
-
- Make your Shiny application modualr and portable
15
+
- Make your Shiny application modular and portable
16
16
- Organize code and data
17
17
- Use relative paths and `file.path`
18
18
- Preprocess and cache data for performance
@@ -65,11 +65,11 @@ This repository has the following file structure:
65
65
66
66
### Virtual computing environment
67
67
68
-
This app uses `renv` to create a virtual environment
68
+
This app uses ***renv*** to create a virtual environment
69
69
70
70
-`renv.lock`: list of the R packages used by the virtual environment
71
71
-`.Rprofile`: ensures that the library is used every time you open that project
72
-
-`renv/activate.R`: R script sourced by .Rprofile to activate the virtual environment
72
+
-`renv/activate.R`: R script sourced by `.Rprofile` to activate the virtual environment
@@ -79,7 +79,7 @@ This app uses `renv` to create a virtual environment
79
79
80
80
## References
81
81
82
-
The underlying data is available as part of R package datasets. The version used is distributed with R 4.5.0. This version is a simplified
83
-
of the original data collected by Azzalini, A. and Bowman, A. W. (1990). See metadata.md in the `data` directory for more information.
82
+
The underlying data is available as part of R package ***datasets***. The version used is distributed with R 4.5.0. This version is a simplification
83
+
of the original data collected by Azzalini, A. and Bowman, A. W. (1990). See `metadata.md` in the `data` directory for more information.
84
84
85
85
Cite this work as: Brun, J., Janée, G., & Curty, R. G. (2025). Example Shiny application adopting the recommendations from "Ten Quick Tips for Developing a Reproducible Shiny Application" [Computer software]. <https://github.com/UCSB-Library-Research-Data-Services/shiny-qt-examples>
0 commit comments