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

Installing local binary package with install_url fails on Windows. #1765

Closed
stumoodie opened this issue Apr 11, 2018 · 1 comment
Closed
Labels
bug an unexpected problem or unintended behavior

Comments

@stumoodie
Copy link

When trying to install a locally built binary package, install_url fails. It seems this problem is very similar to issue #1191. The command I executed is:

devtools::install_url("file://c:/package/sor_0.1.0.zip")

And fails with the following message:

Installing sor "C:/PROGRA~1/R/R-34~1.4/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD  \
   INSTALL "C:/Users/smoodie/AppData/Local/Temp/RtmpW4pfHQ/devtoolse431616e96/sor"  \
   --library="C:/Users/smoodie/Documents/R/win-library/3.4" --install-tests

* installing *binary* package 'sor' ...
Warning: running command 'cp -R . "C:/Users/smoodie/Documents/R/win-library/3.4/sor" || ( internal cd - .| (cd "C:/Users/smoodie/Documents/R/win-library/3.4/sor" && internal -xf -))' had status 127
ERROR: installing binary package failed
* removing 'C:/Users/smoodie/Documents/R/win-library/3.4/sor'
In R CMD INSTALL
Installation failed: Command failed (1)

I'm using devtools 1.13.5, RStudio 1.1.423
and R 3.4.4 64bit. It also occurred with R 3.4.3

Output from R.version below:

platform       x86_64-w64-mingw32          
arch           x86_64                      
os             mingw32                     
system         x86_64, mingw32             
status                                     
major          3                           
minor          4.4                         
year           2018                        
month          03                          
day            15                          
svn rev        74408                       
language       R                           
version.string R version 3.4.4 (2018-03-15)
nickname       Someone to Lean On     
@stumoodie stumoodie changed the title Installing local binary package with install_url fails. Installing local binary package with install_url fails on Windows. Apr 11, 2018
@jimhester jimhester added the bug an unexpected problem or unintended behavior label May 4, 2018
@lock
Copy link

lock bot commented Jan 13, 2019

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/

@lock lock bot locked and limited conversation to collaborators Jan 13, 2019
HughParsonage pushed a commit to HughParsonage/devtools that referenced this issue Jul 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants