Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current build cannot be installed with install_github() function #38

Open
brandondelacuesta opened this issue Apr 4, 2020 · 6 comments

Comments

@brandondelacuesta
Copy link

Hi guys,

Went to install this and noticed it's off CRAN. Is it no longer being supported? Went to get the Github version and install fails. I can get it working by pulling the most recent version off CRAN but just wondered if you are still supporting the package. Thanks.

@AmirhosseinModabbernia
Copy link

Hi there,

I am having the same problem. The package is no longer on CRAN and if I want to install it from github I get this error

✔ checking for file ‘/private/var/folders/5x/dxzpl7lx25q69bys583w3ngr0000gn/T/RtmpgSHnPt/remotese99362858638/rdrr1990-bigKRLS-e1e030f/DESCRIPTION’ (578ms)
─ preparing ‘bigKRLS’:
✔ checking DESCRIPTION meta-information ...
─ cleaning src
E checking vignette meta-information ...
Output(s) listed in ‘build/vignette.rds’ but not in package:
‘inst/doc/bigKRLS_basics.html’
Run R CMD build without --no-build-vignettes to re-create
Error: Failed to install 'bigKRLS' from GitHub:
System command error

Please assist
Thank you
Amir

@rbshaffer
Copy link
Collaborator

rbshaffer commented Apr 23, 2020 via email

@AmirhosseinModabbernia
Copy link

Hello Robert and thank you for your prompt reply. So I installed bigalgebra but I still get this error with install_github

E checking vignette meta-information ...
Output(s) listed in ‘build/vignette.rds’ but not in package:
‘inst/doc/bigKRLS_basics.html’
Run R CMD build without --no-build-vignettes to re-create
Error: Failed to install 'bigKRLS' from GitHub:
System command 'R' failed, exit status: 1, stdout + stderr:
E> * checking for file ‘/private/var/folders/5x/dxzpl7lx25q69bys583w3ngr0000gn/T/RtmpSrSSaz/remotes33936129ef4/rdrr1990-bigKRLS-e1e030f/DESCRIPTION’ ... OK
E> * preparing ‘bigKRLS’:
E> * checking DESCRIPTION meta-information ... OK
E> * cleaning src
E> * checking vignette meta-information ... ERROR
E> Output(s) listed in ‘build/vignette.rds’ but not in package:
E> ‘inst/doc/bigKRLS_basics.html’
E> Run R CMD build without --no-build-vignettes to re-create

Any thoughts?

@AmirhosseinModabbernia
Copy link

Never mind I got it to work with this line of code
install_github('rdrr1990/bigKRLS', build=T,build_vignettes = TRUE)

@rbshaffer
Copy link
Collaborator

rbshaffer commented Apr 23, 2020 via email

@HalcyonXie
Copy link

The solution AmirhosseinModabbernia posted does not work for me.

install_github("rdrr1990/bigKRLS", build=T, build_vignettes=T)
Downloading GitHub repo rdrr1990/bigKRLS@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?

1: All
2: CRAN packages only
3: None
4: backports (1.1.7 -> 1.1.8) [CRAN]

Enter one or more numbers, or an empty line to skip updates:3

checking for file 'C:\Users\huili\AppData\Local\Temp\RtmpA3xDNd\remotes41305169738\rdrr1990-bigKRLS-e1e030f/DESCRIPTION' ...

checking for file 'C:\Users\huili\AppData\Local\Temp\RtmpA3xDNd\remotes41305169738\rdrr1990-bigKRLS-e1e030f/DESCRIPTION' ...

√ checking for file 'C:\Users\huili\AppData\Local\Temp\RtmpA3xDNd\remotes41305169738\rdrr1990-bigKRLS-e1e030f/DESCRIPTION' (694ms)

  • preparing 'bigKRLS':
    checking DESCRIPTION meta-information ...

    checking DESCRIPTION meta-information ...

√ checking DESCRIPTION meta-information

  • cleaning src

  • installing the package to build vignettes

    creating vignettes ...

    creating vignettes ...

E creating vignettes (1m 26.2s)
--- re-building 'bigKRLS_basics.Rmd' using rmarkdown
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
Loading required package: bigmemory

bigKRLS is authored by Pete Mohanty (Stanford University) and Robert Shaffer (University of Pennsylvania) under License GPL 3.

To get started, check out vignette("bigKRLS_basics").

If you use this package in your research, kindly cite:

Pete Mohanty and Robert Shaffer. 2018. 'Messy Data, Robust Inference? Navigating Obstacles to Inference with bigKRLS.' Political Analysis. Cambridge University Press. DOI=10.1017/pan.2018.33. pages 1-18.
Quitting from lines 37-39 (bigKRLS_basics.Rmd)
Error: processing vignette 'bigKRLS_basics.Rmd' failed with diagnostics:
e2 is not a scalar
--- failed re-building 'bigKRLS_basics.Rmd'

SUMMARY: processing the following file failed:
'bigKRLS_basics.Rmd'

Error: Vignette re-building failed.
Execution halted

Error: Failed to install 'bigKRLS' from GitHub:
System command 'Rcmd.exe' failed, exit status: 1, stdout + stderr (last 10 lines):
E> Quitting from lines 37-39 (bigKRLS_basics.Rmd)
E> Error: processing vignette 'bigKRLS_basics.Rmd' failed with diagnostics:
E> e2 is not a scalar
E> --- failed re-building 'bigKRLS_basics.Rmd'
E>
E> SUMMARY: processing the following file failed:
E> 'bigKRLS_basics.Rmd'
E>
E> Error: Vignette re-building failed.
E> Execution halted

Please advise. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants