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

scale_color_cosmic() function didn't work #9

Closed
Wellington9023 opened this issue Mar 29, 2020 · 3 comments
Closed

scale_color_cosmic() function didn't work #9

Wellington9023 opened this issue Mar 29, 2020 · 3 comments

Comments

@Wellington9023
Copy link

Error in scale_color_cosmic("hallmarks_light") :
could not find function "scale_color_cosmic"

@nanxstats
Copy link
Owner

It's not in the CRAN version yet. Try the development version:

remotes::install_github("nanxstats/ggsci")

@Wellington9023
Copy link
Author

Thanks for reply!
I used this code showing Error

remotes::install_github("nanxstats/ggsci")
Downloading GitHub repo nanxstats/ggsci@master
Error in utils::download.file(url, path, method = method, quiet = quiet, :
cannot open URL 'https://api.github.com/repos/nanxstats/ggsci/tarball/master'

and then I tried this,it seemed to work

options(download.file.method = "libcurl")
devtools::install_github("nanxstats/ggsci")

@nanxstats
Copy link
Owner

Glad to see it resolved.

That seems to be a wget/network issue, linking a relevant issue here: r-lib/remotes#130.

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

2 participants