You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have this weird problem at work when if try to install a package via install github and a .Rbuildignore file is present, then the package extraction fails. I get the following error:
install_github("hadley/devtools")
Downloading GitHub repo hadley/devtools@master
from URL https://api.github.com/repos/hadley/devtools/zipball/master
Error in utils::unzip(src, exdir = target) :
cannot open file 'C:/Users/CHRIST~1/AppData/Local/Temp/RtmpOUEcJp/devtools1344435d3aae/hadley-devtools-1ce84b0/R/R.r': No such file or directory
I did some tests, if I remove the .Rbuildignore file, everything works fine.
If I manually download the package, extract it and use devtools::install() on it, no problems either.
This has happened at least for me and another colleague but others don't seem tohaveany problem with it. I don't know if it can be a permission problem since I'm not an administrator on my computer.
The content of the .Rbuildignore doesn't seem to matter, if the file is empty, the install fails as well.
The tests were made with devtools 1.12.0 and R 3.3.1 32bits (fails also with 64bit)
Any idea on this?
Thanks
Sylvain
The text was updated successfully, but these errors were encountered:
It seems to be the same problem as #1464, so lets move all discussion there. It looks like it's going to be painful to track down the issue since it's seemingly random on which computers it works.
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/
lockbot
locked and limited conversation to collaborators
Sep 18, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bugan unexpected problem or unintended behaviorinstall
Hi,
I have this weird problem at work when if try to install a package via install github and a .Rbuildignore file is present, then the package extraction fails. I get the following error:
I did some tests, if I remove the .Rbuildignore file, everything works fine.
If I manually download the package, extract it and use devtools::install() on it, no problems either.
This has happened at least for me and another colleague but others don't seem tohaveany problem with it. I don't know if it can be a permission problem since I'm not an administrator on my computer.
The content of the .Rbuildignore doesn't seem to matter, if the file is empty, the install fails as well.
The tests were made with devtools 1.12.0 and R 3.3.1 32bits (fails also with 64bit)
Any idea on this?
Thanks
Sylvain
The text was updated successfully, but these errors were encountered: