* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/QuantTools.Rcheck’ * using R Under development (unstable) (2022-04-08 r82134) * using platform: x86_64-pc-linux-gnu (64-bit) * using session charset: UTF-8 * checking for file ‘QuantTools/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘QuantTools’ version ‘0.5.7.1’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘QuantTools’ can be installed ... [136s/132s] OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [12s/12s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking examples ... OK * checking examples with --run-donttest ... [45s/49s] ERROR Running examples in ‘QuantTools-Ex.R’ failed The error most likely occurred in: > ### Name: get_market_data > ### Title: Download historical market data > ### Aliases: get_market_data get_yahoo_data get_yahoo_splits_and_dividends > ### get_google_data get_finam_data get_iqfeed_data get_moex_options_data > ### get_moex_futures_data get_moex_continuous_futures_data > > ### ** Examples > > ## No test: > get_finam_data( 'GAZP', '2015-01-01', '2016-01-01' ) date open high low close volume 1: 2015-01-05 129.60 133.95 129.15 133.95 18208740 2: 2015-01-06 132.99 138.92 132.71 138.92 25270920 3: 2015-01-08 140.06 147.50 140.00 146.46 32544100 4: 2015-01-09 146.46 147.08 139.90 141.70 29501280 5: 2015-01-12 141.37 143.44 139.72 140.22 25286750 --- 246: 2015-12-24 135.80 138.08 134.45 136.00 36684830 247: 2015-12-25 136.47 136.47 134.03 134.48 14857980 248: 2015-12-28 134.35 135.40 133.76 134.97 11790710 249: 2015-12-29 135.26 137.55 134.74 137.49 21496980 250: 2015-12-30 137.48 137.49 135.45 136.09 17564580 > get_finam_data( 'GAZP', '2015-01-01', '2016-01-01', 'hour' ) time open high low close volume 1: 2015-01-05 11:00:00 129.60 130.94 129.15 129.19 2451830 2: 2015-01-05 12:00:00 129.20 132.42 129.16 132.16 3277790 3: 2015-01-05 13:00:00 132.06 133.80 131.55 133.71 2612150 4: 2015-01-05 14:00:00 133.68 133.84 133.05 133.10 1806360 5: 2015-01-05 15:00:00 133.10 133.40 132.77 132.84 1292470 --- 2246: 2015-12-30 15:00:00 136.20 136.42 135.87 136.00 769210 2247: 2015-12-30 16:00:00 136.00 136.18 135.65 135.75 1157890 2248: 2015-12-30 17:00:00 135.74 136.67 135.65 136.34 1507420 2249: 2015-12-30 18:00:00 136.28 136.36 135.70 135.91 1654500 2250: 2015-12-30 19:00:00 135.88 136.49 135.82 136.09 2534330 > get_finam_data( 'GAZP', Sys.Date(), Sys.Date(), 'tick' ) NULL > > get_iqfeed_data( 'MSFT', '2015-01-01', '2016-01-01' ) Warning in FUN(X[[i]], ...) : localhost:9100 cannot be opened Error in FUN(X[[i]], ...) : cannot open the connection Calls: get_iqfeed_data ... .get_iqfeed_daily_candles -> -> lapply -> FUN Execution halted * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 1 ERROR See ‘/data/blackswan/ripley/R/packages/tests-devel/QuantTools.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 3:43.87, 205.51 + 17.75