-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated README. Added ... parameter for shiny functions to pass parameters to runApp.
- Loading branch information
Showing
14 changed files
with
54 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
#' Run the PSA shiny application. | ||
#' | ||
#' @param ... other parameters passed to [shiny::runApp]. | ||
#' @export | ||
psa_shiny <- function() { | ||
shiny::runApp(paste0(find.package(package='psa'), '/shiny/psa')) | ||
psa_shiny <- function(...) { | ||
shiny::runApp( | ||
appDir = paste0(find.package(package='psa'), '/shiny/psa'), | ||
...) | ||
} | ||
|
||
#' Run the PSA simulation shiny application. | ||
#' | ||
#' @param ... other parameters passed to [shiny::runApp]. | ||
#' @export | ||
psa_simulation_shiny <- function() { | ||
shiny::runApp(paste0(find.package(package='psa'), '/shiny/psa_simulation')) | ||
psa_simulation_shiny <- function(...) { | ||
shiny::runApp( | ||
appDir = paste0(find.package(package='psa'), '/shiny/psa_simulation'), | ||
...) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file modified
BIN
-240 Bytes
(100%)
Slides/Intro_PSA_files/figure-html/unnamed-chunk-60-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-212 Bytes
(100%)
Slides/Intro_PSA_files/figure-html/unnamed-chunk-63-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.