- using R version 4.4.2 Patched (2024-11-21 r87360)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-8) 14.2.0
GNU Fortran (Debian 14.2.0-8) 14.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘drape/DESCRIPTION’ ... OK
- this is package ‘drape’ version ‘0.0.1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘drape’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [6s/9s] OK
- checking Rd files ... [0s/1s] 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.
| ^
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [5s/8s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [23s/24s] ERROR
Running ‘testthat.R’ [23s/23s]
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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [1s/1s] OK
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE