CRAN Package Check Results for Package tseries

Last updated on 2016-09-30 11:48:56.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.10-35 3.46 275.21 278.67 OK
r-devel-linux-x86_64-debian-gcc 0.10-35 3.59 129.16 132.75 ERROR
r-devel-linux-x86_64-fedora-clang 0.10-35 32.57 OK
r-devel-linux-x86_64-fedora-gcc 0.10-35 40.38 OK
r-devel-macos-x86_64-clang 0.10-35 36.08 OK
r-devel-windows-ix86+x86_64 0.10-35 13.00 79.00 92.00 OK
r-patched-linux-x86_64 0.10-35 3.01 24.52 27.53 OK
r-patched-solaris-sparc 0.10-35 261.60 OK
r-patched-solaris-x86 0.10-35 55.10 OK
r-release-linux-x86_64 0.10-35 3.15 24.84 27.99 OK
r-release-osx-x86_64-mavericks 0.10-35 OK
r-release-windows-ix86+x86_64 0.10-35 14.00 57.00 71.00 OK
r-oldrel-windows-ix86+x86_64 0.10-35 22.00 74.00 96.00 OK

Check Details

Version: 0.10-35
Check: examples
Result: ERROR
    Running examples in ‘tseries-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: get.hist.quote
    > ### Title: Download Historical Finance Data
    > ### Aliases: get.hist.quote
    > ### Keywords: ts
    >
    > ### ** Examples
    >
    > con <- url("http://quote.yahoo.com")
    > if(!inherits(try(open(con), silent = TRUE), "try-error")) {
    + close(con)
    + x <- get.hist.quote(instrument = "^gspc", start = "1998-01-01",
    + quote = "Close")
    + plot(x)
    +
    + x <- get.hist.quote(instrument = "ibm", quote = c("Cl", "Vol"))
    + plot(x, main = "International Business Machines Corp")
    +
    + spc <- get.hist.quote(instrument = "^gspc", start = "1998-01-01",
    + quote = "Close")
    + ibm <- get.hist.quote(instrument = "ibm", start = "1998-01-01",
    + quote = "AdjClose")
    + require("zoo") # For merge() method.
    + x <- merge(spc, ibm)
    + plot(x, main = "IBM vs S&P 500")
    + }
    trying URL 'http://chart.yahoo.com/table.csv?s=^gspc&a=0&b=01&c=1998&d=8&e=28&f=2016&g=d&q=q&y=0&z=^gspc&x=.csv'
    Content type 'text/csv' length unknown
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......
    downloaded 367 KB
    
    time series starts 1998-01-02
    trying URL 'http://chart.yahoo.com/table.csv?s=ibm&a=0&b=02&c=1991&d=8&e=28&f=2016&g=d&q=q&y=0&z=ibm&x=.csv'
    Content type 'text/csv' length unknown
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .
    downloaded 411 KB
    
    trying URL 'http://chart.yahoo.com/table.csv?s=^gspc&a=0&b=01&c=1998&d=8&e=28&f=2016&g=d&q=q&y=0&z=^gspc&x=.csv'
    Content type 'text/csv' length unknown
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......
    downloaded 367 KB
    
    time series starts 1998-01-02
    trying URL 'http://chart.yahoo.com/table.csv?s=ibm&a=0&b=01&c=1998&d=8&e=28&f=2016&g=d&q=q&y=0&z=ibm&x=.csv'
    Content type 'text/csv' length unknown
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... ...
    downloaded 313 KB
    
    time series starts 1998-01-02
    Loading required package: zoo
    
    Attaching package: ‘zoo’
    
    The following objects are masked from ‘package:base’:
    
     as.Date, as.Date.numeric
    
    >
    > con <- url("https://www.oanda.com")
    > if(!inherits(try(open(con), silent = TRUE), "try-error")) {
    + close(con)
    + x <- get.hist.quote(instrument = "EUR/USD", provider = "oanda",
    + start = Sys.Date() - 500)
    + plot(x, main = "EUR/USD")
    + }
    downloaded 0 bytes
    
    Warning in download.file(url, destfile, method = method, quiet = quiet) :
     downloaded length 0 != reported length 23706
    Error in download.file(url, destfile, method = method, quiet = quiet) :
     cannot download all files
    Calls: get.hist.quote -> download.file
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc