Reputation: 4109
I just put a package on github but am having trouble installing it using install_github(). The package is at https://github.com/nancyorgan/mapcalc
I've tried
install_github(repo = "mapcalc", username = "nancyorgan")
install_github("nancyorgan/mapcalc")
install_github(repo = "mapcalc", username = getOptions("nancyorgan"))
but the error I get is 'unable to find a non-generic version of function "initialize"'
I have devtools installed. Is there just a syntactical error? My package works fine when I install it from a local directory on my computer.
Upvotes: 1
Views: 336
Reputation: 30445
You have your package as a sub directory of the github repository try:
devtools::install_github('nancyorgan/mapcalc/mapcalc')
this seemed to work for me althou I didnt try any of the package functionality.
Upvotes: 1