zdk123 / SpiecEasi

Sparse InversE Covariance estimation for Ecological Association and Statistical Inference
GNU General Public License v3.0
191 stars 67 forks source link

Unable to install SpiecEasi (Pulsar is removed from CRAN) #227

Closed kawanoii closed 1 year ago

kawanoii commented 1 year ago

Hi, I cant install SpiecEasi, it seem like the Pulsar package is missing and cannot install from CRAN repository.

According to https://cran.r-project.org/web/packages/pulsar/index.html Package ‘pulsar’ was removed from the CRAN repository. Formerly available versions can be obtained from the archive. Archived on 2022-11-25 as issues were not corrected in time.

I have tried to manually extract all Pulsar file to R library, but it still missing some ENV. I think that is because I was not install Pulsar from install.packages()

devtools::install_github('zdk123/SpiecEasi') Downloading GitHub repo zdk123/SpiecEasi@HEAD Skipping 1 packages not available: pulsar ✔ checking for file 'C:\temp\RtmpkjGpkf\remotes1a802b7b7f49\zdk123-SpiecEasi-41448ad/DESCRIPTION' ─ preparing 'SpiecEasi': ✔ checking DESCRIPTION meta-information ... ─ cleaning src ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories Removed empty directory 'SpiecEasi/inst' ─ looking to see if a 'data/datalist' file should be added ─ building 'SpiecEasi_1.1.2.tar.gz'

Thanks,

kawanoii commented 1 year ago

Never mind, I have solved it by using the archived package to install Pulsar. Shame! I thought it was just extracting all files to the lib dir. XD

zdk123 commented 1 year ago

Thanks. Apologies I could not fix pulsar on time, newly failing tests are due to a change in an underlying dependency but nothing has changed in the package. Pulsar is also on GitHub: github.com/zdk123/pulsar