question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

R shiny with a package installed from github

See original GitHub issue

This comes from https://github.com/jupyterhub/mybinder.org-deploy/issues/907 reported by @Athanasiamo:

Hi. Is there any way to install a package from github in a binderhub shiny app deploy?

I’ve tried adding devtools::install_github() in the install.R file, (after devtools install ofc), but that > does not seem to do it? At least the build is failing.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

3reactions
drmowinckelscommented, Mar 8, 2019

omg! I’m missing shinydashboard from the install.R. That is pretty facepalmy. Just pushed a new version adding it, can’t believe I missed it. Hoping this is the fix to all the issues, but as you note, being able to get more info on where things are failing would be amazing. I had not even thought that the RStudio instance might be able to run the shiny app, that is a very nice trick to know for future debugging.

1reaction
drmowinckelscommented, Mar 8, 2019

the shiny app it self is running just fine locally, also in completely new R sessions. I have no experience with working with rshiny server though. This app also launches just fine on shinyapps.io, so I’m quite confident it is not the app it self, but likely something wrong in the specification between the app and repo2docker, but it is really hard to debug with the sparse information repo2docker is giving.

Read more comments on GitHub >

github_iconTop Results From Across the Web

R shiny with a package installed from github · Issue #611
Hi. Is there any way to install a package from github in a binderhub shiny app deploy? I've tried adding devtools::install_github() in the ......
Read more >
Shiny app which depends on package on GitHub?
I want to deploy a shiny app which depends on a package on GitHub - how can I do this? All tries failed,...
Read more >
Shiny - install.packages - R Project
Shiny is a new package from RStudio that makes it incredibly easy to ... To install the latest development builds directly from GitHub,...
Read more >
Using private GitHub package with ShinyApps.io
To install from a private repo, use auth_token with a token from https://github.com/settings/tokens. You only need the repo scope. Best practice ...
Read more >
Installing shinyBS - GitHub Pages
Installing Shiny. shinyBS extends the functionality of shiny so you need to install Shiny to use it. In the R console type: install.packages("shiny") ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found