我正在尝试从本地 zip 文件在 R 中安装一个包。我在本地驱动器上有 zip 文件,但是当我转到Packages --> Install a package from a local zip file时,我收到以下警告:
> utils:::menuInstallLocal()
Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) : cannot open the connection
另外:警告信息:
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 'cirt/DESCRIPTION', probable reason 'No such file or directory'
这里发生了什么?
非常感谢提前,