diff --git a/R/imagefluencyApp.R b/R/imagefluencyApp.R index 5734f00..217e109 100644 --- a/R/imagefluencyApp.R +++ b/R/imagefluencyApp.R @@ -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 == "") {