* using log directory ‘/Volumes/Builds/packages/big-sur-arm64/results/4.5/tidyquant.Rcheck’ * using R Under development (unstable) (2025-01-24 r87627) * using platform: aarch64-apple-darwin20 * R was compiled by Apple clang version 14.0.0 (clang-1400.0.29.202) GNU Fortran (GCC) 14.2.0 * running under: macOS Ventura 13.4 * using session charset: UTF-8 * checking for file ‘tidyquant/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘tidyquant’ version ‘1.0.10’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘tidyquant’ can be installed ... [4s/4s] OK See 'https://www.r-project.org/nosvn/R.check/r-devel-macos-arm64/tidyquant-00install.html' for details. * checking installed package size ... OK * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] OK * checking whether startup messages can be suppressed ... [1s/1s] OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [3s/4s] OK * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking R/sysdata.rda ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [5s/16s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [4s/9s] ERROR Running ‘testthat.R’ [4s/9s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(tidyquant) ── Attaching core tidyquant packages ─────────────────────── tidyquant 1.0.10 ── ✔ PerformanceAnalytics 2.0.8 ✔ quantmod 0.4.26 ✔ TTR 0.24.4 ✔ xts 0.14.1 ── Conflicts ────────────────────────────────────────── tidyquant_conflicts() ── ✖ zoo::as.Date() masks base::as.Date() ✖ zoo::as.Date.numeric() masks base::as.Date.numeric() ✖ PerformanceAnalytics::legend() masks graphics::legend() ✖ quantmod::summary() masks base::summary() ℹ Use the conflicted package () to force all conflicts to become errors > > test_check("tidyquant") [ FAIL 2 | WARN 0 | SKIP 4 | PASS 65 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-index-tq_index.R:16:5', 'test-index_tq_exchange.R:18:5', 'test-tq_portfolio.R:4:1', 'test-tq_transmute.R:2:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-tq_get_stock_prices.R:33:5'): Test prints warning message on invalid x input. ── `tq_get("XYZ", get = get)` did not produce any warnings. ── Failure ('test-tq_get_stock_prices.R:37:5'): Test returns NA on invalid x input. ── suppressWarnings(tq_get("XYZ", get = get)) not equal to NA. Modes: list, logical names for target but not for current Attributes: < Modes: list, NULL > Attributes: < names for target but not for current > Attributes: < current is not list-like > Length mismatch: comparison on first 1 components Component 1: Modes: character, logical Component 1: Lengths: 2308, 1 Component 1: target is character, current is logical [ FAIL 2 | WARN 0 | SKIP 4 | PASS 65 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [6s/6s] OK * checking PDF version of manual ... [6s/7s] OK * DONE Status: 1 ERROR * using check arguments '--no-clean-on-error ' * elapsed time (check, wall clock): 1:12