Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • net install from GitHub fails

    Dear all,

    I am trying to make a package installable from GitHub via the command -net install-. I have provided on GitHub all the files required, including the stata.toc file, but the package still cannot be installed (the message "nothing to install" appears when the following command is issued:

    Code:
    net install qstat, replace from(https://github.com/irubil/qstat/blob/main/)
    Here is a link to GitHub: https://github.com/irubil/qstat

    How can I make the package installable using -net install-?

    Thanks.

    ir
    // ivica_rubil //

  • #2
    You must create a pkg-file. See

    Code:
    help usersite
    and the respective pdf entries for a detailed description.

    EDIT: OK, you already did that.

    Try

    Code:
    net from "https://raw.githubusercontent.com/irubil/qstat/main"
    Last edited by daniel klein; 13 Aug 2021, 16:21.

    Comment


    • #3
      I'm not sure what the programmer needs to do, but anyone who wants to install from github may want to first install E. F. Haghish's github program:

      https://haghish.github.io/github/ (description of program)

      or just do

      Code:
      net install github, from("https://haghish.github.io/github/")
      To get qstat,

      Code:
      github install irubil/qstat
      Last edited by Richard Williams; 13 Aug 2021, 16:52.
      -------------------------------------------
      Richard Williams, Notre Dame Dept of Sociology
      StataNow Version: 19.5 MP (2 processor)

      EMAIL: [email protected]
      WWW: https://www3.nd.edu/~rwilliam

      Comment


      • #4
        Daniel and Richard,

        thanks to both of you. The issue was that I used the wrong link. The right link is the one Daniel provided.

        Ivica
        // ivica_rubil //

        Comment

        Working...
        X