Re: [R-pkg-devel] R CMD check halts on @example in shiny::runApp()

2018-11-19 Thread Hadley Wickham
On Mon, Nov 19, 2018 at 8:14 AM L Rutter wrote: > > Hello all: > > R CMD check does not complete for my package and halts at the line "* > checking examples ..." I suspect the halting is due to @examples > hanging in certain R/foo.R files, where shiny::runApp() is called for > a shiny app located

Re: [R-pkg-devel] R CMD check halts on @example in shiny::runApp()

2018-11-19 Thread L Rutter
Hi Joris Meys: Thank you for your helpful response and confirmation that \dontrun{} is necessary for shiny examples. Lindsay On Mon, Nov 19, 2018 at 10:17 AM Joris Meys wrote: > > Hi Lindsay, > > this is normal and to be expected, as shiny blocks R and shifts focus to the > browser. This only m

Re: [R-pkg-devel] R CMD check halts on @example in shiny::runApp()

2018-11-19 Thread Joris Meys
Hi Lindsay, this is normal and to be expected, as shiny blocks R and shifts focus to the browser. This only makes sense in interactive modus, as your app needs input from a user before it does anything. So for your shiny examples, you always have to use \dontrun{}. Cheers Joris On Mon, Nov 19, 2

[R-pkg-devel] R CMD check halts on @example in shiny::runApp()

2018-11-19 Thread L Rutter
Hello all: R CMD check does not complete for my package and halts at the line "* checking examples ..." I suspect the halting is due to @examples hanging in certain R/foo.R files, where shiny::runApp() is called for a shiny app located in a separate directory in this type of format: appDir <- sys