CRAN Package Check Results for Package drape

Last updated on 2024-12-01 18:49:15 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.1 2.64 48.32 50.96 ERROR
r-devel-linux-x86_64-debian-gcc 0.0.2 2.10 37.27 39.37 OK
r-devel-linux-x86_64-fedora-clang 0.0.2 93.61 OK
r-devel-linux-x86_64-fedora-gcc 0.0.2 124.50 OK
r-devel-windows-x86_64 0.0.2 6.00 87.00 93.00 OK
r-patched-linux-x86_64 0.0.2 3.13 48.84 51.97 OK
r-release-linux-x86_64 0.0.1 2.66 50.65 53.31 ERROR
r-release-macos-arm64 0.0.2 51.00 OK
r-release-macos-x86_64 0.0.2 101.00 OK
r-release-windows-x86_64 0.0.2 5.00 71.00 76.00 OK
r-oldrel-macos-arm64 0.0.2 51.00 OK
r-oldrel-macos-x86_64 0.0.2 97.00 OK
r-oldrel-windows-x86_64 0.0.2 5.00 83.00 88.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-release-linux-x86_64

Version: 0.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [16s/21s] 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-clang

Version: 0.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [19s/20s] 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-release-linux-x86_64