Skip to content

Commit

Permalink
Reverse if(interactive) replacement for shiny app
Browse files Browse the repository at this point in the history
  • Loading branch information
stm committed Feb 20, 2024
1 parent 6fbe1f7 commit cde3c73
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions R/imagefluencyApp.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ NULL
#' @export
#'
#'
#' @examplesIf interactive()
#' @examples
#' ## Only run this example in interactive R sessions
#' run_imagefluency()
#' if (interactive()) {
#' run_imagefluency()
#' }
run_imagefluency <- function() {
appDir <- system.file("imagefluencyApp", package = "imagefluency")
if (appDir == "") {
Expand Down

0 comments on commit cde3c73

Please sign in to comment.