无法在R中安装“ lodown”

时间:2020-05-06 16:48:37

标签: r

我的R版本是4.0。我无法按照http://asdfree.com/prerequisites.html

中的步骤安装“ downdown”软件包
install.packages( "devtools" , repos = "http://cran.rstudio.com/" )
library(devtools)
install_github( "ajdamico/lodown" , dependencies = TRUE )

当我输入最后一行时,我的rstudio显示以下消息,

Downloading GitHub repo ajdamico/lodown@master
√  checking for file 'C:\Users\dami\AppData\Local\Temp\RtmpcnnSxn\remotes2658c22728a6\ajdamico-lodown-8cb3f9f/DESCRIPTION' ...
-  preparing 'lodown': (343ms)
√  checking DESCRIPTION meta-information ... 
-  checking for LF line-endings in source and make files and shell scripts
-  checking for empty or unneeded directories
-  building 'lodown_0.1.0.tar.gz'

Installing package into ‘E:/dami/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
* installing *source* package 'lodown' ...
** using staged installation
** R
Error : (converted from warning) unable to re-encode 'pew.R' line 131
ERROR: unable to collate and parse R files for package 'lodown'
* removing 'E:/dami/Documents/R/win-library/4.0/lodown'
Error: Failed to install 'lodown' from GitHub:
  (converted from warning) installation of package ‘C:/Users/dami/AppData/Local/Temp/RtmpcnnSxn/file2658c65e65d1/lodown_0.1.0.tar.gz’ had non-zero exit status

如何安装该软件包?我能够像一年前一样做到这一点,但是现在不起作用!

0 个答案:

没有答案