Issues installing github packages on macOS

On a macOS machine, I try to install a GitHub package primer.data by running remotes::install_github("PPBDS/primer.data") in Rstudio console and I get this error:

Error in utils::download.file(url, path, method = method, quiet = quiet, : download from 'https://api.github.com/repos/PPBDS/primer.data/tarball/HEAD' failed

Why is this happening? I never had problems like this on my old Windows machine. I am able to install CRAN packages like tidyverse, remotes, and usethis just fine.

I also made this StackOverflow thread about the same problem if you want to check it out: macos - Why am I unable to use my Mac to download this R package from GitHub? - Stack Overflow

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.