CRAN Package Check Results for Package tseries

Last updated on 2014-09-02 10:52:01.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.10-32 2.79 28.54 31.33 OK
r-devel-linux-x86_64-debian-gcc 0.10-32 3.10 27.24 30.34 OK
r-devel-linux-x86_64-fedora-clang 0.10-32 48.64 OK
r-devel-linux-x86_64-fedora-gcc 0.10-32 47.14 OK
r-devel-osx-x86_64-clang 0.10-32 54.30 OK
r-devel-windows-ix86+x86_64 0.10-32 15.00 60.00 75.00 OK
r-patched-linux-x86_64 0.10-32 3.04 86.12 89.16 ERROR
r-patched-solaris-sparc 0.10-32 294.70 OK
r-patched-solaris-x86 0.10-32 67.70 OK
r-release-linux-ix86 0.10-32 4.28 37.62 41.90 OK
r-release-linux-x86_64 0.10-32 3.12 30.90 34.02 OK
r-release-osx-x86_64-mavericks 0.10-32 OK
r-release-windows-ix86+x86_64 0.10-32 13.00 61.00 74.00 OK
r-oldrel-windows-ix86+x86_64 0.10-32 20.00 53.00 73.00 OK

Check Details

Version: 0.10-32
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=7&e=29&f=2014&g=d&q=q&y=0&z=^gspc&x=.csv'
    Content type 'text/csv' length unknown
    opened URL
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    
    downloaded 250 Kb
    
    time series starts 1998-01-02
    trying URL 'http://chart.yahoo.com/table.csv?s=ibm&a=0&b=02&c=1991&d=7&e=29&f=2014&g=d&q=q&y=0&z=ibm&x=.csv'
    Content type 'text/csv' length unknown
    opened URL
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    
    downloaded 300 Kb
    
    trying URL 'http://chart.yahoo.com/table.csv?s=^gspc&a=0&b=01&c=1998&d=7&e=29&f=2014&g=d&q=q&y=0&z=^gspc&x=.csv'
    Content type 'text/csv' length unknown
    opened URL
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    
    downloaded 250 Kb
    
    time series starts 1998-01-02
    trying URL 'http://chart.yahoo.com/table.csv?s=ibm&a=0&b=01&c=1998&d=7&e=29&f=2014&g=d&q=q&y=0&z=ibm&x=.csv'
    Content type 'text/csv' length unknown
    opened URL
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... .......... .......... .......... ..........
    .......... ...
    downloaded 213 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("http://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")
    + }
    trying URL 'http://www.oanda.com/convert/fxhistory?lang=en&date1=04%2F17%2F13&date=08%2F29%2F14&date_fmt=us&exch=EUR&exch2=&expr=USD&expr2=&margin_fixed=0&&SUBMIT=Get+Table&format=ASCII&redirected=1'
    Warning in download.file(url, destfile, method = method, quiet = quiet) :
     cannot open: HTTP status was '0 (null)'
    Error in download.file(url, destfile, method = method, quiet = quiet) :
     cannot open URL 'http://www.oanda.com/convert/fxhistory?lang=en&date1=04%2F17%2F13&date=08%2F29%2F14&date_fmt=us&exch=EUR&exch2=&expr=USD&expr2=&margin_fixed=0&&SUBMIT=Get+Table&format=ASCII&redirected=1'
    Calls: get.hist.quote -> download.file
    Execution halted
Flavor: r-patched-linux-x86_64