conroylau / lpinfer

lpinfer: An R Package for Inference in Linear Programs
GNU General Public License v3.0
3 stars 5 forks source link

Install is failing #90

Closed a-torgovitsky closed 4 years ago

a-torgovitsky commented 4 years ago
devtools::install_github("conroylau/lpinfer")
Using github PAT from envvar GITHUB_PAT
Downloading GitHub repo conroylau/lpinfer@HEAD
✓  checking for file ‘/tmp/RtmpixtV8f/remotes258226d0c0179/conroylau-lpinfer-b65853ced154476a7a8df24a9f3971924f4a6cb7/DESCRIPTION’ ...
   cp: cannot stat 'conroylau-lpinfer-b65853ced154476a7a8df24a9f3971924f4a6cb7/README.md': No such file or directory
    ERROR
   copying to build directory failed
Error: Failed to install 'lpinfer' from GitHub:
  System command 'R' failed, exit status: 1, stdout + stderr:
E> * checking for file ‘/tmp/RtmpixtV8f/remotes258226d0c0179/conroylau-lpinfer-b65853ced154476a7a8df24a9f3971924f4a6cb7/DESCRIPTION’ ... OK
E> cp: cannot stat 'conroylau-lpinfer-b65853ced154476a7a8df24a9f3971924f4a6cb7/README.md': No such file or directory
E>  ERROR
E> copying to build directory failed

Maybe it has to do with linking the README.md?

I am rewriting the README.md into two parts: 1) A short thing to go on the front of the GitHub page 2) A longer PDF document with the mathematical formulation and background, as well as examples of usage.

I am incorporated what you have written into these.

So for now I think you can just do whatever is easiest so that the package installs.

a-torgovitsky commented 4 years ago

I just deleted the README.md link via c3f9b15 I guess the problem was the link didn't point anywhere!

conroylau commented 4 years ago

I see. I think the relative link that I have used only works well on GitHub. The full path has to be specified on the computer, so there was an error in installing the package.

a-torgovitsky commented 4 years ago

Ok, don't worry about this, I will put up a new README and vignette this week.

conroylau commented 4 years ago

I see, thank you!