No shiny application exists
I have followed instructions as outlined here in order to create a continuously installing app. This package has the shiny app in it's inst/app directory. I have created a release with a tag that matches the version in the DESCRIPTION file.
I have run (full code here)
create_app(
app_name = "5eInteractiveSheetCI",
app_repo_url = "https://github.com/oganm/import5eChar",
pkgs = depends,
app_dir = 'sheetCI',include_R = TRUE
)
compile_iss()
In order to create the installer (depends is a vector of dependencies). Yet when I complete installation and try to run it, I get No shiny application exists at path "/app" error. Am I missing something obvious here?
A non-continuous installation version of the app works just fine.
Sorry, I've been meaning to update the docs to make this more clear. The repo name (import5eChar) has to be the same as the app_name (5eInteractiveSheetCI) for this to work properly.
Does this work for you?
create_app(
app_name = "import5eChar",
app_repo_url = "https://github.com/oganm/import5eChar",
pkgs = depends,
app_dir = 'sheetCI',
include_R = TRUE
)
compile_iss()
Aah I guess I assumed that line was a mere suggestion. Thanks!
Can we close this out then?
Hi @Dripdrop12!
I'm having the same issue that @oganm was encountering with No shiny application exists at path "/app" error.
Similarly, I have followed instructions as outlined here in order to create a continuously installing app. This package has the shiny app in its inst/app directory. I have created a release with a tag that matches the version in the DESCRIPTION file. Both the repo name 'simpleApp' and the app_name 'simpleApp' match.
My code is:
cran_pkgs <- c("shiny")
create_app(app_name = "simpleApp",
app_repo_url = "https://github.com/dbunsko/simpleApp",
app_dir = "C:/Users/.../simpleApp/inst/app", # Path shortened for readability
pkgs = cran_pkgs,
include_R = TRUE,
include_Chrome = TRUE,
default_dir="userdesktop",
compression = "bzip"
)
compile_iss()
A non-continuous installation works fine as well. My actual shiny app is much larger and more complex so I've distilled it down to the simplified version above.
After running setup_simpleApp.exe, the error occurs when trying to run the installed application.
Any idea as to what is causing this error? Thank you.
I do not get the error when I do a continuous installation at home on my network. But I get the error when attempting to run the application from my work computer. I suspect the firewall at my company is stopping responses from GitHub.
Do you have any ideas as to how to go about this issue? Firewall exceptions for Inno or the installed application?
@Dripdrop12 Hey man, sorry to bother you, but I'm having this exact same issue. Non continuous installation works, but continuous doesn't:
Here's my code:
library(RInno)
create_app(
app_name = "AppInventarioNativas",
app_dir = "RInno_files",
app_version = "2.0.9",
app_repo_url = "https://github.com/sollano/AppInventarioNativas",
pkgs = c("shiny", "DT", "formattable", "readxl", "plyr", "tidyr","dplyr", "ggplot2", "lazyeval", "ggdendro","ggthemes","openxlsx"),
app_icon = "LAB_logo.ico",
setup_icon = "LAB_logo.ico",
publisher = "Treelab ufvjm",
pub_url = "http://gorgens.wixsite.com/treelab",
dir_out = "exe_folder",
info_before = "info_before.txt",
info_after = "info_after.txt"
)
compile_iss()
@sollano, @dbunsko et al - try adding "AppInventarioNativas" to the pkgs list. However, I think we may have broken the continuous integration feature in v1.0.0 when we revised the package management strategy.
@dbunsko to debug the internet connection issue, you can try running a bare-bones installation of the package on your work network with something like devtools::github_install("username/repo"), or check the log file on the installed app.
@Dripdrop12, @sollano, Any updates on this? I can't get a continuous installation to work either. Locally, the exact same app works great.