Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installing ShinyDash with Shiny Server #39

Open
Guiui21 opened this issue Mar 10, 2015 · 9 comments
Open

installing ShinyDash with Shiny Server #39

Guiui21 opened this issue Mar 10, 2015 · 9 comments

Comments

@Guiui21
Copy link

Guiui21 commented Mar 10, 2015

Hi,

I'm trying to download ShinyDash on my shiny server on CentOS. My problem is that with shiny server I have to install the package with root privilege so I have to do it through the terminal. When I do that, I get this error:

Error in contrib.url(repos, type) :
trying to use CRAN without setting a mirror

What should I do ?

Thanks.

@midraed
Copy link
Contributor

midraed commented Mar 10, 2015

Try specifying a repo before with options():

options("repos"="http://cran.us.r-project.org") 
# and them:
 install.packages("devtools")

@Guiui21
Copy link
Author

Guiui21 commented Mar 10, 2015

Yes but my problem is on installing ShinyDash and not devtools. I can install devtools with no problem but when i do sudo R -e "devtools::install_github("ShinyDash", "trestletech")", it doesn't work

@Guiui21
Copy link
Author

Guiui21 commented Mar 10, 2015

I have this problem for several packages from github

@midraed
Copy link
Contributor

midraed commented Mar 10, 2015

ShinyDash depends on shiny and XML, can you verify you have them installed?

Also, can you try running a R console in your server, and running the command devtools::install_github("ShinyDash", "trestletech") from the console?

@Guiui21
Copy link
Author

Guiui21 commented Mar 10, 2015

So, I have shiny and XML installed.
And when I run that code in my R console it works fine.
But still not working on my terminal.

@Guiui21
Copy link
Author

Guiui21 commented Mar 10, 2015

I take it back, I didn't have XML install correctly. Thank you !

@midraed
Copy link
Contributor

midraed commented Mar 10, 2015

Excellent! @trestletech can close this now!

@James816322
Copy link

I have a question that when I run the command that
devtools::install_github("ShinyDash", "trestletech"),
it cannot works and the error is
Error in parse_repo_spec(repo) : Invalid git repo specification: 'ShinyDash',
I don't know why,Could you give me some advice?

@tasukuigarashi
Copy link

@James816322 The following code would work:

devtools::install_github("trestletech/ShinyDash")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants