IQSS / Zelig

A statistical framework that serves as a common interface to a large range of models
http://zeligproject.org
109 stars 43 forks source link

Package not available on CRAN and R #336

Open gustavobrp opened 4 years ago

gustavobrp commented 4 years ago

Hello, I tried to install and load the zeligversepackage at R Studio, but I got the following message:

Warning in install.packages: package ‘zeligverse’ is not available (for R version 3.6.2).

Also, when I try to access the CRAN page of the package it informs that it was removed from Cran:

Package ‘zeligverse’ was removed from the CRAN repository.

Formerly available versions can be obtained from the archive.

Archived on 2020-03-07 as depends on archived package 'WhatIf'.

Please use the canonical form https://CRAN.R-project.org/package=zeligverse to link to this page.

Is there a problem with the package? Is there another way to install it?

Thanks

andyphilips commented 4 years ago

Seconded.

Right now I'm just using an old version source code which you can use: install.packages('https://cran.r-project.org/src/contrib/Archive/Zelig/Zelig_5.1.6.1.tar.gz', repos = NULL, type = 'source')

But yeah I started to teach this in class today, only to find that 200 undergrads can't locate the program...

cchoirat commented 4 years ago

Sorry to hear. It's been a while on my end but I will try to give it a look over the next days.

kbrown commented 4 years ago

I needed to add http:

install.packages('http://cran.r-project.org/src/contrib/Archive/Zelig/Zelig_5.1.6.1.tar.gz', repos = NULL, type = 'source')

kbrown commented 4 years ago

Sorry to hear. It's been a while on my end but I will try to give it a look over the next days.

My wife ( dissertation 3 days away) thanks y'all for the package and the workaround.

michellerh330 commented 3 years ago

Hello! Thanks for this solution. It looked like it was going to work, but now it doesn't....any ideas??

Warning in install.packages : installation of package ‘/var/folders/_q/3rb0g_q56cx_2hgs_bxnkcdw0000gn/T//RtmpdroF8c/downloaded_packages/Zelig_5.1.6.1.tar.gz’ had non-zero exit status

Rachel-Sanchez commented 3 years ago

你好!感谢您的解决方案。看起来像它会起作用,但是现在没有。...任何想法??

install.packages中的警告: 软件包“ /var/folders/_q/3rb0g_q56cx_2hgs_bxnkcdw0000gn/T//RtmpdroF8c/downloaded_pa​​ckages/Zelig_5.1.6.1.tar.gz”的安装状态为非零

me too, did you solve it ?

vaelgates commented 3 years ago

After getting the above error, doing the following worked for me:

install.packages('AER') install.packages('Formula') install.packages('geepack') install.packages('sandwich') install.packages('MatchIt') install.packages('maxLik') install.packages('MCMCpack') install.packages('survey') install.packages('VGAM') install.packages('https://cran.r-project.org/src/contrib/Archive/Zelig/Zelig_5.1.6.1.tar.gz', repos = NULL, type = 'source')

Noorsaud commented 3 years ago

This is a good news. Which R version have you used?

vaelgates commented 3 years ago

4.0.0. Basically, I tried install.packages('https://cran.r-project.org/src/contrib/Archive/Zelig/Zelig_5.1.6.1.tar.gz', repos = NULL, type = 'source') and Terminal gave me a bunch of errors about not being able to import specific packages, so I imported those packages and then it worked.

tercer commented 3 years ago

Quick update that Zelig is back up on CRAN. Give it a day or two to propagate to your favorite CRAN mirrors. ZeligChoice will take a couple days beyond that.

Thanks to @rtreacy (new maintainer) and @cchoirat (long-standing pillar).