yijuanhu / LDM-Archive

Linear Decomposition Model
24 stars 4 forks source link

Warning in install.packages : non-zero exit status #3

Open g-antonello opened 2 years ago

g-antonello commented 2 years ago

Dear Yi, Thank you for these intersting tools. I am trying to load this package on my Windows 10 machine under R 4.1.2. so I downloaded the LDM 4.0 tarball and did install.packages("~/Downloads/LDM_4.0.tar.gz", repos = NULL), but the installation returns the classic warning (non-zero exit status), so installation failed.

Any clue what might be happening?

I downloaded the tar.gz files by clicking on the package version on GitHub and then clicking the "download" button.

I also tried version 3, but same outcome.

All the Best Giacomo

nvpatin commented 2 years ago

I had the same problem trying to install this package in RStudio on a Mac OS.

nvpatin commented 2 years ago

Update: I had used wget to download the tar.gz file, but it only pulled a html file. I clicked on the GitHub file link and then clicked "Download" which gave me the actual tar.gz file. Then I was able to install with the instructions (after installing some dependencies as well).