RPVote / eiCompare

Comparing ecological inference techniques
https://rpvote.github.io/voting-rights/
6 stars 7 forks source link

eiCompare error downloading from Github #142

Open eddie-41 opened 1 year ago

eddie-41 commented 1 year ago

I understand that eiCompare is no longer available on CRAN. Instead users are advised to download from GitHub. I have attempted to download eiCompare from github but am unable to do so. Below is the output.

remotes::install_github('RPVote/eiCompare') Downloading GitHub repo RPVote/eiCompare@HEAD √ checking for file 'C:\Users\eddie_pyx719q\AppData\Local\Temp\Rtmp2jmKYM\remotes30146e615701\RPVote-eiCompare-cbdac0f/DESCRIPTION' ... preparing 'eiCompare': (614ms) √ checking DESCRIPTION meta-information ... E checking vignette meta-information ... Output(s) listed in 'build/vignette.rds' but not in package: 'inst/doc/bisg.html' 'inst/doc/ei.html' 'inst/doc/geocoding.html' 'inst/doc/parallel_processing.html' 'inst/doc/performance_analysis.html' Run R CMD build without --no-build-vignettes to re-create Error: Failed to install 'eiCompare' from GitHub: System command 'Rcmd.exe' failed, exit status: 1, stdout + stderr (last 10 lines): E> preparing 'eiCompare': E> checking DESCRIPTION meta-information ... OK E> * checking vignette meta-information ... ERROR E> Output(s) listed in 'build/vignette.rds' but not in package: E> 'inst/doc/bisg.html' E> 'inst/doc/ei.html' E> 'inst/doc/geocoding.html' E> 'inst/doc/parallel_processing.html' E> 'inst/doc/performance_analysis.html' E> Run R CMD build without --no-build-vignettes to re-create

I am not sure if this is an issue on my machine or not.

ejharrit commented 11 months ago

same issue and message here as well

emretoros commented 5 months ago

same here.. any solutions?

ejharrit commented 4 months ago

same here.. any solutions?

I ended up just downloading the most recent archived version (https://cran.r-project.org/src/contrib/Archive/eiCompare/) and in rstudio at the top "Tools" > "Install Packages..." and changing the "Install from:" setting to "Package Archive File (.zip; tar.gz)" and then selecting the archived version I downloaded.

kuriwaki commented 3 months ago

Quicker version of the same idea:

remotes::install_version("eiCompare", version = "3.0.4")