devtools install_github 失败
devtools install_github fails
我已经尝试了所有我能想到的方法,但仍然无法正常工作。我认为它与缩进有关,因为它在本地(构建版本)工作正常。这是我得到的错误:
Error in read.dcf(path) :
Found continuation line starting ' dplyr(>= 0.7.8), ...' at begin of record.
我的代码示例:
Imports:
dplyr(>= 0.7.8),
caret(>= 6.0-81),
tidyr(>= 0.8.2),
reshape2(>= 1.4.3),
plyr(>= 1.8.4),
magrittr(>= 1.5)
我是如何尝试安装的:
devtools::install_github("https://github.com/Nelson-Gon/manymodelr")
我之前确实遇到过同样的问题,并通过将我的描述限制在一行中解决了这个问题。提前致谢。
这个问题已经解决了,这对我也有效,根据:https://github.com/r-lib/devtools/issues/1978
- 运行
devtools::install_github("r-lib/remotes")
- 重新启动 R.
- 运行
devtools::install_github("...")
用于预期的包。
我已经尝试了所有我能想到的方法,但仍然无法正常工作。我认为它与缩进有关,因为它在本地(构建版本)工作正常。这是我得到的错误:
Error in read.dcf(path) : Found continuation line starting ' dplyr(>= 0.7.8), ...' at begin of record.
我的代码示例:
Imports:
dplyr(>= 0.7.8),
caret(>= 6.0-81),
tidyr(>= 0.8.2),
reshape2(>= 1.4.3),
plyr(>= 1.8.4),
magrittr(>= 1.5)
我是如何尝试安装的:
devtools::install_github("https://github.com/Nelson-Gon/manymodelr")
我之前确实遇到过同样的问题,并通过将我的描述限制在一行中解决了这个问题。提前致谢。
这个问题已经解决了,这对我也有效,根据:https://github.com/r-lib/devtools/issues/1978
- 运行
devtools::install_github("r-lib/remotes")
- 重新启动 R.
- 运行
devtools::install_github("...")
用于预期的包。