You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did a fresh install of github and used it to install rcall. During the installation process its dependency.do queried for the github version, which isn't in the dataset, giving the following error:
. quietly github version github
github package was not found
Right. The problem is that github version reads from file g/github.dta , which is updated with the subcommand githubdb add. This subcommand is executed inside github install right after the Stata package is installed using net install. One solution is suggest the following in the instructions
net install github, from("https://haghish.github.io/github/")
github install haghish/github
This is clearly a bug. If a user does not have github installed, they must use the "net install" method. But if this method is used, installing rcall fails unless the user realizes that they must install github twice for it to actually work.
Activity
randrescastaneda commentedon Apr 26, 2022
Did you use
githubto installgithub? Say,github install haghish/github. If you do, it works fine.@bquistorff
bquistorff commentedon Apr 26, 2022
No, I did a
net installfollowing the instructions).randrescastaneda commentedon Apr 29, 2022
Right. The problem is that
github versionreads from fileg/github.dta, which is updated with the subcommandgithubdb add. This subcommand is executed insidegithub installright after the Stata package is installed usingnet install. One solution is suggest the following in the instructionsnet install github, from("https://haghish.github.io/github/") github install haghish/githubor
I know. It is overkill, but I don't see another way to solve it.
bquistorff commentedon Apr 29, 2022
If they are feasible, a few other options that don't require user changes could be:
github versionhas a special check forgithub.github version(or any other command that depends on the info), first checks if it's listed ing/github.dtaand if not, does thegithubdb add.mronkko commentedon Sep 14, 2024
This is clearly a bug. If a user does not have github installed, they must use the "net install" method. But if this method is used, installing rcall fails unless the user realizes that they must install github twice for it to actually work.