Install a Package in GitHub

I need to install a package hosted in GitHub. It exists in CRAN, but the package's developer just added some important features to it in GitHub, which is not available to the CRAN version. I tried to use the remotes:install_github but failed. Then I noticed that the package has no releases in GitHub. It seems that I need to build it myself. How should I proceed?

You could try the devtools package:

install_github("DeveloperName/PackageName")

If your package is failing due to a 'non-zero exit status' error, try this:

Sys.setenv("R_REMOTES_NO_ERRORS_FROM_WARNINGS" = "true")

Then back to

remotes::install_github("kgellatl/COLDNet")

I just learned about the fix recently. It's Freakin' sweet!

Can you post the actual error message you get? that could give as a clue

Also, the "fix" from the previous post only works if you are in a situation where errors are being converted from warnings

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.