Error when using install_github: 'exdir' does not exist

前端 未结 1 551
没有蜡笔的小新
没有蜡笔的小新 2021-01-19 18:41

I am trying to install a package from github, but keep getting the following error;

\"Error in unzip(src, list = TRUE) : \'exdir\' does not exist\".
<         


        
相关标签:
1条回答
  • 2021-01-19 19:34

    I have got it working, and it was definitely just dumb human error. My working directory was somehow set to a location for which I didn't have write permissions. I setwd() to a folder where I have permissions and it worked just fine. I'm not sure if it was part of the solution, but @hadley's tip about setting the TMP envvar was good, and will be useful in general.

    0 讨论(0)
提交回复
热议问题