[英]Can not install Quantstrat from github
Have followed the processes outlined on the Github repo.已遵循 Github 存储库中概述的流程。
Have tried installed blotter first and then quantstrat.已尝试先安装吸墨纸,然后再安装 quantstrat。 Doesnt work
不工作
Have then moved to installing all dependencies first.然后开始先安装所有依赖项。
install.packages("FinancialInstrument",repos="https://github.com/braverock/FinancialInstrument")
When trying to install from Github using devtools get the following error.尝试使用 devtools 从 Github 安装时,出现以下错误。
devtools::install_github("braverock/blotter") Downloading GitHub repo braverock/blotter@master ✓ checking for file '/private/var/folders/_8/zy8__ntx5cx0_lnbybvfjhsr0000gp/T/Rtmp0wtY3O/remotes2547e2faf85/braverock-blotter-67be2c8/DESCRIPTION' (400ms) ─ preparing 'blotter': ✓ checking DESCRIPTION meta-information... ─ cleaning src ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories ─ looking to see if a 'data/datalist' file should be added ─ building 'blotter_0.14.8.tar.gz'
(devtools::install_github("braverock/blotter") 正在下载 GitHub repo braverock/blotter@master ✓ 检查文件'/private/var/folders/_8/zy8__ntx5cx0_lnbybvfjhsr0000gp/T/Rtmp0wtY3O/remotes2547e2faf8c8/DES547e2faf8c8/ 400ms) ─ 准备 'blotter': ✓ 检查说明元信息... ─ 清理 src ─ 检查源文件和 make 文件和 shell 脚本中的 LF 行结尾 ─ 检查空目录或不需要的目录 ─ 查看是否有“数据”应添加 /datalist 文件─构建 'blotter_0.14.8.tar.gz'
I fixed the issue using Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS=TRUE) from https://github.com/r-lib/remotes/issues/434我使用https://github.com/r-lib/remotes/issues/434中的 Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS=TRUE) 解决了这个问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.