Package check result: ERROR Check: examples, Result: ERROR Running examples in ‘PerformanceAnalytics-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: Omega > ### Title: calculate Omega for a return series > ### Aliases: Omega > > ### ** Examples > > > data(edhec) > Omega(edhec) Convertible Arbitrage CTA Global Distressed Securities Omega (L = 0%) 2.848491 1.618552 2.756588 Emerging Markets Equity Market Neutral Event Driven Omega (L = 0%) 1.752959 4.291785 2.630127 Fixed Income Arbitrage Global Macro Long/Short Equity Omega (L = 0%) 3.369045 2.89794 2.314433 Merger Arbitrage Relative Value Short Selling Funds of Funds Omega (L = 0%) 3.955367 3.662014 0.9247907 2.185667 > Omega(edhec[,13],method="interp",output="point") Error in FUN(newX[, i], ...) : requireNamespace("Hmisc", quietly = TRUE) is not TRUE Calls: Omega -> apply -> FUN -> stopifnot Execution halted Check: tests, Result: ERROR Running ‘tinytest.R’ [0s/0s] Running the tests in ‘tests/tinytest.R’ failed. Complete output: > if ( requireNamespace("tinytest", quietly=TRUE) ){ + + tinytest::test_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 test_CAPM.R................... 0 tests test_CAPM.R................... 0 tests test_CAPM.R................... 0 tests test_CAPM.R................... 0 tests test_CAPM.R................... 0 tests test_CAPM.R................... 0 tests test_CAPM.R................... 0 tests test_CAPM.R................... 0 tests test_CAPM.R................... 1 tests OK test_CAPM.R................... 2 tests OK Error in .coefficients(xRa[, n[1]], xRb[, n[2]], subset, method = method, : "package:RobStatTM" %in% search() || requireNamespace("RobStatTM", .... is not TRUE Calls: ... SFM.coefficients -> apply -> FUN -> .coefficients -> stopifnot Execution halted Check: re-building of vignette outputs, Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘PA_StandardErrors.pdf.asis’ using asis --- finished re-building ‘PA_StandardErrors.pdf.asis’ --- re-building ‘textplotPresentation-CRUG-2011.pdf.asis’ using asis --- finished re-building ‘textplotPresentation-CRUG-2011.pdf.asis’ --- re-building ‘EstimationComoments.Rnw’ using Sweave 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 --- finished re-building ‘EstimationComoments.Rnw’ --- re-building ‘PA-charts.Rnw’ using Sweave 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 Error: processing vignette 'PA-charts.Rnw' failed with diagnostics: chunk 15 (label = tableCAPM) Error in .coefficients(xRa[, n[1]], xRb[, n[2]], subset, method = method, : "package:RobStatTM" %in% search() || requireNamespace("RobStatTM", .... is not TRUE --- failed re-building ‘PA-charts.Rnw’ --- re-building ‘PerformanceAnalyticsChartsPresentation-Meielisalp-2007.Rnw’ using Sweave 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 Error: processing vignette 'PerformanceAnalyticsChartsPresentation-Meielisalp-2007.Rnw' failed with diagnostics: chunk 14 (label = tableCAPM) Error in .coefficients(xRa[, n[1]], xRb[, n[2]], subset, method = method, : "package:RobStatTM" %in% search() || requireNamespace("RobStatTM", .... is not TRUE --- failed re-building ‘PerformanceAnalyticsChartsPresentation-Meielisalp-2007.Rnw’ --- re-building ‘PerformanceAnalyticsPresentation-UseR-2007.Rnw’ using Sweave 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 Error: processing vignette 'PerformanceAnalyticsPresentation-UseR-2007.Rnw' failed with diagnostics: chunk 12 (label = tableCAPM) Error in .coefficients(xRa[, n[1]], xRb[, n[2]], subset, method = method, : "package:RobStatTM" %in% search() || requireNamespace("RobStatTM", .... is not TRUE --- failed re-building ‘PerformanceAnalyticsPresentation-UseR-2007.Rnw’ --- re-building ‘portfolio_returns.Rnw’ using Sweave 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 objects are masked _by_ ‘.GlobalEnv’: prices, weights The following object is masked from ‘package:graphics’: legend --- finished re-building ‘portfolio_returns.Rnw’ SUMMARY: processing the following files failed: ‘PA-charts.Rnw’ ‘PerformanceAnalyticsChartsPresentation-Meielisalp-2007.Rnw’ ‘PerformanceAnalyticsPresentation-UseR-2007.Rnw’ Error: Vignette re-building failed. Execution halted