R Windows:R 3.6.1的吸墨纸包安装失败

时间:2019-08-23 21:36:12

标签: r r-package quantstrat blotter

我无法为R 3.6安装吸墨纸。为了消除可能的原因,我卸载了R,RTools等,然后重新开始。我安装了R 3.6和RTools 3.5。我安装了devtools并尝试按以下方式安装blotter:

    > require(devtools)
Loading required package: devtools
Loading required package: usethis
> install_github("braverock/blotter")
Downloading GitHub repo braverock/blotter@master
Your system is ready to build packages!
Installing 9 packages: xts, FinancialInstrument, PerformanceAnalytics, quantmod, zoo, TTR, foreach, quadprog, iterators
Installing packages into ‘C:/Users/Sean/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/xts_0.11-2.zip'
Content type 'application/zip' length 962779 bytes (940 KB)
downloaded 940 KB

trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/FinancialInstrument_1.3.1.zip'
Content type 'application/zip' length 550925 bytes (538 KB)
downloaded 538 KB

trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/PerformanceAnalytics_1.5.3.zip'
Content type 'application/zip' length 2867274 bytes (2.7 MB)
downloaded 2.7 MB

trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/quantmod_0.4-15.zip'
Content type 'application/zip' length 965781 bytes (943 KB)
downloaded 943 KB

trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/zoo_1.8-6.zip'
Content type 'application/zip' length 1103936 bytes (1.1 MB)
downloaded 1.1 MB

trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/TTR_0.23-4.zip'
Content type 'application/zip' length 525282 bytes (512 KB)
downloaded 512 KB

trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/foreach_1.4.7.zip'
Content type 'application/zip' length 419833 bytes (409 KB)
downloaded 409 KB

trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/quadprog_1.5-7.zip'
Content type 'application/zip' length 54694 bytes (53 KB)
downloaded 53 KB

trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/iterators_1.0.12.zip'
Content type 'application/zip' length 343759 bytes (335 KB)
downloaded 335 KB

package ‘xts’ successfully unpacked and MD5 sums checked
package ‘FinancialInstrument’ successfully unpacked and MD5 sums checked
package ‘PerformanceAnalytics’ successfully unpacked and MD5 sums checked
package ‘quantmod’ successfully unpacked and MD5 sums checked
package ‘zoo’ successfully unpacked and MD5 sums checked
package ‘TTR’ successfully unpacked and MD5 sums checked
package ‘foreach’ successfully unpacked and MD5 sums checked
package ‘quadprog’ successfully unpacked and MD5 sums checked
package ‘iterators’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
        C:\Users\Sean\AppData\Local\Temp\RtmpIzve2W\downloaded_packages
Error: Failed to install 'blotter' from GitHub:
  System command error, exit status: -1, stdout + stderr empty

结尾System command error, exit status: -1, stdout + stderr empty处的错误不会在Google搜索中产生任何匹配,对于该错误试图告诉我的内容我感到迷惑。在R 3.5.3中安装软件包时,我遇到了类似的问题,因此我进行了全新安装,以消除任何时髦的PATH工件或任何可能使我搞砸的东西。任何建议将不胜感激!

为完整起见,我的sessionInfo():

sessionInfo()
R version 3.6.1 (2019-07-05)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 17763)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252    LC_MONETARY=English_United States.1252 LC_NUMERIC=C                           LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] devtools_2.1.0 usethis_1.5.1 

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.2        ps_1.3.0          prettyunits_1.0.2 rprojroot_1.3-2   withr_2.1.2       digest_0.6.20     crayon_1.3.4      assertthat_0.2.1  R6_2.4.0          backports_1.1.4   magrittr_1.5     
[12] rlang_0.4.0       cli_1.1.0         curl_4.0          remotes_2.1.0     fs_1.3.1          testthat_2.2.1    callr_3.3.1       desc_1.2.0        tools_3.6.1       glue_1.3.1        pkgload_1.0.2    
[23] compiler_3.6.1    processx_3.4.1    pkgbuild_1.0.4    sessioninfo_1.1.1 memoise_1.1.0 

> find_rtools()
[1] TRUE

0 个答案:

没有答案