CRAN Package Check Results for Package drape

Last updated on 2024-11-06 04:49:37 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.1 2.72 48.82 51.54 NOTE
r-devel-linux-x86_64-debian-gcc 0.0.1 1.96 37.47 39.43 ERROR
r-devel-linux-x86_64-fedora-clang 0.0.1 88.63 NOTE
r-devel-linux-x86_64-fedora-gcc 0.0.1 98.13 NOTE
r-devel-windows-x86_64 0.0.1 6.00 70.00 76.00 NOTE
r-patched-linux-x86_64 0.0.1 2.65 49.39 52.04 NOTE
r-release-linux-x86_64 0.0.1 2.76 54.30 57.06 NOTE
r-release-macos-arm64 0.0.1 34.00 NOTE
r-release-macos-x86_64 0.0.1 52.00 NOTE
r-release-windows-x86_64 0.0.1 5.00 73.00 78.00 NOTE
r-oldrel-macos-arm64 0.0.1 48.00 OK
r-oldrel-macos-x86_64 0.0.1 118.00 OK
r-oldrel-windows-x86_64 0.0.1 5.00 77.00 82.00 OK

Check Details

Version: 0.0.1
Check: Rd files
Result: NOTE checkRd: (-1) simulate_data.Rd:27: Lost braces; missing escapes or markup? 27 | Z ~ N_{9}(0,Sigma), | ^ checkRd: (-1) simulate_data.Rd:28: Lost braces; missing escapes or markup? 28 | where Sigma_{jj} = 1, Sigma_{jk} = corr for all j not equal to k. | ^ checkRd: (-1) simulate_data.Rd:28: Lost braces; missing escapes or markup? 28 | where Sigma_{jj} = 1, Sigma_{jk} = corr for all j not equal to k. | ^ checkRd: (-1) z_correlated_normal.Rd:5: Lost braces; missing escapes or markup? 5 | \title{Generate n copies of Z ~ N_{p}(0,Sigma), where Sigma_{jj} = 1, Sigma_{jk} = corr for all j not equal to k.} | ^ checkRd: (-1) z_correlated_normal.Rd:5: Lost braces; missing escapes or markup? 5 | \title{Generate n copies of Z ~ N_{p}(0,Sigma), where Sigma_{jj} = 1, Sigma_{jk} = corr for all j not equal to k.} | ^ checkRd: (-1) z_correlated_normal.Rd:5: Lost braces; missing escapes or markup? 5 | \title{Generate n copies of Z ~ N_{p}(0,Sigma), where Sigma_{jj} = 1, Sigma_{jk} = corr for all j not equal to k.} | ^ checkRd: (-1) z_correlated_normal.Rd:20: Lost braces; missing escapes or markup? 20 | Generate n copies of Z ~ N_{p}(0,Sigma), where Sigma_{jj} = 1, Sigma_{jk} = corr for all j not equal to k. | ^ checkRd: (-1) z_correlated_normal.Rd:20: Lost braces; missing escapes or markup? 20 | Generate n copies of Z ~ N_{p}(0,Sigma), where Sigma_{jj} = 1, Sigma_{jk} = corr for all j not equal to k. | ^ checkRd: (-1) z_correlated_normal.Rd:20: Lost braces; missing escapes or markup? 20 | Generate n copies of Z ~ N_{p}(0,Sigma), where Sigma_{jj} = 1, Sigma_{jk} = corr for all j not equal to k. | ^ 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

Version: 0.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [12s/14s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(drape) > > test_check("drape") [ FAIL 9 | WARN 0 | SKIP 0 | PASS 9 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_average_partial_effect.R:25:3'): drape works with simple nuisance estimators ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'vctrs' Backtrace: ▆ 1. ├─testthat::expect_vector(out$est, 1) at test_average_partial_effect.R:25:3 2. │ └─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_average_partial_effect.R:36:3'): drape works with xgboost nuisance estimators ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'vctrs' Backtrace: ▆ 1. ├─testthat::expect_vector(out$est, 1) at test_average_partial_effect.R:36:3 2. │ └─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_regression_functions.R:5:3'): fit_lasso_poly acts correctly ──── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'vctrs' Backtrace: ▆ 1. ├─testthat::expect_vector(out$fit(X), 5) at test_regression_functions.R:5:3 2. │ └─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_regression_functions.R:16:3'): fit_xgboost acts correctly ────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'vctrs' Backtrace: ▆ 1. ├─testthat::expect_vector(out$fit(X), 10) at test_regression_functions.R:16:3 2. │ └─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_resmooth.R:5:3'): resmooth acts correctly ────────────────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'vctrs' Backtrace: ▆ 1. ├─testthat::expect_vector(sm$pred[[1]], 11) at test_resmooth.R:5:3 2. │ └─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_score.R:4:3'): spline_score acts correctly for single df ─────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'vctrs' Backtrace: ▆ 1. ├─testthat::expect_vector(spl$rho(x), size = 10) at test_score.R:4:3 2. │ └─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_score.R:16:3'): ng_pseudo_y gives correct form of output ─────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'vctrs' Backtrace: ▆ 1. ├─testthat::expect_vector(ng_pseudo_response(1:5), size = 5) at test_score.R:16:3 2. │ └─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_score.R:22:3'): basis_poly acts correctly for single df ──────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'vctrs' Backtrace: ▆ 1. ├─testthat::expect_vector(bs$rho(X), size = 5) at test_score.R:22:3 2. │ └─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test_simulation_settings.R:6:7'): simulate_data works in simulated settings ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'vctrs' Backtrace: ▆ 1. ├─testthat::expect_vector(out$y, size = n) at test_simulation_settings.R:6:7 2. │ └─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 9 | WARN 0 | SKIP 0 | PASS 9 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc