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

there is no package called ‘shiny’ #34

Open
csjoannechang opened this issue Jul 5, 2018 · 9 comments
Open

there is no package called ‘shiny’ #34

csjoannechang opened this issue Jul 5, 2018 · 9 comments

Comments

@csjoannechang
Copy link

Hi Mike,

I am using MAC with High Sierra to run the RStudio 1.0.143. I got the error information showing "‘shiny’ had non-zero exit status". Then, I use tool to manually install the "shiny". It showed a 2.2MB file been download but still the "non-zero exit status" appeared again. When I library(shiny), it showed "no package called ‘shiny’".

What should I do? Thank you so much.
Best regards,
Joanne

step(1)-------------------------------------------------------------------
Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'zone/tz/2018c.1.0/zoneinfo/Europe/Zurich'
ERROR: dependency ‘promises’ is not available for package ‘shiny’

  • removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/shiny’
    Warning in install.packages :
    installation of package ‘shiny’ had non-zero exit status
    step(2)-------------------------------------------------------------------
    installing the source package ‘shiny’
    trying URL 'https://cran.rstudio.com/src/contrib/shiny_1.1.0.tar.gz'
    Content type 'application/x-gzip' length 2350156 bytes (2.2 MB)
    ==================================================
    downloaded 2.2 MB
    step(3)--------------------------------------------------------------------

library(shiny)
Error in library(shiny) : there is no package called ‘shiny’
runGitHub("SAM", "MikeJSeo")
Error: could not find function "runGitHub"

@MikeJSeo
Copy link
Owner

MikeJSeo commented Aug 1, 2018

dwoll/DVHmetrics#2

Seems like they had a similar issue installying shiny.

@SamGG
Copy link

SamGG commented Aug 1, 2018

Not sure, but your link could help.
I am wondering whether the promises package has been installed as it is the ERROR line.
install.packages("promises")

@csjoannechang
Copy link
Author

csjoannechang commented Aug 1, 2018 via email

@hongyaochen
Copy link

I also struggled to use SAMR on Mac but failed,and I have not found a solution to solve the problem.So I wonder you how to run it on win10 please.Thank you so much.

@csjoannechang
Copy link
Author

csjoannechang commented Aug 31, 2018 via email

@hongyaochen
Copy link

thanks so much, but I cannot install samr with R,could you get it?

@SamGG
Copy link

SamGG commented Aug 31, 2018

Take a look at #35 and let us know.

@hongyaochen
Copy link

hi Sam, after installed "devtools",I did something as what you said,but I met a issue,what should I do?thanks

library(devtools)
install_github("cran/samr")
Downloading GitHub repo cran/samr@master
from URL https://api.github.com/repos/cran/samr/zipball/master
Installing samr
试开URL’https://mirrors.eliteu.cn/CRAN/bin/macosx/el-capitan/contrib/3.5/matrixStats_0.54.0.tgz'
Content type 'application/x-gzip' length 1887128 bytes (1.8 MB)
==================================================
downloaded 1.8 MB

Installing matrixStats
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL
'/private/var/folders/5c/r496qy2n6sq6w7jlg65br8lh0000gn/T/RtmpCO9Rpo/devtools1c932471ca9c/matrixStats'
--library='/Library/Frameworks/R.framework/Versions/3.5/Resources/library' --install-tests

  • installing binary package ‘matrixStats’ ...
  • DONE (matrixStats)
    '/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL
    '/private/var/folders/5c/r496qy2n6sq6w7jlg65br8lh0000gn/T/RtmpCO9Rpo/devtools1c936ae22326/cran-samr-4f4a4da'
    --library='/Library/Frameworks/R.framework/Versions/3.5/Resources/library' --install-tests

ERROR: dependency ‘impute’ is not available for package ‘samr’

  • removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/samr’
    Installation failed: Command failed (1)

@SamGG
Copy link

SamGG commented Sep 1, 2018

samr depends on the impute package. impute (previously on CRAN) is available on Bioconductor. This is why R could not solve this dependency automatically. So install impute using the command below, then install samr again.

## try http:// if https:// URLs are not supported
source("https://bioconductor.org/biocLite.R")
biocLite("impute")

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