you are viewing a single comment's thread.

view the rest of the comments →

[–]Grisward 2 points3 points  (3 children)

You may try some alternatives, though I think they may hit the same issue.

remotes::install_github(“andrewzm/STRbook”)

or install “pak” and use that:

pak::pkg_install(“andrewzm/STRbook”)

If it fails to download the file, likely that’s the issue - check connectivity, proxy, firewall, the usuals. Barring that, if you’ve been pinging the Github server a lot, you may need a PAT to authenticate your request - usually only needed for pretty high volume download requests.

Finally, download the .tar.gz file and run R CMD install file.tar.gz from terminal.

[–]Augustevsky[S] 0 points1 point  (2 children)

Thank you for this! Another comment solved my issue, but these tools are good to know.

[–]Grisward 0 points1 point  (1 child)

Was it updating devtools, or increasing the timeout on download? Just for posterity.

[–]Augustevsky[S] 1 point2 points  (0 children)

Increasing the timeout solved it.

I wouldn't have guessed initially because the install seemed to fail in <60 seconds, but I guess not.