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

Package Install Fails on Windows #4

Open
mackerman44 opened this issue Jun 12, 2020 · 0 comments
Open

Package Install Fails on Windows #4

mackerman44 opened this issue Jun 12, 2020 · 0 comments

Comments

@mackerman44
Copy link
Collaborator

I attempted to re-install KevinSee/QRFpaper this afternoon to no avail:

remotes::install_github("KevinSee/QRFpaper)

similarly, the install also failed with devtools, both with the same error:

Error: Failed to install 'QRFpaper' from GitHub:
  System command 'Rcmd.exe' failed, exit status: 1, stdout + stderr:
E> * checking for file 'C:\Users\ackermmi\AppData\Local\Temp\RtmpMn5NzQ\remotesfc820523d34\KevinSee-QRFpaper-09e142846ba4376e33d3e14ba76dd41877afa03f/DESCRIPTION' ... OK
E> Warning in file.copy(pkgname, Tdir, recursive = TRUE, copy.date = TRUE) :
E>   over-long path length
E>  ERROR
E> copying to build directory failed

It appears to be related to this issue. As a workaround, I was able to install the package using:

remotes::install_github("KevinSee/QRFpaper", build = F)

and also:

remotes::install_github("KevinSee/QRFpaper@058474d")

and older commit of the repo where the estimate_MIC() function was added.

My best guess is this is related to files and directories that were created when the manuscript Appendix was added. Perhaps a solution is to move the figure/appendix subdir up on level?

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

1 participant