CRAN Package Check Results for Package WRI

Last updated on 2025-12-08 13:48:57 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 36.87 89.96 126.83 NOTE
r-devel-linux-x86_64-debian-gcc 0.2.0 22.58 48.58 71.16 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.0 63.00 124.68 187.68 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.0 51.00 120.36 171.36 ERROR
r-devel-windows-x86_64 0.2.0 47.00 119.00 166.00 NOTE
r-patched-linux-x86_64 0.2.0 35.34 85.15 120.49 NOTE
r-release-linux-x86_64 0.2.0 33.50 85.59 119.09 NOTE
r-release-macos-arm64 0.2.0 NOTE
r-release-macos-x86_64 0.2.0 15.00 90.00 105.00 NOTE
r-release-windows-x86_64 0.2.0 46.00 116.00 162.00 NOTE
r-oldrel-macos-arm64 0.2.0 NOTE
r-oldrel-macos-x86_64 0.2.0 13.00 69.00 82.00 NOTE
r-oldrel-windows-x86_64 0.2.0 54.00 151.00 205.00 NOTE

Check Details

Version: 0.2.0
Check: Rd files
Result: NOTE checkRd: (-1) confidenceBands.Rd:41: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) confidenceBands.Rd:42: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) confidenceBands.Rd:43: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) confidenceBands.Rd:44: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) confidenceBands.Rd:48: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) confidenceBands.Rd:49: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) confidenceBands.Rd:50: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) confidenceBands.Rd:51: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) confidenceBands.Rd:54: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) confidenceBands.Rd:55: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) confidenceBands.Rd:56: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) confidenceBands.Rd:57: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) confidenceBands.Rd:58: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) globalFtest.Rd:46: Lost braces in \itemize; meant \describe ? checkRd: (-1) globalFtest.Rd:47: Lost braces in \itemize; meant \describe ? checkRd: (-1) globalFtest.Rd:48: Lost braces in \itemize; meant \describe ? checkRd: (-1) globalFtest.Rd:49: Lost braces in \itemize; meant \describe ? checkRd: (-1) globalFtest.Rd:35: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) globalFtest.Rd:36: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) globalFtest.Rd:37: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) globalFtest.Rd:38: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) partialFtest.Rd:29: Lost braces in \itemize; meant \describe ? checkRd: (-1) partialFtest.Rd:30: Lost braces in \itemize; meant \describe ? checkRd: (-1) simulate_quantile_curves.Rd:19: Lost braces; missing escapes or markup? 19 | {quan_obs} {n-by-m matrix of quantile functions} | ^ checkRd: (-1) wass_regress.Rd:38: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) wass_regress.Rd:39: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) wass_regress.Rd:40: Lost braces in \itemize; \value handles \item{}{} directly checkRd: (-1) wass_regress.Rd:41: Lost braces in \itemize; \value handles \item{}{} directly Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-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-x86_64

Version: 0.2.0
Check: examples
Result: ERROR Running examples in ‘WRI-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: confidenceBands > ### Title: Confidence Bands for Wasserstein Regression > ### Aliases: confidenceBands > > ### ** Examples > > alpha = 2 > beta = 1 > n = 50 > x1 = runif(n) > t_vec = unique(c(seq(0, 0.05, 0.001), seq(0.05, 0.95, 0.05), seq(0.95, 1, 0.001))) > set.seed(1) > quan_obs = simulate_quantile_curves(x1, alpha, beta, t_vec) > Xfit_df = data.frame(x1 = x1) > res = wass_regress(rightside_formula = ~., Xfit_df = Xfit_df, + Ytype = 'quantile', Ymat = quan_obs, Sup = t_vec) Error in r[i1, , drop = FALSE] - r[if (lag < (len <- nrow(r))) -len:-(len - : non-numeric argument to binary operator Calls: wass_regress -> diff -> diff.default Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed WARp 4.582 0.337 5.81 Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [4s/5s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(WRI) > > test_check("WRI") Saving _problems/test-wass_regress-28.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 9 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-wass_regress.R:27:9'): function wass_regress works for a trivial example ── Error in `r[i1, , drop = FALSE] - r[if (lag < (len <- nrow(r))) -len:-(len - lag + 1L) else i0, , drop = FALSE]`: non-numeric argument to binary operator Backtrace: ▆ 1. └─WRI::wass_regress(...) at test-wass_regress.R:27:9 2. ├─base::diff(t(Ytype)) 3. └─base::diff.default(t(Ytype)) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 9 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘WRI-vignette.Rmd’ using rmarkdown strokeCTdensity package:WRI R Documentation _<08>S_<08>t_<08>r_<08>o_<08>k_<08>e _<08>d_<08>a_<08>t_<08>a: _<08>c_<08>l_<08>i_<08>n_<08>i_<08>c_<08>a_<08>l, _<08>r_<08>a_<08>d_<08>i_<08>o_<08>l_<08>o_<08>g_<08>i_<08>c_<08>a_<08>l _<08>s_<08>c_<08>a_<08>l_<08>a_<08>r _<08>v_<08>a_<08>r_<08>i_<08>a_<08>b_<08>l_<08>e_<08>s _<08>a_<08>n_<08>d _<08>d_<08>e_<08>n_<08>s_<08>i_<08>t_<08>y _<08>c_<08>u_<08>r_<08>v_<08>e_<08>s _<08>o_<08>f _<08>t_<08>h_<08>e _<08>h_<08>e_<08>m_<08>a_<08>t_<08>o_<08>m_<08>a _<08>o_<08>f _<08>3_<08>9_<08>3 _<08>s_<08>t_<08>r_<08>o_<08>k_<08>e _<08>p_<08>a_<08>t_<08>i_<08>e_<08>n_<08>t_<08>s _<08>D_<08>e_<08>s_<08>c_<08>r_<08>i_<08>p_<08>t_<08>i_<08>o_<08>n: Stroke data: clinical, radiological scalar variables and density curves of the hematoma of 393 stroke patients _<08>F_<08>o_<08>r_<08>m_<08>a_<08>t: a list of the following three fields: densityCurve: 393-by-101 head CT hematoma densities as distributional response densitySupport: length 101 common support vector predictors: 393-by-9 matrix containing 9 scalar predictors _<08>R_<08>e_<08>f_<08>e_<08>r_<08>e_<08>n_<08>c_<08>e_<08>s: 'Wasserstein F-tests and confidence bands for the Frechet regression of density response curves, Alexander Petersen, Xi Liu and Afshin A. Divani, 2019' Quitting from WRI-vignette.Rmd:80-82 [unnamed-chunk-5] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `r[i1, , drop = FALSE] - r[if (lag < (len <- nrow(r))) -len:-(len - lag + 1L) else i0, , drop = FALSE]`: ! non-numeric argument to binary operator --- Backtrace: ▆ 1. └─WRI::wass_regress(...) 2. ├─base::diff(t(Ytype)) 3. └─base::diff.default(t(Ytype)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'WRI-vignette.Rmd' failed with diagnostics: non-numeric argument to binary operator --- failed re-building ‘WRI-vignette.Rmd’ SUMMARY: processing the following file failed: ‘WRI-vignette.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.0
Check: dependencies in R code
Result: NOTE Namespaces in Imports field not imported from: ‘fdadensity’ ‘locfit’ ‘locpol’ ‘modeest’ All declared Imports should be used. Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.2.0
Check: examples
Result: ERROR Running examples in ‘WRI-Ex.R’ failed The error most likely occurred in: > ### Name: confidenceBands > ### Title: Confidence Bands for Wasserstein Regression > ### Aliases: confidenceBands > > ### ** Examples > > alpha = 2 > beta = 1 > n = 50 > x1 = runif(n) > t_vec = unique(c(seq(0, 0.05, 0.001), seq(0.05, 0.95, 0.05), seq(0.95, 1, 0.001))) > set.seed(1) > quan_obs = simulate_quantile_curves(x1, alpha, beta, t_vec) > Xfit_df = data.frame(x1 = x1) > res = wass_regress(rightside_formula = ~., Xfit_df = Xfit_df, + Ytype = 'quantile', Ymat = quan_obs, Sup = t_vec) Error in r[i1, , drop = FALSE] - r[if (lag < (len <- nrow(r))) -len:-(len - : non-numeric argument to binary operator Calls: wass_regress -> diff -> diff.default Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(WRI) > > test_check("WRI") Saving _problems/test-wass_regress-28.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 9 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-wass_regress.R:27:9'): function wass_regress works for a trivial example ── Error in `r[i1, , drop = FALSE] - r[if (lag < (len <- nrow(r))) -len:-(len - lag + 1L) else i0, , drop = FALSE]`: non-numeric argument to binary operator Backtrace: ▆ 1. └─WRI::wass_regress(...) at test-wass_regress.R:27:9 2. ├─base::diff(t(Ytype)) 3. └─base::diff.default(t(Ytype)) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 9 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.2.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘WRI-vignette.Rmd’ using rmarkdown strokeCTdensity package:WRI R Documentation _<08>S_<08>t_<08>r_<08>o_<08>k_<08>e _<08>d_<08>a_<08>t_<08>a: _<08>c_<08>l_<08>i_<08>n_<08>i_<08>c_<08>a_<08>l, _<08>r_<08>a_<08>d_<08>i_<08>o_<08>l_<08>o_<08>g_<08>i_<08>c_<08>a_<08>l _<08>s_<08>c_<08>a_<08>l_<08>a_<08>r _<08>v_<08>a_<08>r_<08>i_<08>a_<08>b_<08>l_<08>e_<08>s _<08>a_<08>n_<08>d _<08>d_<08>e_<08>n_<08>s_<08>i_<08>t_<08>y _<08>c_<08>u_<08>r_<08>v_<08>e_<08>s _<08>o_<08>f _<08>t_<08>h_<08>e _<08>h_<08>e_<08>m_<08>a_<08>t_<08>o_<08>m_<08>a _<08>o_<08>f _<08>3_<08>9_<08>3 _<08>s_<08>t_<08>r_<08>o_<08>k_<08>e _<08>p_<08>a_<08>t_<08>i_<08>e_<08>n_<08>t_<08>s _<08>D_<08>e_<08>s_<08>c_<08>r_<08>i_<08>p_<08>t_<08>i_<08>o_<08>n: Stroke data: clinical, radiological scalar variables and density curves of the hematoma of 393 stroke patients _<08>F_<08>o_<08>r_<08>m_<08>a_<08>t: a list of the following three fields: densityCurve: 393-by-101 head CT hematoma densities as distributional response densitySupport: length 101 common support vector predictors: 393-by-9 matrix containing 9 scalar predictors _<08>R_<08>e_<08>f_<08>e_<08>r_<08>e_<08>n_<08>c_<08>e_<08>s: 'Wasserstein F-tests and confidence bands for the Frechet regression of density response curves, Alexander Petersen, Xi Liu and Afshin A. Divani, 2019' Quitting from WRI-vignette.Rmd:80-82 [unnamed-chunk-5] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `r[i1, , drop = FALSE] - r[if (lag < (len <- nrow(r))) -len:-(len - lag + 1L) else i0, , drop = FALSE]`: ! non-numeric argument to binary operator --- Backtrace: ▆ 1. └─WRI::wass_regress(...) 2. ├─base::diff(t(Ytype)) 3. └─base::diff.default(t(Ytype)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'WRI-vignette.Rmd' failed with diagnostics: non-numeric argument to binary operator --- failed re-building ‘WRI-vignette.Rmd’ SUMMARY: processing the following file failed: ‘WRI-vignette.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [7s/10s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(WRI) > > test_check("WRI") Saving _problems/test-wass_regress-28.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 9 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-wass_regress.R:27:9'): function wass_regress works for a trivial example ── Error in `r[i1, , drop = FALSE] - r[if (lag < (len <- nrow(r))) -len:-(len - lag + 1L) else i0, , drop = FALSE]`: non-numeric argument to binary operator Backtrace: ▆ 1. └─WRI::wass_regress(...) at test-wass_regress.R:27:9 2. ├─base::diff(t(Ytype)) 3. └─base::diff.default(t(Ytype)) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 9 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc