From 736c3dace9faa5e0eceebad5a2499a756530f5bd Mon Sep 17 00:00:00 2001 From: Athanasia Monika Mowinckel Date: Fri, 8 Mar 2019 19:49:21 +0100 Subject: [PATCH] added some debug for R shiny --- docs/source/faq.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/source/faq.rst b/docs/source/faq.rst index 6ad01baa..b54c0336 100644 --- a/docs/source/faq.rst +++ b/docs/source/faq.rst @@ -53,6 +53,8 @@ Only R 3.4.4 is currently supported, which is installed via ``apt`` from the `ubuntu bionic repository `_. + + Why is my repository is failing to build with ``ResolvePackageNotFound`` ? -------------------------------------------------------------------------- @@ -139,6 +141,18 @@ This allows for easy testing of the container while debugging some items, as well as using a fully customizable container to edit notebooks (among others). + +Why is my R shiny app not launching? +---------------------------------------------------------------------------------- + +If you are trying to run an R shiny app using the ``/shiny/folder_containing_shiny`` +url option, but the launch returns "The application exited during initialization.", +there might be something wrong with the specification of the app. One way of debugging +the app in the container is by running the ``rstudio`` url, open either the ui or +server file for the app, and run the app in the container rstudio. This way you can +see the rstudio logs as it tries to initialise the shiny app. If you a missing a +package or other dependency for the container, this will be obvious at this stage. + .. note:: Editable mode is a convenience option that will bind the