Package check result: NOTE Check: compiled code, Result: NOTE File ‘rlang/libs/rlang.so’: Found non-API calls to R: ‘ENCLOS’, ‘OBJECT’, ‘PRENV’, ‘PRVALUE’, ‘R_PromiseExpr’, ‘Rf_allocSExp’, ‘Rf_findVarInFrame3’, ‘SETLENGTH’, ‘SET_BODY’, ‘SET_CLOENV’, ‘SET_ENCLOS’, ‘SET_FORMALS’, ‘SET_GROWABLE_BIT’, ‘SET_TRUELENGTH’, ‘SET_TYPEOF’, ‘XTRUELENGTH’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points. Changes to worse in reverse depends: Package: anomalize Check: package dependencies New result: ERROR Package required but not available: ‘sweep’ Package suggested but not available for checking: ‘tidyquant’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual. Package: AutoWMM Check: tests New result: ERROR Running ‘testthat.R’ [30m/30m] 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(AutoWMM) > > test_check("AutoWMM") using variance-weighted mean with multiplier method sampled path estimates Execution halted Package: crossmap Check: tests New result: ERROR Running ‘testthat.R’ [30s/40s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(crossmap) > > test_check("crossmap") [ FAIL 1 | WARN 3 | SKIP 0 | PASS 382 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-errors.R:12:3'): require future ────────────────────────────── `future_xmap(list(1:3, 1:3), paste)` did not throw an error. [ FAIL 1 | WARN 3 | SKIP 0 | PASS 382 ] Error: Test failures Execution halted Package: FMM Check: examples New result: ERROR Running examples in ‘FMM-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: FMM-methods > ### Title: Methods for objects of class "FMM" > ### Aliases: FMM-methods summary coef fitted resid summary,FMM-method > ### coef,FMM-method fitted,FMM-method resid,FMM-method > > ### ** Examples > > ## Generate example data: > fmm2.data <- generateFMM(0, rep(2, 2), c(1.5, 3.4), c(0.2, 2.3), c(0.1, 0.2), + plot = FALSE, outvalues = TRUE, + sigmaNoise = 0.5) # add a gaussian noise with sigma = 0.5 > > ## Fit the FMM model with nback = 2 component > ## fit is an object of S4 class 'FMM' > fit <- fitFMM(vData = fmm2.data$y,timePoints = fmm2.data$t,nback = 2, + lengthAlphaGrid = 24,lengthOmegaGrid = 10) Error in `rlang::env_unlock()`: ! `env_unlock()` is defunct as of rlang 1.1.5 Backtrace: ▆ 1. └─FMM::fitFMM(...) 2. └─FMM:::addShowMethod() 3. └─rlang::env_unlock(env = asNamespace("FMM")) 4. └─rlang::abort(msg) Execution halted Package: FMM Check: re-building of vignette outputs New result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘FMMVignette.Rmd’ using rmarkdown ** Processing: /home/hornik/tmp/CRAN_recheck/FMM.Rcheck/vign_test/FMM/vignettes/FMMVignette_files/figure-html/unnamed-chunk-4-1.png 1344x960 pixels, 3x8 bits/pixel, RGB Input IDAT size = 48238 bytes Input file size = 48376 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 40542 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 40542 Output IDAT size = 40542 bytes (7696 bytes decrease) Output file size = 40620 bytes (7756 bytes = 16.03% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/FMM.Rcheck/vign_test/FMM/vignettes/FMMVignette_files/figure-html/unnamed-chunk-6-1.png 1344x960 pixels, 3x8 bits/pixel, RGB Input IDAT size = 110649 bytes Input file size = 110883 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 77789 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 77789 Output IDAT size = 77789 bytes (32860 bytes decrease) Output file size = 77867 bytes (33016 bytes = 29.78% decrease) Quitting from FMMVignette.Rmd:216-219 [unnamed-chunk-7] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NULL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'FMMVignette.Rmd' failed with diagnostics: `env_unlock()` is defunct as of rlang 1.1.5 --- failed re-building ‘FMMVignette.Rmd’ SUMMARY: processing the following file failed: ‘FMMVignette.Rmd’ Error: Vignette re-building failed. Execution halted Package: FMM Check: tests New result: ERROR Running ‘testthat.R’ [2s/2s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(FMM) > > test_check("FMM") [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_fitFMM.R:4:3'): Parameter values in correct range. ───────────── Error in `rlang::env_unlock(env = asNamespace("FMM"))`: `env_unlock()` is defunct as of rlang 1.1.5 Backtrace: ▆ 1. └─FMM::fitFMM(mouseGeneExp, nback = 2) at test_fitFMM.R:4:3 2. └─FMM:::addShowMethod() 3. └─rlang::env_unlock(env = asNamespace("FMM")) 4. └─rlang::abort(msg) ── Error ('test_fitFMM.R:22:3'): Returns an S4 class object (FMM object). ────── Error in `rlang::env_unlock(env = asNamespace("FMM"))`: `env_unlock()` is defunct as of rlang 1.1.5 Backtrace: ▆ 1. ├─testthat::expect_s4_class(fitFMM(mouseGeneExp, nback = 2), "FMM") at test_fitFMM.R:22:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─FMM::fitFMM(mouseGeneExp, nback = 2) 5. └─FMM:::addShowMethod() 6. └─rlang::env_unlock(env = asNamespace("FMM")) 7. └─rlang::abort(msg) ── Error ('test_fitFMM.R:28:3'): Correct length of each vector slot. ─────────── Error in `rlang::env_unlock(env = asNamespace("FMM"))`: `env_unlock()` is defunct as of rlang 1.1.5 Backtrace: ▆ 1. └─FMM::fitFMM(mouseGeneExp, nback = 2) at test_fitFMM.R:28:3 2. └─FMM:::addShowMethod() 3. └─rlang::env_unlock(env = asNamespace("FMM")) 4. └─rlang::abort(msg) ── Error ('test_fitFMM.R:60:3'): FMM fit in limit parameter values simulated data. ── Error in `rlang::env_unlock(env = asNamespace("FMM"))`: `env_unlock()` is defunct as of rlang 1.1.5 Backtrace: ▆ 1. └─FMM::fitFMM(tmpData, nback = 2) at test_fitFMM.R:60:3 2. └─FMM:::addShowMethod() 3. └─rlang::env_unlock(env = asNamespace("FMM")) 4. └─rlang::abort(msg) [ FAIL 4 | WARN 0 | SKIP 0 | PASS 0 ] Error: Test failures Execution halted Package: infer Check: tests New result: ERROR Running ‘testthat.R’ [34s/35s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(infer) > > test_check("infer") Dropping unused factor levels DK from the supplied explanatory variable 'partyid'. Dropping unused factor levels DK from the supplied explanatory variable 'partyid'. Dropping unused factor levels DK from the supplied explanatory variable 'partyid'. Dropping unused factor levels DK from the supplied explanatory variable 'partyid'. Setting `type = "bootstrap"` in `generate()`. Setting `type = "bootstrap"` in `generate()`. Setting `type = "bootstrap"` in `generate()`. Setting `type = "bootstrap"` in `generate()`. Setting `type = "bootstrap"` in `generate()`. Setting `type = "draw"` in `generate()`. Setting `type = "permute"` in `generate()`. Setting `type = "draw"` in `generate()`. Setting `type = "permute"` in `generate()`. Setting `type = "permute"` in `generate()`. Setting `type = "permute"` in `generate()`. Setting `type = "permute"` in `generate()`. Setting `type = "bootstrap"` in `generate()`. Setting `type = "bootstrap"` in `generate()`. Setting `type = "bootstrap"` in `generate()`. Setting `type = "bootstrap"` in `generate()`. Using `level = 0.95` to compute confidence interval. Using `level = 0.95` to compute confidence interval. Using `level = 0.95` to compute confidence interval. Using `level = 0.95` to compute confidence interval. Dropping unused factor levels DK from the supplied explanatory variable 'partyid'. Dropping unused factor levels DK from the supplied explanatory variable 'partyid'. list() list() NULL Dropping unused factor levels DK from the supplied response variable 'partyid'. Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Setting `type = "bootstrap"` in `generate()`. Dropping unused factor levels DK from the supplied explanatory variable 'partyid'. Dropping unused factor levels DK from the supplied explanatory variable 'partyid'. [ FAIL 2 | WARN 0 | SKIP 109 | PASS 349 ] ══ Skipped tests (109) ═════════════════════════════════════════════════════════ • On CRAN (109): 'test-aliases.R:14:3', 'test-assume.R:99:3', 'test-assume.R:194:3', 'test-calculate.R:4:3', 'test-calculate.R:9:3', 'test-calculate.R:45:3', 'test-calculate.R:82:3', 'test-calculate.R:96:3', 'test-calculate.R:132:3', 'test-calculate.R:144:3', 'test-calculate.R:155:3', 'test-calculate.R:193:3', 'test-calculate.R:201:3', 'test-calculate.R:223:3', 'test-calculate.R:320:3', 'test-calculate.R:334:3', 'test-calculate.R:359:3', 'test-calculate.R:416:3', 'test-calculate.R:441:3', 'test-calculate.R:464:3', 'test-calculate.R:477:3', 'test-calculate.R:499:3', 'test-calculate.R:509:3', 'test-calculate.R:521:3', 'test-calculate.R:674:4', 'test-calculate.R:694:3', 'test-calculate.R:739:3', 'test-fit.R:68:3', 'test-fit.R:104:3', 'test-generate.R:38:3', 'test-generate.R:79:3', 'test-generate.R:164:3', 'test-generate.R:261:3', 'test-generate.R:283:3', 'test-generate.R:416:3', 'test-generate.R:495:3', 'test-get_confidence_interval.R:103:3', 'test-get_confidence_interval.R:109:3', 'test-get_confidence_interval.R:198:3', 'test-get_confidence_interval.R:225:3', 'test-get_confidence_interval.R:400:3', 'test-get_confidence_interval.R:489:4', 'test-get_p_value.R:8:3', 'test-get_p_value.R:61:3', 'test-get_p_value.R:71:3', 'test-get_p_value.R:78:3', 'test-get_p_value.R:121:3', 'test-get_p_value.R:187:3', 'test-get_p_value.R:214:3', 'test-get_p_value.R:335:3', 'test-get_p_value.R:436:3', 'test-hypothesize.R:62:3', 'test-hypothesize.R:87:3', 'test-hypothesize.R:96:3', 'test-hypothesize.R:105:3', 'test-hypothesize.R:114:4', 'test-hypothesize.R:123:3', 'test-hypothesize.R:132:3', 'test-hypothesize.R:141:3', 'test-hypothesize.R:150:3', 'test-hypothesize.R:162:3', 'test-hypothesize.R:197:3', 'test-hypothesize.R:219:3', 'test-observe.R:139:4', 'test-rep_sample_n.R:18:3', 'test-rep_sample_n.R:51:3', 'test-rep_sample_n.R:145:3', 'test-rep_sample_n.R:192:3', 'test-shade_confidence_interval.R:6:3', 'test-shade_confidence_interval.R:39:3', 'test-shade_confidence_interval.R:48:3', 'test-shade_confidence_interval.R:61:3', 'test-shade_p_value.R:6:3', 'test-shade_p_value.R:90:3', 'test-shade_p_value.R:116:3', 'test-shade_p_value.R:133:3', 'test-shade_p_value.R:141:3', 'test-shade_p_value.R:161:4', 'test-specify.R:20:3', 'test-specify.R:27:3', 'test-specify.R:49:3', 'test-specify.R:65:3', 'test-specify.R:79:3', 'test-specify.R:87:4', 'test-utils.R:59:3', 'test-utils.R:78:3', 'test-utils.R:86:3', 'test-utils.R:93:3', 'test-utils.R:108:4', 'test-visualize.R:50:3', 'test-visualize.R:101:3', 'test-visualize.R:437:3', 'test-visualize.R:467:3', 'test-visualize.R:491:3', 'test-visualize.R:545:3', 'test-visualize.R:574:3', 'test-visualize.R:595:5', 'test-visualize.R:613:3', 'test-visualize.R:646:3', 'test-visualize.R:713:3', 'test-wrappers.R:3:3', 'test-wrappers.R:77:3', 'test-wrappers.R:86:3', 'test-wrappers.R:220:3', 'test-wrappers.R:296:3', 'test-wrappers.R:368:3', 'test-wrappers.R:410:4', 'test-wrappers.R:436:4', 'test-wrappers.R:460:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-shade_p_value.R:157:4'): `shade_p_value()` handles 0-area shading without issue (#528) ── Expected `... <- NULL` to run without any conditions. i Actually got a with text: is.ggplot() is deprecated ── Failure ('test-shade_p_value.R:161:4'): `shade_p_value()` handles 0-area shading without issue (#528) ── Expected `print(zero_area_shade)` to run without any conditions. i Actually got a with text: object 'zero_area_shade' not found Backtrace: ▆ 1. ├─infer:::expect_doppelganger(...) at test-shade_p_value.R:161:4 2. │ └─vdiffr::expect_doppelganger(title, fig, ...) at tests/testthat/helper-data.R:5:3 3. │ └─vdiffr (local) writer(fig, testcase, title) 4. │ └─vdiffr:::print_plot(plot, title) 5. └─testthat::expect_no_condition(print(zero_area_shade)) [ FAIL 2 | WARN 0 | SKIP 109 | PASS 349 ] Deleting unused snapshots: • shade_confidence_interval/ci-both-fill.svg • shade_confidence_interval/ci-both-nofill.svg • shade_confidence_interval/ci-extra-aes-2.svg • shade_confidence_interval/ci-sim-nofill.svg • shade_confidence_interval/ci-theor-fill.svg • shade_confidence_interval/ci-theor-nofill.svg • shade_p_value/pval-both-both.svg • shade_p_value/pval-both-corrupt.svg • shade_p_value/pval-both-left.svg • shade_p_value/pval-both-null.svg • shade_p_value/pval-both-right.svg • shade_p_value/pval-direction-both.svg • shade_p_value/pval-direction-left.svg • shade_p_value/pval-extra-aes-2.svg • shade_p_value/pval-extra-aes-3.svg • shade_p_value/pval-sim-both.svg • shade_p_value/pval-sim-corrupt.svg • shade_p_value/pval-sim-left.svg • shade_p_value/pval-sim-null.svg • shade_p_value/pval-stat-match.svg • shade_p_value/pval-theor-both.svg • shade_p_value/pval-theor-corrupt.svg • shade_p_value/pval-theor-left.svg • shade_p_value/pval-theor-null.svg • shade_p_value/pval-theor-right.svg • visualize/ci-vis.svg • visualize/df-obs-stat-2.svg • visualize/method-both.svg • visualize/vis-both-both-1.svg • visualize/vis-both-both-2.svg • visualize/vis-both-left-1.svg • visualize/vis-both-left-2.svg • visualize/vis-both-none-1.svg • visualize/vis-both-none-2.svg • visualize/vis-both-right-1.svg • visualize/vis-both-right-2.svg • visualize/vis-no-hypothesize-both.svg • visualize/vis-sim-both-1.svg • visualize/vis-sim-both-2.svg • visualize/vis-sim-left-1.svg • visualize/vis-sim-none-1.svg • visualize/vis-sim-right-1.svg • visualize/vis-theor-both-1.svg • visualize/vis-theor-both-2.svg • visualize/vis-theor-left-1.svg • visualize/vis-theor-none-1.svg • visualize/vis-theor-none-2.svg • visualize/vis-theor-none-3.svg • visualize/vis-theor-none-4.svg • visualize/vis-theor-right-1.svg • visualize/visualise.svg • visualize/viz-assume-2t-ci.svg • visualize/viz-assume-2t-p-val-both.svg • visualize/viz-assume-2t-p-val-left.svg • visualize/viz-assume-2t-p-val-right.svg • visualize/viz-assume-2t.svg • visualize/viz-assume-2z-ci.svg • visualize/viz-assume-2z-p-val-both.svg • visualize/viz-assume-2z-p-val-left.svg • visualize/viz-assume-2z-p-val-right.svg • visualize/viz-assume-2z.svg • visualize/viz-assume-f-p-val.svg • visualize/viz-assume-t-both.svg • visualize/viz-assume-t-ci.svg • visualize/viz-assume-t-p-val-both.svg • visualize/viz-assume-t-p-val-left.svg • visualize/viz-assume-t-p-val-right.svg • visualize/viz-assume-t-sim.svg • visualize/viz-assume-t.svg • visualize/viz-assume-z-ci.svg • visualize/viz-assume-z-p-val-both.svg • visualize/viz-assume-z-p-val-left.svg • visualize/viz-assume-z-p-val-right.svg • visualize/viz-assume-z.svg • visualize/viz-fit-conf-int.svg • visualize/viz-fit-no-h0.svg • visualize/viz-fit-p-val-both.svg • visualize/viz-fit-p-val-left.svg • visualize/viz-fit-p-val-right.svg Error: Test failures Execution halted Package: modeltime.resample Check: re-building of vignette outputs New result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘getting-started.Rmd’ using rmarkdown ** Processing: /home/hornik/tmp/CRAN_recheck/modeltime.resample.Rcheck/vign_test/modeltime.resample/vignettes/getting-started_files/figure-html/unnamed-chunk-3-1.png 800x450 pixels, 3x8 bits/pixel, RGB Input IDAT size = 46533 bytes Input file size = 46671 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 43975 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 43975 Output IDAT size = 43975 bytes (2558 bytes decrease) Output file size = 44053 bytes (2618 bytes = 5.61% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/modeltime.resample.Rcheck/vign_test/modeltime.resample/vignettes/getting-started_files/figure-html/unnamed-chunk-5-1.png 800x450 pixels, 3x8 bits/pixel, RGB Input IDAT size = 52465 bytes Input file size = 52615 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 48033 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 48033 Output IDAT size = 48033 bytes (4432 bytes decrease) Output file size = 48111 bytes (4504 bytes = 8.56% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/modeltime.resample.Rcheck/vign_test/modeltime.resample/vignettes/getting-started_files/figure-html/unnamed-chunk-8-1.png 800x450 pixels, 3x8 bits/pixel, RGB Input IDAT size = 36480 bytes Input file size = 36606 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 28595 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 28595 Output IDAT size = 28595 bytes (7885 bytes decrease) Output file size = 28673 bytes (7933 bytes = 21.67% decrease) --- finished re-building ‘getting-started.Rmd’ --- re-building ‘panel-data.Rmd’ using rmarkdown Quitting from panel-data.Rmd:37-44 [setup] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `library()`: ! there is no package called 'tidyquant' --- Backtrace: ▆ 1. └─base::library(tidyquant) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'panel-data.Rmd' failed with diagnostics: there is no package called 'tidyquant' --- failed re-building ‘panel-data.Rmd’ SUMMARY: processing the following file failed: ‘panel-data.Rmd’ Error: Vignette re-building failed. Execution halted Package: RTL Check: examples New result: ERROR Running examples in ‘RTL-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: tradeStats > ### Title: Risk-reward statistics for quant trading > ### Aliases: tradeStats > > ### ** Examples > > library(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 > tradeStats(x = stocks$spy, Rf = 0) Error: Package "tidyquant" needed for this function to work. Please install it. Execution halted Package: sweep Check: package dependencies New result: ERROR Package required but not available: ‘tidyquant’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual. Package: tidyquant Check: whether package can be installed New result: ERROR Installation failed.