嗨,我在从RGUI-3.3.1安装DMwR软件包时收到了这个错误消息。
Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
cannot open the connection
In addition: Warning messages:
1: In unzip(zipname, exdir = dest) : error 1 in extracting from zip file
2: In read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
cannot open compressed file 'bitops/DESCRIPTION', probable reason 'No such file or directory'
发布于 2022-06-03 19:14:57
它已经被从CRAN图书馆移走了。有关于如何从存档中检索它的说明。
要么遵循链接- https://packagemanager.rstudio.com/client/#/repos/2/packages/DMwR
或复制粘贴下面提到的三行代码:
install.packages("devtools")
devtools::install_version('DMwR', '0.4.1')
library("DMwR")
编辑:这是我在2022年下载DMwR软件包时遇到的错误,但是当问题发布时,错误发生的另一个原因。
https://stackoverflow.com/questions/39845442
复制相似问题