Hey I've been trying to install package developer versions from github without any success. When I try
devtools::install_github("tidyverse/dplyr") I get:
Downloading GitHub repo tidyverse/dplyr@HEAD Error in utils::download.file(url, path, method = method, quiet = quiet, : cannot open URL 'https://api.github.com/repos/tidyverse/dplyr/tarball/HEAD'
pak::pak("tidyverse/dplyr") and get:
→ Will update 1 package. → Will download 1 package with unknown size. + dplyr 1.0.10 → 184.108.40.20600 [bld][cmp][dl] (GitHub: 94df8bf) ? Do you want to continue (Y/n) y ℹ Getting 1 pkg with unknown size ✖ Failed to download dplyr 220.127.116.1100 (source) ✖ Failed to download 1 package. Error: ! error in pak subprocess Caused by error: ! Failed to download dplyr from `https://api.github.com/repos/tidyverse/dplyr/zipball/94df8bf78f1c259caa95a601d78154ad46cf7db6`. Type .Last.error to see the more details.
And when decided download the zip to install it manually:
My OS is windows 10, I am using RStudio version 2022.12.0-353 and R version 4.2.2 (2022-10-31 ucrt) -- "Innocent and Trusting". I am guessing that something isn't working properly on my side, so I would like to know if anyone has faced a similar problem lately and know any solution.