CRAN Package Check Results for Package tidyquant

Last updated on 2022-10-02 11:11:36 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.5 13.26 222.88 236.14 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.5 9.30 167.63 176.93 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.5 259.62 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.5 288.18 ERROR
r-devel-windows-x86_64 1.0.5 83.00 300.00 383.00 ERROR
r-patched-linux-x86_64 1.0.5 18.34 209.34 227.68 OK
r-release-linux-x86_64 1.0.5 8.44 209.97 218.41 OK
r-release-macos-arm64 1.0.5 137.00 NOTE
r-release-macos-x86_64 1.0.5 153.00 NOTE
r-release-windows-x86_64 1.0.5 89.00 311.00 400.00 NOTE
r-oldrel-macos-arm64 1.0.5 152.00 NOTE
r-oldrel-macos-x86_64 1.0.5 193.00 NOTE
r-oldrel-windows-ix86+x86_64 1.0.5 28.00 324.00 352.00 NOTE

Check Details

Version: 1.0.5
Check: tests
Result: ERROR
     Running 'testthat.R' [19s/28s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(tidyquant)
     Loading required package: lubridate
    
     Attaching package: 'lubridate'
    
     The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
     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
     > library(tidyverse)
     -- Attaching packages --------------------------------------- tidyverse 1.3.2 --
     v ggplot2 3.3.6 v purrr 0.3.4
     v tibble 3.1.8 v dplyr 1.0.10
     v tidyr 1.2.1 v stringr 1.4.1
     v readr 2.1.2 v forcats 0.5.2
     -- Conflicts ------------------------------------------ tidyverse_conflicts() --
     x lubridate::as.difftime() masks base::as.difftime()
     x lubridate::date() masks base::date()
     x readr::edition_get() masks testthat::edition_get()
     x dplyr::filter() masks stats::filter()
     x dplyr::first() masks xts::first()
     x lubridate::intersect() masks base::intersect()
     x purrr::is_null() masks testthat::is_null()
     x dplyr::lag() masks stats::lag()
     x dplyr::last() masks xts::last()
     x readr::local_edition() masks testthat::local_edition()
     x dplyr::matches() masks tidyr::matches(), testthat::matches()
     x lubridate::setdiff() masks base::setdiff()
     x lubridate::union() masks base::union()
     > library(dplyr)
     > library(tibble)
     >
     > test_check("tidyquant")
     [ FAIL 1 | WARN 2 | SKIP 2 | PASS 76 ]
    
     == Skipped tests ===============================================================
     * On CRAN (2)
    
     == Failed tests ================================================================
     -- Error (test-tq_transmute.R:42:1): (code run outside of `test_that()`) -------
     Error in `xts(x = structure(list(value = c(-0.626453810742332, 0.183643324222082,
     -0.835628612410047, 1.59528080213779, 0.329507771815361, -0.820468384118015,
     0.487429052428485, 0.738324705129217, 0.575781351653492, -0.305388387156356,
     1.51178116845085, 0.389843236411431, -0.621240580541804, -2.2146998871775,
     1.12493091814311, -0.0449336090152309, -0.0161902630989461, 0.943836210685299,
     0.821221195098089, 0.593901321217509, 0.918977371608218, 0.782136300731067,
     0.0745649833651906, -1.98935169586337, 0.61982574789471, -0.0561287395290008,
     -0.155795506705329, -1.47075238389927, -0.47815005510862, 0.417941560199702,
     1.35867955152904, -0.102787727342996, 0.387671611559369, -0.0538050405829051,
     -1.37705955682861, -0.41499456329968, -0.394289953710349, -0.0593133967111857,
     1.10002537198388, 0.763175748457544, -0.164523596253587, -0.253361680136508,
     0.696963375404737, 0.556663198673657, -0.68875569454952, -0.70749515696212,
     0.36458196213683, 0.768532924515416, -0.112346212150228, 0.881107726454215,
     0.398105880367068, -0.612026393250771, 0.341119691424425, -1.12936309608079,
     1.43302370170104, 1.98039989850586, -0.367221476466509, -1.04413462631653,
     0.569719627442413, -0.135054603880824)), row.names = c(NA, -60L
     ), class = c("tbl_df", "tbl", "data.frame")), order.by = structure(c(1337065200,
     1337068800, 1337072400, 1337076000, 1337079600, 1337083200, 1337086800,
     1337090400, 1337094000, 1337097600, 1337101200, 1337104800, 1337108400,
     1337112000, 1337115600, 1337119200, 1337122800, NA, 1337130000,
     1337133600, 1337137200, 1337140800, 1337144400, 1337148000, 1337151600,
     1337155200, 1337158800, 1337162400, 1337166000, 1337169600, 1337173200,
     1337176800, 1337180400, 1337184000, 1337187600, 1337191200, 1337194800,
     1337198400, 1337202000, 1337205600, 1337209200, NA, 1337216400,
     1337220000, 1337223600, 1337227200, 1337230800, 1337234400, 1337238000,
     1337241600, 1337245200, 1337248800, 1337252400, 1337256000, 1337259600,
     1337263200, 1337266800, 1337270400, 1337274000, 1337277600), class = c("POSIXct",
     "POSIXt"), tzone = "Zulu"))`: 'order.by' cannot contain 'NA', 'NaN', or 'Inf'
     Backtrace:
     x
     1. +-... %>% tq_transmute_xy(x = value, mutate_fun = MACD) at test-tq_transmute.R:42:0
     2. +-tidyquant::tq_transmute_xy(., x = value, mutate_fun = MACD)
     3. | +-tidyquant::tq_transmute_xy_(...)
     4. | \-tidyquant:::tq_transmute_xy_.tbl_df(...)
     5. | \-data %>% timetk::tk_xts_(silent = TRUE) %$% ...
     6. +-base::with(., fun_transmute(eval(parse(text = x)), ...))
     7. +-timetk::tk_xts_(., silent = TRUE)
     8. \-timetk:::tk_xts_.data.frame(., silent = TRUE)
     9. +-base::do.call("xts", xts_args)
     10. \-xts::xts(x = `<tibble[,1]>`, order.by = `<dttm>`)
    
     [ FAIL 1 | WARN 2 | SKIP 2 | PASS 76 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0.5
Check: tests
Result: ERROR
     Running ‘testthat.R’ [14s/27s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(tidyquant)
     Loading required package: lubridate
    
     Attaching package: 'lubridate'
    
     The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
     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
     > library(tidyverse)
     ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ──
     ✔ ggplot2 3.3.6 ✔ purrr 0.3.4
     ✔ tibble 3.1.8 ✔ dplyr 1.0.10
     ✔ tidyr 1.2.1 ✔ stringr 1.4.1
     ✔ readr 2.1.2 ✔ forcats 0.5.2
     ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
     ✖ lubridate::as.difftime() masks base::as.difftime()
     ✖ lubridate::date() masks base::date()
     ✖ readr::edition_get() masks testthat::edition_get()
     ✖ 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()
     ✖ readr::local_edition() masks testthat::local_edition()
     ✖ dplyr::matches() masks tidyr::matches(), testthat::matches()
     ✖ lubridate::setdiff() masks base::setdiff()
     ✖ lubridate::union() masks base::union()
     > library(dplyr)
     > library(tibble)
     >
     > test_check("tidyquant")
     [ FAIL 1 | WARN 2 | SKIP 2 | PASS 76 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (2)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-tq_transmute.R:42:1): (code run outside of `test_that()`) ───────
     Error in `xts(x = structure(list(value = c(-0.626453810742332, 0.183643324222082,
     -0.835628612410047, 1.59528080213779, 0.329507771815361, -0.820468384118015,
     0.487429052428485, 0.738324705129217, 0.575781351653492, -0.305388387156356,
     1.51178116845085, 0.389843236411431, -0.621240580541804, -2.2146998871775,
     1.12493091814311, -0.0449336090152309, -0.0161902630989461, 0.943836210685299,
     0.821221195098089, 0.593901321217509, 0.918977371608218, 0.782136300731067,
     0.0745649833651906, -1.98935169586337, 0.61982574789471, -0.0561287395290008,
     -0.155795506705329, -1.47075238389927, -0.47815005510862, 0.417941560199702,
     1.35867955152904, -0.102787727342996, 0.387671611559369, -0.0538050405829051,
     -1.37705955682861, -0.41499456329968, -0.394289953710349, -0.0593133967111857,
     1.10002537198388, 0.763175748457544, -0.164523596253587, -0.253361680136508,
     0.696963375404737, 0.556663198673657, -0.68875569454952, -0.70749515696212,
     0.36458196213683, 0.768532924515416, -0.112346212150228, 0.881107726454215,
     0.398105880367068, -0.612026393250771, 0.341119691424425, -1.12936309608079,
     1.43302370170104, 1.98039989850586, -0.367221476466509, -1.04413462631653,
     0.569719627442413, -0.135054603880824)), row.names = c(NA, -60L
     ), class = c("tbl_df", "tbl", "data.frame")), order.by = structure(c(1337065200,
     1337068800, 1337072400, 1337076000, 1337079600, 1337083200, 1337086800,
     1337090400, 1337094000, 1337097600, 1337101200, 1337104800, 1337108400,
     1337112000, 1337115600, 1337119200, 1337122800, NA, 1337130000,
     1337133600, 1337137200, 1337140800, 1337144400, 1337148000, 1337151600,
     1337155200, 1337158800, 1337162400, 1337166000, 1337169600, 1337173200,
     1337176800, 1337180400, 1337184000, 1337187600, 1337191200, 1337194800,
     1337198400, 1337202000, 1337205600, 1337209200, NA, 1337216400,
     1337220000, 1337223600, 1337227200, 1337230800, 1337234400, 1337238000,
     1337241600, 1337245200, 1337248800, 1337252400, 1337256000, 1337259600,
     1337263200, 1337266800, 1337270400, 1337274000, 1337277600), class = c("POSIXct",
     "POSIXt"), tzone = "Zulu"))`: 'order.by' cannot contain 'NA', 'NaN', or 'Inf'
     Backtrace:
     ▆
     1. ├─... %>% tq_transmute_xy(x = value, mutate_fun = MACD) at test-tq_transmute.R:42:0
     2. ├─tidyquant::tq_transmute_xy(., x = value, mutate_fun = MACD)
     3. │ ├─tidyquant::tq_transmute_xy_(...)
     4. │ └─tidyquant:::tq_transmute_xy_.tbl_df(...)
     5. │ └─data %>% timetk::tk_xts_(silent = TRUE) %$% ...
     6. ├─base::with(., fun_transmute(eval(parse(text = x)), ...))
     7. ├─timetk::tk_xts_(., silent = TRUE)
     8. └─timetk:::tk_xts_.data.frame(., silent = TRUE)
     9. ├─base::do.call("xts", xts_args)
     10. └─xts::xts(x = `<tibble[,1]>`, order.by = `<dttm>`)
    
     [ FAIL 1 | WARN 2 | SKIP 2 | PASS 76 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.5
Check: package dependencies
Result: NOTE
    Imports includes 21 non-default packages.
    Importing from so many packages makes the package vulnerable to any of
    them becoming unavailable. Move as many as possible to Suggests and
    use conditionally.
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.5
Check: installed package size
Result: NOTE
     installed size is 5.3Mb
     sub-directories of 1Mb or more:
     doc 4.4Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.0.5
Check: tests
Result: ERROR
     Running ‘testthat.R’ [20s/24s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(tidyquant)
     Loading required package: lubridate
    
     Attaching package: 'lubridate'
    
     The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
     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
     > library(tidyverse)
     ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ──
     ✔ ggplot2 3.3.6 ✔ purrr 0.3.4
     ✔ tibble 3.1.8 ✔ dplyr 1.0.10
     ✔ tidyr 1.2.1 ✔ stringr 1.4.1
     ✔ readr 2.1.3 ✔ forcats 0.5.2
     ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
     ✖ lubridate::as.difftime() masks base::as.difftime()
     ✖ lubridate::date() masks base::date()
     ✖ readr::edition_get() masks testthat::edition_get()
     ✖ 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()
     ✖ readr::local_edition() masks testthat::local_edition()
     ✖ dplyr::matches() masks tidyr::matches(), testthat::matches()
     ✖ lubridate::setdiff() masks base::setdiff()
     ✖ lubridate::union() masks base::union()
     > library(dplyr)
     > library(tibble)
     >
     > test_check("tidyquant")
     [ FAIL 1 | WARN 2 | SKIP 2 | PASS 76 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (2)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-tq_transmute.R:42:1): (code run outside of `test_that()`) ───────
     Error in `xts(x = structure(list(value = c(-0.626453810742332, 0.183643324222082,
     -0.835628612410047, 1.59528080213779, 0.329507771815361, -0.820468384118015,
     0.487429052428485, 0.738324705129217, 0.575781351653492, -0.305388387156356,
     1.51178116845085, 0.389843236411431, -0.621240580541804, -2.2146998871775,
     1.12493091814311, -0.0449336090152309, -0.0161902630989461, 0.943836210685299,
     0.821221195098089, 0.593901321217509, 0.918977371608218, 0.782136300731067,
     0.0745649833651906, -1.98935169586337, 0.61982574789471, -0.0561287395290008,
     -0.155795506705329, -1.47075238389927, -0.47815005510862, 0.417941560199702,
     1.35867955152904, -0.102787727342996, 0.387671611559369, -0.0538050405829051,
     -1.37705955682861, -0.41499456329968, -0.394289953710349, -0.0593133967111857,
     1.10002537198388, 0.763175748457544, -0.164523596253587, -0.253361680136508,
     0.696963375404737, 0.556663198673657, -0.68875569454952, -0.70749515696212,
     0.36458196213683, 0.768532924515416, -0.112346212150228, 0.881107726454215,
     0.398105880367068, -0.612026393250771, 0.341119691424425, -1.12936309608079,
     1.43302370170104, 1.98039989850586, -0.367221476466509, -1.04413462631653,
     0.569719627442413, -0.135054603880824)), row.names = c(NA, -60L
     ), class = c("tbl_df", "tbl", "data.frame")), order.by = structure(c(1337065200,
     1337068800, 1337072400, 1337076000, 1337079600, 1337083200, 1337086800,
     1337090400, 1337094000, 1337097600, 1337101200, 1337104800, 1337108400,
     1337112000, 1337115600, 1337119200, 1337122800, NA, 1337130000,
     1337133600, 1337137200, 1337140800, 1337144400, 1337148000, 1337151600,
     1337155200, 1337158800, 1337162400, 1337166000, 1337169600, 1337173200,
     1337176800, 1337180400, 1337184000, 1337187600, 1337191200, 1337194800,
     1337198400, 1337202000, 1337205600, 1337209200, NA, 1337216400,
     1337220000, 1337223600, 1337227200, 1337230800, 1337234400, 1337238000,
     1337241600, 1337245200, 1337248800, 1337252400, 1337256000, 1337259600,
     1337263200, 1337266800, 1337270400, 1337274000, 1337277600), class = c("POSIXct",
     "POSIXt"), tzone = "Zulu"))`: 'order.by' cannot contain 'NA', 'NaN', or 'Inf'
     Backtrace:
     ▆
     1. ├─... %>% tq_transmute_xy(x = value, mutate_fun = MACD) at test-tq_transmute.R:42:0
     2. ├─tidyquant::tq_transmute_xy(., x = value, mutate_fun = MACD)
     3. │ ├─tidyquant::tq_transmute_xy_(...)
     4. │ └─tidyquant:::tq_transmute_xy_.tbl_df(...)
     5. │ └─data %>% timetk::tk_xts_(silent = TRUE) %$% ...
     6. ├─base::with(., fun_transmute(eval(parse(text = x)), ...))
     7. ├─timetk::tk_xts_(., silent = TRUE)
     8. └─timetk:::tk_xts_.data.frame(., silent = TRUE)
     9. ├─base::do.call("xts", xts_args)
     10. └─xts::xts(x = `<tibble[,1]>`, order.by = `<dttm>`)
    
     [ FAIL 1 | WARN 2 | SKIP 2 | PASS 76 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.5
Check: tests
Result: ERROR
     Running ‘testthat.R’ [19s/66s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(tidyquant)
     Loading required package: lubridate
    
     Attaching package: 'lubridate'
    
     The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
     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
     > library(tidyverse)
     ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ──
     ✔ ggplot2 3.3.6 ✔ purrr 0.3.4
     ✔ tibble 3.1.8 ✔ dplyr 1.0.10
     ✔ tidyr 1.2.1 ✔ stringr 1.4.1
     ✔ readr 2.1.3 ✔ forcats 0.5.2
     ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
     ✖ lubridate::as.difftime() masks base::as.difftime()
     ✖ lubridate::date() masks base::date()
     ✖ readr::edition_get() masks testthat::edition_get()
     ✖ 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()
     ✖ readr::local_edition() masks testthat::local_edition()
     ✖ dplyr::matches() masks tidyr::matches(), testthat::matches()
     ✖ lubridate::setdiff() masks base::setdiff()
     ✖ lubridate::union() masks base::union()
     > library(dplyr)
     > library(tibble)
     >
     > test_check("tidyquant")
     [ FAIL 1 | WARN 2 | SKIP 2 | PASS 76 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (2)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-tq_transmute.R:42:1): (code run outside of `test_that()`) ───────
     Error in `xts(x = structure(list(value = c(-0.626453810742332, 0.183643324222082,
     -0.835628612410047, 1.59528080213779, 0.329507771815361, -0.820468384118015,
     0.487429052428485, 0.738324705129217, 0.575781351653492, -0.305388387156356,
     1.51178116845085, 0.389843236411431, -0.621240580541804, -2.2146998871775,
     1.12493091814311, -0.0449336090152309, -0.0161902630989461, 0.943836210685299,
     0.821221195098089, 0.593901321217509, 0.918977371608218, 0.782136300731067,
     0.0745649833651906, -1.98935169586337, 0.61982574789471, -0.0561287395290008,
     -0.155795506705329, -1.47075238389927, -0.47815005510862, 0.417941560199702,
     1.35867955152904, -0.102787727342996, 0.387671611559369, -0.0538050405829051,
     -1.37705955682861, -0.41499456329968, -0.394289953710349, -0.0593133967111857,
     1.10002537198388, 0.763175748457544, -0.164523596253587, -0.253361680136508,
     0.696963375404737, 0.556663198673657, -0.68875569454952, -0.70749515696212,
     0.36458196213683, 0.768532924515416, -0.112346212150228, 0.881107726454215,
     0.398105880367068, -0.612026393250771, 0.341119691424425, -1.12936309608079,
     1.43302370170104, 1.98039989850586, -0.367221476466509, -1.04413462631653,
     0.569719627442413, -0.135054603880824)), row.names = c(NA, -60L
     ), class = c("tbl_df", "tbl", "data.frame")), order.by = structure(c(1337065200,
     1337068800, 1337072400, 1337076000, 1337079600, 1337083200, 1337086800,
     1337090400, 1337094000, 1337097600, 1337101200, 1337104800, 1337108400,
     1337112000, 1337115600, 1337119200, 1337122800, NA, 1337130000,
     1337133600, 1337137200, 1337140800, 1337144400, 1337148000, 1337151600,
     1337155200, 1337158800, 1337162400, 1337166000, 1337169600, 1337173200,
     1337176800, 1337180400, 1337184000, 1337187600, 1337191200, 1337194800,
     1337198400, 1337202000, 1337205600, 1337209200, NA, 1337216400,
     1337220000, 1337223600, 1337227200, 1337230800, 1337234400, 1337238000,
     1337241600, 1337245200, 1337248800, 1337252400, 1337256000, 1337259600,
     1337263200, 1337266800, 1337270400, 1337274000, 1337277600), class = c("POSIXct",
     "POSIXt"), tzone = "Zulu"))`: 'order.by' cannot contain 'NA', 'NaN', or 'Inf'
     Backtrace:
     ▆
     1. ├─... %>% tq_transmute_xy(x = value, mutate_fun = MACD) at test-tq_transmute.R:42:0
     2. ├─tidyquant::tq_transmute_xy(., x = value, mutate_fun = MACD)
     3. │ ├─tidyquant::tq_transmute_xy_(...)
     4. │ └─tidyquant:::tq_transmute_xy_.tbl_df(...)
     5. │ └─data %>% timetk::tk_xts_(silent = TRUE) %$% ...
     6. ├─base::with(., fun_transmute(eval(parse(text = x)), ...))
     7. ├─timetk::tk_xts_(., silent = TRUE)
     8. └─timetk:::tk_xts_.data.frame(., silent = TRUE)
     9. ├─base::do.call("xts", xts_args)
     10. └─xts::xts(x = `<tibble[,1]>`, order.by = `<dttm>`)
    
     [ FAIL 1 | WARN 2 | SKIP 2 | PASS 76 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.5
Check: tests
Result: ERROR
     Running 'testthat.R' [19s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(tidyquant)
     Loading required package: lubridate
    
     Attaching package: 'lubridate'
    
     The following objects are masked from 'package:base':
    
     date, intersect, setdiff, union
    
     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
     > library(tidyverse)
     ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ──
     ✔ ggplot2 3.3.6 ✔ purrr 0.3.4
     ✔ tibble 3.1.8 ✔ dplyr 1.0.10
     ✔ tidyr 1.2.1 ✔ stringr 1.4.1
     ✔ readr 2.1.2 ✔ forcats 0.5.2
     ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
     ✖ lubridate::as.difftime() masks base::as.difftime()
     ✖ lubridate::date() masks base::date()
     ✖ readr::edition_get() masks testthat::edition_get()
     ✖ 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()
     ✖ readr::local_edition() masks testthat::local_edition()
     ✖ dplyr::matches() masks tidyr::matches(), testthat::matches()
     ✖ lubridate::setdiff() masks base::setdiff()
     ✖ lubridate::union() masks base::union()
     > library(dplyr)
     > library(tibble)
     >
     > test_check("tidyquant")
     [ FAIL 1 | WARN 2 | SKIP 3 | PASS 75 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (2)
     • On Windows (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-tq_transmute.R:42:1): (code run outside of `test_that()`) ───────
     Error in `xts(x = structure(list(value = c(-0.626453810742332, 0.183643324222082,
     -0.835628612410047, 1.59528080213779, 0.329507771815361, -0.820468384118015,
     0.487429052428485, 0.738324705129217, 0.575781351653492, -0.305388387156356,
     1.51178116845085, 0.389843236411431, -0.621240580541804, -2.2146998871775,
     1.12493091814311, -0.0449336090152309, -0.0161902630989461, 0.943836210685299,
     0.821221195098089, 0.593901321217509, 0.918977371608218, 0.782136300731067,
     0.0745649833651906, -1.98935169586337, 0.61982574789471, -0.0561287395290008,
     -0.155795506705329, -1.47075238389927, -0.47815005510862, 0.417941560199702,
     1.35867955152904, -0.102787727342996, 0.387671611559369, -0.0538050405829051,
     -1.37705955682861, -0.41499456329968, -0.394289953710349, -0.0593133967111857,
     1.10002537198388, 0.763175748457544, -0.164523596253587, -0.253361680136508,
     0.696963375404737, 0.556663198673657, -0.68875569454952, -0.70749515696212,
     0.36458196213683, 0.768532924515416, -0.112346212150228, 0.881107726454215,
     0.398105880367068, -0.612026393250771, 0.341119691424425, -1.12936309608079,
     1.43302370170104, 1.98039989850586, -0.367221476466509, -1.04413462631653,
     0.569719627442413, -0.135054603880824)), row.names = c(NA, -60L
     ), class = c("tbl_df", "tbl", "data.frame")), order.by = structure(c(1337065200,
     1337068800, 1337072400, 1337076000, 1337079600, 1337083200, 1337086800,
     1337090400, 1337094000, 1337097600, 1337101200, 1337104800, 1337108400,
     1337112000, 1337115600, 1337119200, 1337122800, NA, 1337130000,
     1337133600, 1337137200, 1337140800, 1337144400, 1337148000, 1337151600,
     1337155200, 1337158800, 1337162400, 1337166000, 1337169600, 1337173200,
     1337176800, 1337180400, 1337184000, 1337187600, 1337191200, 1337194800,
     1337198400, 1337202000, 1337205600, 1337209200, NA, 1337216400,
     1337220000, 1337223600, 1337227200, 1337230800, 1337234400, 1337238000,
     1337241600, 1337245200, 1337248800, 1337252400, 1337256000, 1337259600,
     1337263200, 1337266800, 1337270400, 1337274000, 1337277600), class = c("POSIXct",
     "POSIXt"), tzone = "Zulu"))`: 'order.by' cannot contain 'NA', 'NaN', or 'Inf'
     Backtrace:
     ▆
     1. ├─... %>% tq_transmute_xy(x = value, mutate_fun = MACD) at test-tq_transmute.R:42:0
     2. ├─tidyquant::tq_transmute_xy(., x = value, mutate_fun = MACD)
     3. │ ├─tidyquant::tq_transmute_xy_(...)
     4. │ └─tidyquant:::tq_transmute_xy_.tbl_df(...)
     5. │ └─data %>% timetk::tk_xts_(silent = TRUE) %$% ...
     6. ├─base::with(., fun_transmute(eval(parse(text = x)), ...))
     7. ├─timetk::tk_xts_(., silent = TRUE)
     8. └─timetk:::tk_xts_.data.frame(., silent = TRUE)
     9. ├─base::do.call("xts", xts_args)
     10. └─xts::xts(x = `<tibble[,1]>`, order.by = `<dttm>`)
    
     [ FAIL 1 | WARN 2 | SKIP 3 | PASS 75 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64

Version: 1.0.5
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘Rblpapi’
Flavors: r-release-macos-arm64, r-oldrel-macos-arm64

Version: 1.0.5
Check: Rd cross-references
Result: NOTE
    Package unavailable to check Rd xrefs: ‘Rblpapi’
Flavors: r-release-macos-arm64, r-oldrel-macos-arm64