错误:安装“ ssh”时,依赖项“ askpass”不适用于软件包“凭据”

时间:2019-06-11 06:47:13

标签: r ssh credentials

我正在尝试在Windows 10的sshR中安装3.2.5,并且 我收到以下错误消息,有人可以帮助我这里有什么问题吗?

install.packages("ssh")

#>The downloaded binary packages are in
#        C:\Users\xyz\AppData\Local\Temp\Rtmpq0Bnkq\downloaded_packages
#installing the source package ‘credentials’

#trying URL #'https://mirror.its.sfu.ca/mirror/CRAN/src/contrib/credentials_1.1.tar.gz'
#Content type 'application/x-gzip' length 229147 bytes (223 KB)
#downloaded 223 KB
  

错误:依赖项“ askpass”不适用于程序包“凭证”   *删除“ C:/Users/xyz/Documents/R/win-library/3.2/credentials”

     

已下载的源包位于           ‘C:\ Users \ xyz \ AppData \ Local \ Temp \ Rtmpq0Bnkq \ downloaded_pa​​ckages’   警告信息:   1:运行命令'“ C:/PROGRA~1/R/R-32~1.5/bin/x64/R” CMD安装-l“ C:\ Users \ xyz \ Documents \ R \ win-library \ 3.2” C :\ Users \ xyz〜1 \ AppData \ Local \ Temp \ Rtmpq0Bnkq / downloaded_pa​​ckages / credentials_1.1.tar.gz'的状态为1   2:在install.packages(“ ssh”)中:     软件包“凭据”的安装退出状态为非零

编辑:

我尝试了RAB建议的以下命令

install.packages("ssh", dependencies=TRUE)

但不幸的是,我仍然遇到类似的错误:

  

错误:依赖项“ askpass”不适用于程序包“凭证”   *删除“ C:/Users/xyx/Documents/R/win-library/3.2/credentials”

     

错误:依赖项“ stringr”不适用于软件包“ knitr”   *删除“ C:/Users/xyx/Documents/R/win-library/3.2/knitr”

     

错误:依赖项“ knitr”,“ stringr”不可用于程序包“ rmarkdown”   *删除“ C:/Users/xyx/Documents/R/win-library/3.2/rmarkdown”

     

错误:依赖项“ knitr”不可用于软件包“拼写”   *删除“ C:/Users/xyx/Documents/R/win-library/3.2/spelling”

0 个答案:

没有答案