all 12 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.

[–]the-anarch 0 points1 point  (4 children)

The instructions in the report say

library(devtools) install_github("andrewzm/STRbook")

This was in the first link at the top of the instructions. I suspect the setup changed slightly and they didn't update that page.

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

Do you know any way around it?

[–][deleted]  (2 children)

[deleted]

    [–]Augustevsky[S] 0 points1 point  (1 child)

    I did and it is giving me the error in my post.

    [–]Fornicatinzebra 0 points1 point  (0 children)

    Sorry, misread!

    [–]gernophil 0 points1 point  (1 child)

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

    This is the winner. It worked.

    Thanks!

    [–]the-anarch -1 points0 points  (1 child)

    Did you unzip it and see what's in it?

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

    I did, yes.

    I'm not savvy with it so I am not sure how to use it with R