Моя версия R - 4.0. Почему-то я не могу установить пакет «lodown», выполнив шаги в http://asdfree.com/prerequisites.html
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
Как я могу установить пакет? Я мог это делать как год go, а теперь это не работает!