CRAN Package Check Results for Package quantmod

Last updated on 2018-08-21 01:46:36 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4-13 13.13 69.82 82.95 NOTE
r-devel-linux-x86_64-debian-gcc 0.4-13 9.70 56.35 66.05 NOTE
r-devel-linux-x86_64-fedora-clang 0.4-13 62.48 OK
r-devel-linux-x86_64-fedora-gcc 0.4-13 67.31 OK
r-devel-windows-ix86+x86_64 0.4-13 22.00 103.00 125.00 ERROR
r-patched-linux-x86_64 0.4-13 12.28 67.71 79.99 NOTE
r-patched-solaris-x86 0.4-13 114.40 OK
r-release-linux-x86_64 0.4-13 9.84 67.50 77.34 NOTE
r-release-windows-ix86+x86_64 0.4-13 24.00 74.00 98.00 ERROR
r-release-osx-x86_64 0.4-13 OK
r-oldrel-windows-ix86+x86_64 0.4-13 7.00 109.00 116.00 ERROR
r-oldrel-osx-x86_64 0.4-13 OK

Check Details

Version: 0.4-13
Check: R code for possible problems
Result: NOTE
    Found the following calls to attach():
    File ‘quantmod/R/attachSymbols.R’:
     attach(NULL, pos = pos, name = DB$name)
     attach(NULL, pos = pos, name = DB$name)
    See section ‘Good practice’ in ‘?attach’.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.4-13
Check: tests
Result: ERROR
     Running 'test_chartSeries.R' [1s]
     Running 'test_getSymbols.R' [1s]
     Running 'tests.R' [4s]
    Running the tests in 'tests/tests.R' failed.
    Complete output:
     > # Call as.zoo before quantmod is loaded and registers its S3 method
     > dc <- c("2015-01-01", "2016-01-01", "2017-01-01")
     > dd <- as.Date(dc)
     >
     > f <- data.frame(a = 1:3)
     > r <- f
     > rownames(r) <- dc
     >
     > zz.f.date <- zoo::as.zoo(f, order.by = dd)
     > zz.f.char <- zoo::as.zoo(f, order.by = dc)
     > zz.f <- zoo::as.zoo(f)
     >
     > zz.r.date <- zoo::as.zoo(r, order.by = dd)
     > zz.r.char <- zoo::as.zoo(r, order.by = dc)
     > zz.r <- zoo::as.zoo(r)
     >
     > library(quantmod)
     Loading required package: xts
     Loading required package: zoo
    
     Attaching package: 'zoo'
    
     The following objects are masked from 'package:base':
    
     as.Date, as.Date.numeric
    
     Loading required package: TTR
     Registered S3 method overwritten by 'quantmod':
     method from
     as.zoo.data.frame zoo
     Version 0.4-0 included new data defaults. See ?getSymbols.
     >
     > ### quantmod:::as.zoo.data.frame
     >
     > # should be the same as zoo:::as.zoo.data.frame when order.by is provided
     > stopifnot(identical(zz.f.char, as.zoo(f, order.by = dc)))
     > stopifnot(identical(zz.f.date, as.zoo(f, order.by = dd)))
     > stopifnot(identical(zz.r.char, as.zoo(r, order.by = dc)))
     > stopifnot(identical(zz.r.date, as.zoo(r, order.by = dd)))
     >
     > # should throw an error
     > errorKey <- "d116c846835e633aacedb1a31959dd2724cd67b8"
     > x <- try(
     + quantmod::getSymbols("AAPL", src = "tiingo", data.type = "csv", api.key = errorKey)
     + , silent = TRUE)
     'getSymbols' currently uses auto.assign=TRUE by default, but will
     use auto.assign=FALSE in 0.5-0. You will still be able to use
     'loadSymbols' to automatically load data. getOption("getSymbols.env")
     and getOption("getSymbols.auto.assign") will still be checked for
     alternate defaults.
    
     This message is shown once per session and may be disabled by setting
     options("getSymbols.warning4.0"=FALSE). See ?getSymbols for details.
    
     > stopifnot(inherits(x, "try-error"))
     Error: inherits(x, "try-error") is not TRUE
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.4-13
Check: tests
Result: ERROR
     Running 'test_chartSeries.R' [1s]
     Running 'test_getSymbols.R' [1s]
     Running 'tests.R' [2s]
    Running the tests in 'tests/tests.R' failed.
    Complete output:
     > # Call as.zoo before quantmod is loaded and registers its S3 method
     > dc <- c("2015-01-01", "2016-01-01", "2017-01-01")
     > dd <- as.Date(dc)
     >
     > f <- data.frame(a = 1:3)
     > r <- f
     > rownames(r) <- dc
     >
     > zz.f.date <- zoo::as.zoo(f, order.by = dd)
     > zz.f.char <- zoo::as.zoo(f, order.by = dc)
     > zz.f <- zoo::as.zoo(f)
     >
     > zz.r.date <- zoo::as.zoo(r, order.by = dd)
     > zz.r.char <- zoo::as.zoo(r, order.by = dc)
     > zz.r <- zoo::as.zoo(r)
     >
     > library(quantmod)
     Loading required package: xts
     Loading required package: zoo
    
     Attaching package: 'zoo'
    
     The following objects are masked from 'package:base':
    
     as.Date, as.Date.numeric
    
     Loading required package: TTR
     Version 0.4-0 included new data defaults. See ?getSymbols.
     >
     > ### quantmod:::as.zoo.data.frame
     >
     > # should be the same as zoo:::as.zoo.data.frame when order.by is provided
     > stopifnot(identical(zz.f.char, as.zoo(f, order.by = dc)))
     > stopifnot(identical(zz.f.date, as.zoo(f, order.by = dd)))
     > stopifnot(identical(zz.r.char, as.zoo(r, order.by = dc)))
     > stopifnot(identical(zz.r.date, as.zoo(r, order.by = dd)))
     >
     > # should throw an error
     > errorKey <- "d116c846835e633aacedb1a31959dd2724cd67b8"
     > x <- try(
     + quantmod::getSymbols("AAPL", src = "tiingo", data.type = "csv", api.key = errorKey)
     + , silent = TRUE)
     'getSymbols' currently uses auto.assign=TRUE by default, but will
     use auto.assign=FALSE in 0.5-0. You will still be able to use
     'loadSymbols' to automatically load data. getOption("getSymbols.env")
     and getOption("getSymbols.auto.assign") will still be checked for
     alternate defaults.
    
     This message is shown once per session and may be disabled by setting
     options("getSymbols.warning4.0"=FALSE). See ?getSymbols for details.
    
     > stopifnot(inherits(x, "try-error"))
     Error: inherits(x, "try-error") is not TRUE
     Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 0.4-13
Check: tests
Result: ERROR
     Running 'test_chartSeries.R' [2s]
     Running 'test_getSymbols.R' [1s]
     Running 'tests.R' [2s]
    Running the tests in 'tests/tests.R' failed.
    Complete output:
     > # Call as.zoo before quantmod is loaded and registers its S3 method
     > dc <- c("2015-01-01", "2016-01-01", "2017-01-01")
     > dd <- as.Date(dc)
     >
     > f <- data.frame(a = 1:3)
     > r <- f
     > rownames(r) <- dc
     >
     > zz.f.date <- zoo::as.zoo(f, order.by = dd)
     > zz.f.char <- zoo::as.zoo(f, order.by = dc)
     > zz.f <- zoo::as.zoo(f)
     >
     > zz.r.date <- zoo::as.zoo(r, order.by = dd)
     > zz.r.char <- zoo::as.zoo(r, order.by = dc)
     > zz.r <- zoo::as.zoo(r)
     >
     > library(quantmod)
     Loading required package: xts
     Loading required package: zoo
    
     Attaching package: 'zoo'
    
     The following objects are masked from 'package:base':
    
     as.Date, as.Date.numeric
    
     Loading required package: TTR
     Version 0.4-0 included new data defaults. See ?getSymbols.
     >
     > ### quantmod:::as.zoo.data.frame
     >
     > # should be the same as zoo:::as.zoo.data.frame when order.by is provided
     > stopifnot(identical(zz.f.char, as.zoo(f, order.by = dc)))
     > stopifnot(identical(zz.f.date, as.zoo(f, order.by = dd)))
     > stopifnot(identical(zz.r.char, as.zoo(r, order.by = dc)))
     > stopifnot(identical(zz.r.date, as.zoo(r, order.by = dd)))
     >
     > # should throw an error
     > errorKey <- "d116c846835e633aacedb1a31959dd2724cd67b8"
     > x <- try(
     + quantmod::getSymbols("AAPL", src = "tiingo", data.type = "csv", api.key = errorKey)
     + , silent = TRUE)
     'getSymbols' currently uses auto.assign=TRUE by default, but will
     use auto.assign=FALSE in 0.5-0. You will still be able to use
     'loadSymbols' to automatically load data. getOption("getSymbols.env")
     and getOption("getSymbols.auto.assign") will still be checked for
     alternate defaults.
    
     This message is shown once per session and may be disabled by setting
     options("getSymbols.warning4.0"=FALSE). See ?getSymbols for details.
    
     > stopifnot(inherits(x, "try-error"))
     Error: inherits(x, "try-error") is not TRUE
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64