CRAN Package Check Results for Package tidyquant

Last updated on 2018-02-20 19:48:42 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.4 6.58 198.09 204.67 OK
r-devel-linux-x86_64-debian-gcc 0.5.4 5.99 152.08 158.07 OK
r-devel-linux-x86_64-fedora-clang 0.5.4 231.21 NOTE
r-devel-linux-x86_64-fedora-gcc 0.5.4 232.50 NOTE
r-devel-windows-ix86+x86_64 0.5.4 13.00 240.00 253.00 OK
r-patched-linux-x86_64 0.5.3 5.27 148.11 153.38 ERROR
r-patched-solaris-x86 0.5.4 304.80 NOTE
r-release-linux-x86_64 0.5.3 4.87 150.36 155.23 ERROR
r-release-windows-ix86+x86_64 0.5.4 14.00 271.00 285.00 OK
r-release-osx-x86_64 0.5.4 NOTE
r-oldrel-windows-ix86+x86_64 0.5.4 1.00 6.00 7.00 ERROR
r-oldrel-osx-x86_64 0.5.3 ERROR

Check Details

Version: 0.5.4
Check: dependencies in R code
Result: NOTE
    Namespaces in Imports field not imported from:
     ‘broom’ ‘curl’ ‘devtools’ ‘rvest’ ‘timeSeries’ ‘tseries’ ‘zoo’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-osx-x86_64

Version: 0.5.3
Check: tests
Result: ERROR
     Running ‘testthat.R’ [28s/61s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(tidyquant)
     Loading required package: lubridate
    
     Attaching package: 'lubridate'
    
     The following object is masked from 'package:base':
    
     date
    
     Loading required package: PerformanceAnalytics
     Loading required package: xts
     Loading required package: zoo
    
     Attaching package: 'zoo'
    
     The following objects are masked from 'package:base':
    
     as.Date, as.Date.numeric
    
    
     Attaching package: 'PerformanceAnalytics'
    
     The following object is masked from 'package:graphics':
    
     legend
    
     Loading required package: quantmod
     Loading required package: TTR
     Version 0.4-0 included new data defaults. See ?getSymbols.
     Loading required package: tidyverse
     ── Attaching packages ─────────────────────────────────────── tidyverse 1.2.1 ──
     ✔ ggplot2 2.2.1 ✔ purrr 0.2.4
     ✔ tibble 1.4.2 ✔ dplyr 0.7.4
     ✔ tidyr 0.8.0 ✔ stringr 1.2.0
     ✔ readr 1.1.1 ✔ forcats 0.2.0
     ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
     ✖ lubridate::as.difftime() masks base::as.difftime()
     ✖ lubridate::date() masks base::date()
     ✖ dplyr::filter() masks stats::filter()
     ✖ dplyr::first() masks xts::first()
     ✖ lubridate::intersect() masks base::intersect()
     ✖ purrr::is_null() masks testthat::is_null()
     ✖ dplyr::lag() masks stats::lag()
     ✖ dplyr::last() masks xts::last()
     ✖ dplyr::matches() masks testthat::matches()
     ✖ lubridate::setdiff() masks base::setdiff()
     ✖ lubridate::union() masks base::union()
    
     Attaching package: 'tidyquant'
    
     The following object is masked from 'package:dplyr':
    
     as_tibble
    
     The following object is masked from 'package:tibble':
    
     as_tibble
    
     >
     > test_check("tidyquant")
     ── 1. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_
     `test1` inherits from `logical` not `tbl`.
    
     ── 2. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_
     nrow(test1) not equal to 1.
     target is NULL, current is numeric
    
     ── 3. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_
     ncol(test1) not equal to 55.
     target is NULL, current is numeric
    
     ── 4. Error: Test error on invalid data inputs. (@test_tq_mutate.R#142) ───────
     argument "quo" is missing, with no default
     1: expect_error(a = seq(1:100) %>% tq_mutate(select = NULL, mutate_fun = to.monthly)) at testthat/test_tq_mutate.R:142
     2: quasi_capture(enquo(object), capture_error, label = label)
     3: label %||% quo_label(quo)
     4: quo_label(quo)
     5: expr_label(quo_expr(quo))
     6: quo_expr(quo)
     7: quo_splice(duplicate(quo), warn = warn)
     8: switch_expr(x, language = {
     if (is_quosure(x)) {
     if (!is_false(warn)) {
     if (is_string(warn)) {
     msg <- warn
     }
     else {
     msg <- "Collapsing inner quosure"
     }
     warn(msg)
     warn <- FALSE
     }
     while (is_quosure(x)) {
     x <- f_rhs(x)
     }
     if (!is_null(parent)) {
     mut_node_car(parent, x)
     }
     quo_splice(x, parent, warn = warn)
     }
     else {
     quo_splice(node_cdr(x), warn = warn)
     }
     }, pairlist = {
     while (!is_null(x)) {
     quo_splice(node_car(x), x, warn = warn)
     x <- node_cdr(x)
     }
     })
     9: expr_type_of(.x)
     10: typeof(x)
     11: duplicate(quo)
    
     ── 5. Error: Test error on invalid data inputs. (@test_tq_transmute.R#121) ────
     argument "quo" is missing, with no default
     1: expect_error(a = seq(1:100) %>% tq_transmute(select = NULL, mutate_fun = to.monthly)) at testthat/test_tq_transmute.R:121
     2: quasi_capture(enquo(object), capture_error, label = label)
     3: label %||% quo_label(quo)
     4: quo_label(quo)
     5: expr_label(quo_expr(quo))
     6: quo_expr(quo)
     7: quo_splice(duplicate(quo), warn = warn)
     8: switch_expr(x, language = {
     if (is_quosure(x)) {
     if (!is_false(warn)) {
     if (is_string(warn)) {
     msg <- warn
     }
     else {
     msg <- "Collapsing inner quosure"
     }
     warn(msg)
     warn <- FALSE
     }
     while (is_quosure(x)) {
     x <- f_rhs(x)
     }
     if (!is_null(parent)) {
     mut_node_car(parent, x)
     }
     quo_splice(x, parent, warn = warn)
     }
     else {
     quo_splice(node_cdr(x), warn = warn)
     }
     }, pairlist = {
     while (!is_null(x)) {
     quo_splice(node_car(x), x, warn = warn)
     x <- node_cdr(x)
     }
     })
     9: expr_type_of(.x)
     10: typeof(x)
     11: duplicate(quo)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 149 SKIPPED: 2 FAILED: 5
     1. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_key_stats.R#15)
     2. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_key_stats.R#17)
     3. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_key_stats.R#19)
     4. Error: Test error on invalid data inputs. (@test_tq_mutate.R#142)
     5. Error: Test error on invalid data inputs. (@test_tq_transmute.R#121)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.5.3
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Loading required package: lubridate
    
    Attaching package: 'lubridate'
    
    The following object is masked from 'package:base':
    
     date
    
    Loading required package: PerformanceAnalytics
    Loading required package: xts
    Loading required package: zoo
    
    Attaching package: 'zoo'
    
    The following objects are masked from 'package:base':
    
     as.Date, as.Date.numeric
    
    
    Attaching package: 'PerformanceAnalytics'
    
    The following object is masked from 'package:graphics':
    
     legend
    
    Loading required package: quantmod
    Loading required package: TTR
    Version 0.4-0 included new data defaults. See ?getSymbols.
    Loading required package: tidyverse
    ── Attaching packages ────────────────────────────────── tidyverse 1.2.1 ──
    ✔ ggplot2 2.2.1 ✔ purrr 0.2.4
    ✔ tibble 1.4.2 ✔ dplyr 0.7.4
    ✔ tidyr 0.8.0 ✔ stringr 1.2.0
    ✔ readr 1.1.1 ✔ forcats 0.2.0
    ── Conflicts ───────────────────────────────────── tidyverse_conflicts() ──
    ✖ lubridate::as.difftime() masks base::as.difftime()
    ✖ lubridate::date() masks base::date()
    ✖ dplyr::filter() masks stats::filter()
    ✖ dplyr::first() masks xts::first()
    ✖ lubridate::intersect() masks base::intersect()
    ✖ dplyr::lag() masks stats::lag()
    ✖ dplyr::last() masks xts::last()
    ✖ lubridate::setdiff() masks base::setdiff()
    ✖ lubridate::union() masks base::union()
    
    Attaching package: 'tidyquant'
    
    The following object is masked from 'package:dplyr':
    
     as_tibble
    
    The following object is masked from 'package:tibble':
    
     as_tibble
    
    Getting holdings for SP500
    Getting data...
    
    Warning in download.file(url, destfile = tmp, quiet = TRUE) :
     URL 'http://download.finance.yahoo.com/d/quotes.csv?s=AAPL&f=aa2a5bb4b6c1c4dd1ee7e8e9f6ghjj1j2j4j5j6kk3k4k5ll1mm3m4m5m6m7m8nopp2p5p6qrr1r5r6r7s6s7t8vwxy&e=.csv': status was 'Couldn't resolve host name'
    Warning: x = 'AAPL', get = 'key.stats': Error in download.file(url, destfile = tmp, quiet = TRUE): cannot open URL ‘http://download.finance.yahoo.com/d/quotes.csv?s=AAPL&f=aa2a5bb4b6c1c4dd1ee7e8e9f6ghjj1j2j4j5j6kk3k4k5ll1mm3m4m5m6m7m8nopp2p5p6qrr1r5r6r7s6s7t8vwxy&e=.csv’
    
    Warning in download.file(url, destfile = tmp, quiet = TRUE) :
     URL 'http://download.finance.yahoo.com/d/quotes.csv?s=AAPL&f=aa2a5bb4b6c1c4dd1ee7e8e9f6ghjj1j2j4j5j6kk3k4k5ll1mm3m4m5m6m7m8nopp2p5p6qrr1r5r6r7s6s7t8vwxy&e=.csv': status was 'Couldn't resolve host name'
    Warning: x = 'AAPL', get = 'key.stats': Error in download.file(url, destfile = tmp, quiet = TRUE): cannot open URL ‘http://download.finance.yahoo.com/d/quotes.csv?s=AAPL&f=aa2a5bb4b6c1c4dd1ee7e8e9f6ghjj1j2j4j5j6kk3k4k5ll1mm3m4m5m6m7m8nopp2p5p6qrr1r5r6r7s6s7t8vwxy&e=.csv’
     Removing AAPL.
    Warning in download.file(url, destfile = tmp, quiet = TRUE) :
     URL 'http://download.finance.yahoo.com/d/quotes.csv?s=FB&f=aa2a5bb4b6c1c4dd1ee7e8e9f6ghjj1j2j4j5j6kk3k4k5ll1mm3m4m5m6m7m8nopp2p5p6qrr1r5r6r7s6s7t8vwxy&e=.csv': status was 'Couldn't resolve host name'
    Warning: x = 'FB', get = 'key.stats': Error in download.file(url, destfile = tmp, quiet = TRUE): cannot open URL ‘http://download.finance.yahoo.com/d/quotes.csv?s=FB&f=aa2a5bb4b6c1c4dd1ee7e8e9f6ghjj1j2j4j5j6kk3k4k5ll1mm3m4m5m6m7m8nopp2p5p6qrr1r5r6r7s6s7t8vwxy&e=.csv’
     Removing FB.
    Warning in download.file(url, destfile = tmp, quiet = TRUE) :
     URL 'http://download.finance.yahoo.com/d/quotes.csv?s=GOOG&f=aa2a5bb4b6c1c4dd1ee7e8e9f6ghjj1j2j4j5j6kk3k4k5ll1mm3m4m5m6m7m8nopp2p5p6qrr1r5r6r7s6s7t8vwxy&e=.csv': status was 'Couldn't resolve host name'
    Warning: x = 'GOOG', get = 'key.stats': Error in download.file(url, destfile = tmp, quiet = TRUE): cannot open URL ‘http://download.finance.yahoo.com/d/quotes.csv?s=GOOG&f=aa2a5bb4b6c1c4dd1ee7e8e9f6ghjj1j2j4j5j6kk3k4k5ll1mm3m4m5m6m7m8nopp2p5p6qrr1r5r6r7s6s7t8vwxy&e=.csv’
     Removing GOOG.
    Quitting from lines 211-214 (TQ01-core-functions-in-tidyquant.Rmd)
    Error: processing vignette ‘TQ01-core-functions-in-tidyquant.Rmd’ failed with diagnostics:
    object ‘Ask’ not found
    Execution halted
Flavors: r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.5.4
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘Rblpapi’
Flavor: r-patched-solaris-x86

Version: 0.5.4
Check: installed package size
Result: NOTE
     installed size is 5.1Mb
     sub-directories of 1Mb or more:
     doc 4.4Mb
Flavor: r-patched-solaris-x86

Version: 0.5.4
Check: Rd cross-references
Result: NOTE
    Package unavailable to check Rd xrefs: ‘Rblpapi’
Flavor: r-patched-solaris-x86

Version: 0.5.3
Check: tests
Result: ERROR
     Running ‘testthat.R’ [29s/71s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(tidyquant)
     Loading required package: lubridate
    
     Attaching package: 'lubridate'
    
     The following object is masked from 'package:base':
    
     date
    
     Loading required package: PerformanceAnalytics
     Loading required package: xts
     Loading required package: zoo
    
     Attaching package: 'zoo'
    
     The following objects are masked from 'package:base':
    
     as.Date, as.Date.numeric
    
    
     Attaching package: 'PerformanceAnalytics'
    
     The following object is masked from 'package:graphics':
    
     legend
    
     Loading required package: quantmod
     Loading required package: TTR
     Version 0.4-0 included new data defaults. See ?getSymbols.
     Loading required package: tidyverse
     ── Attaching packages ─────────────────────────────────────── tidyverse 1.2.1 ──
     ✔ ggplot2 2.2.1 ✔ purrr 0.2.4
     ✔ tibble 1.4.2 ✔ dplyr 0.7.4
     ✔ tidyr 0.8.0 ✔ stringr 1.2.0
     ✔ readr 1.1.1 ✔ forcats 0.2.0
     ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
     ✖ lubridate::as.difftime() masks base::as.difftime()
     ✖ lubridate::date() masks base::date()
     ✖ dplyr::filter() masks stats::filter()
     ✖ dplyr::first() masks xts::first()
     ✖ lubridate::intersect() masks base::intersect()
     ✖ purrr::is_null() masks testthat::is_null()
     ✖ dplyr::lag() masks stats::lag()
     ✖ dplyr::last() masks xts::last()
     ✖ dplyr::matches() masks testthat::matches()
     ✖ lubridate::setdiff() masks base::setdiff()
     ✖ lubridate::union() masks base::union()
    
     Attaching package: 'tidyquant'
    
     The following object is masked from 'package:dplyr':
    
     as_tibble
    
     The following object is masked from 'package:tibble':
    
     as_tibble
    
     >
     > test_check("tidyquant")
     ── 1. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_
     `test1` inherits from `logical` not `tbl`.
    
     ── 2. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_
     nrow(test1) not equal to 1.
     target is NULL, current is numeric
    
     ── 3. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_
     ncol(test1) not equal to 55.
     target is NULL, current is numeric
    
     ── 4. Error: Test error on invalid data inputs. (@test_tq_mutate.R#142) ───────
     argument "quo" is missing, with no default
     1: expect_error(a = seq(1:100) %>% tq_mutate(select = NULL, mutate_fun = to.monthly)) at testthat/test_tq_mutate.R:142
     2: quasi_capture(enquo(object), capture_error, label = label)
     3: label %||% quo_label(quo)
     4: quo_label(quo)
     5: expr_label(quo_expr(quo))
     6: quo_expr(quo)
     7: quo_splice(duplicate(quo), warn = warn)
     8: switch_expr(x, language = {
     if (is_quosure(x)) {
     if (!is_false(warn)) {
     if (is_string(warn)) {
     msg <- warn
     }
     else {
     msg <- "Collapsing inner quosure"
     }
     warn(msg)
     warn <- FALSE
     }
     while (is_quosure(x)) {
     x <- f_rhs(x)
     }
     if (!is_null(parent)) {
     mut_node_car(parent, x)
     }
     quo_splice(x, parent, warn = warn)
     }
     else {
     quo_splice(node_cdr(x), warn = warn)
     }
     }, pairlist = {
     while (!is_null(x)) {
     quo_splice(node_car(x), x, warn = warn)
     x <- node_cdr(x)
     }
     })
     9: expr_type_of(.x)
     10: typeof(x)
     11: duplicate(quo)
    
     ── 5. Error: Test error on invalid data inputs. (@test_tq_transmute.R#121) ────
     argument "quo" is missing, with no default
     1: expect_error(a = seq(1:100) %>% tq_transmute(select = NULL, mutate_fun = to.monthly)) at testthat/test_tq_transmute.R:121
     2: quasi_capture(enquo(object), capture_error, label = label)
     3: label %||% quo_label(quo)
     4: quo_label(quo)
     5: expr_label(quo_expr(quo))
     6: quo_expr(quo)
     7: quo_splice(duplicate(quo), warn = warn)
     8: switch_expr(x, language = {
     if (is_quosure(x)) {
     if (!is_false(warn)) {
     if (is_string(warn)) {
     msg <- warn
     }
     else {
     msg <- "Collapsing inner quosure"
     }
     warn(msg)
     warn <- FALSE
     }
     while (is_quosure(x)) {
     x <- f_rhs(x)
     }
     if (!is_null(parent)) {
     mut_node_car(parent, x)
     }
     quo_splice(x, parent, warn = warn)
     }
     else {
     quo_splice(node_cdr(x), warn = warn)
     }
     }, pairlist = {
     while (!is_null(x)) {
     quo_splice(node_car(x), x, warn = warn)
     x <- node_cdr(x)
     }
     })
     9: expr_type_of(.x)
     10: typeof(x)
     11: duplicate(quo)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 149 SKIPPED: 2 FAILED: 5
     1. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_key_stats.R#15)
     2. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_key_stats.R#17)
     3. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_key_stats.R#19)
     4. Error: Test error on invalid data inputs. (@test_tq_mutate.R#142)
     5. Error: Test error on invalid data inputs. (@test_tq_transmute.R#121)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-linux-x86_64

Version: 0.5.4
Check: package dependencies
Result: ERROR
    Package required but not available: 'alphavantager'
    
    See section 'The DESCRIPTION file' in the 'Writing R Extensions'
    manual.
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.5.3
Check: package dependencies
Result: ERROR
    Package required but not available: ‘timetk’
    
    See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
    manual.
Flavor: r-oldrel-osx-x86_64