Watts-College / cpp-527-fall-2021

A course shell for CPP 527 Foundations of Data Science II
https://watts-college.github.io/cpp-527-fall-2021/
2 stars 6 forks source link

Final Project - Unable to install 'genderdata' #55

Open Rami-Assaad opened 3 years ago

Rami-Assaad commented 3 years ago

Dear Prof. @lecy ,

When I'm trying to install gender data using:

> remotes::install_github("lmullen/genderdata")

or > install_github("ropensci/genderdata")

or > install_genderdata_package()

I'm getting the following error: Downloading GitHub repo lmullen/genderdata@HEAD Error in utils::download.file(url, path, method = method, quiet = quiet, : cannot open URL 'https://api.github.com/repos/lmullen/genderdata/tarball/HEAD'

I've tried also:

> install.packages("genderdata", repos = "http://packages.ropensci.org")

Warning in install.packages : package ‘genderdata’ is not available for this version of R A version of this package for your version of R might be available elsewhere, see the ideas at https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

I'm not able to proceed below step 03 without genderdata package. How can I solve this issue?

Thanks in advance

lecy commented 3 years ago

Can you download the tarball from the link?

https://api.github.com/repos/lmullen/genderdata/tarball/HEAD

lecy commented 3 years ago

Not sure if the last argument would make a difference:

install.packages( "genderdata",
                 repos = "http://packages.ropensci.org",
                 type = "source")
lecy commented 3 years ago

Any luck?

Rami-Assaad commented 3 years ago

Thank you very much! yes, I have installed the .tar file from the link and install it manually in R.