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

Can't install package #33

Open
areich42 opened this issue Jan 17, 2023 · 3 comments
Open

Can't install package #33

areich42 opened this issue Jan 17, 2023 · 3 comments

Comments

@areich42
Copy link

I'm trying to install it like this:

install.packages("remotes")
remotes::install_github("davidsjoberg/ggsankey")

and I get this error.

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

the package is not installed. I found reference to this package on several sitesand all give this method for istalling it.

@areich42
Copy link
Author

I get the same error when using devtools (as in the description here)

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

@SaqibManzoor0786
Copy link

Please try using pacman package:
pacman::p_load_gh("davidsjoberg/ggsankey")

@virologist
Copy link

Please try using pacman package: pacman::p_load_gh("davidsjoberg/ggsankey")

It's works for me. Tks a lot.

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

3 participants