CRAN Package Check Results for Package RItools

Last updated on 2024-05-29 08:56:31 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3-3 16.97 177.00 193.97 NOTE
r-devel-linux-x86_64-debian-gcc 0.3-3 12.48 126.71 139.19 ERROR
r-devel-linux-x86_64-fedora-clang 0.3-3 245.72 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3-3 233.29 ERROR
r-devel-windows-x86_64 0.3-3 14.00 134.00 148.00 NOTE
r-patched-linux-x86_64 0.3-3 20.78 167.67 188.45 NOTE
r-release-linux-x86_64 0.3-3 8.86 173.16 182.02 NOTE
r-release-macos-arm64 0.3-3 59.00 NOTE
r-release-windows-x86_64 0.3-3 14.00 130.00 144.00 ERROR
r-oldrel-macos-arm64 0.3-3 51.00 OK
r-oldrel-macos-x86_64 0.3-3 103.00 OK
r-oldrel-windows-x86_64 0.3-3 16.00 178.00 194.00 OK

Check Details

Version: 0.3-3
Check: Rd files
Result: NOTE checkRd: (-1) CovsAlignedToADesign-class.Rd:22: Lost braces; missing escapes or markup? 22 | specified stratum weight to the product of h_b (the harmonic mean of n_{tb} and | ^ checkRd: (-1) CovsAlignedToADesign-class.Rd:23: Lost braces; missing escapes or markup? 23 | n_{cb}, the counts of treatment and control clusters in stratum b) with bar-w_b, | ^ checkRd: (-1) DesignWeights.Rd:39: Lost braces; missing escapes or markup? 39 | mean of n_{tb} and n_{cb}, the number of treatment and control | ^ checkRd: (-1) DesignWeights.Rd:39: Lost braces; missing escapes or markup? 39 | mean of n_{tb} and n_{cb}, the number of treatment and control | ^ 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-windows-x86_64

Version: 0.3-3
Check: examples
Result: ERROR Running examples in ‘RItools-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: balanceTest > ### Title: Standardized Differences for Stratified Comparisons > ### Aliases: balanceTest > ### Keywords: design nonparametric > > ### ** Examples > > data(nuclearplants) > ## No strata > balanceTest(pr ~ date + t1 + t2 + cap + ne + ct + bw + cum.n, + data=nuclearplants) strata(): -- stat Treatment Control adj.diff std.diff z vars date 68.5 68.6 -0.118 -0.11 -0.31 t1 14.0 13.6 0.364 0.10 0.28 t2 69.1 59.3 9.78 0.99 2.47 cap 870 805 64.6 0.35 0.89 ne 0.200 0.273 -0.0727 -0.17 -0.43 ct 0.300 0.455 -0.155 -0.31 -0.81 bw 0.200 0.182 0.0182 0.04 0.12 cum.n 8.10 8.73 -0.627 -0.10 -0.26 ---Overall Test--- chisquare df p.value -- 11.5 8 0.177 --- Signif. codes: 0 ‘***’ 0.001 ‘** ’ 0.01 ‘* ’ 0.05 ‘. ’ 0.1 ‘ ’ 1 > > ## Stratified > ## Note use of the `. - cost` to use all columns except `cost` > balanceTest(pr ~ . - cost + strata(pt), + data=nuclearplants) strata(): pt -- stat Treatment Control adj.diff std.diff z Treatment Control adj.diff std.diff z vars date 68.5 68.4 0.109 0.10 0.29 68.5 68.6 -0.118 -0.11 -0.31 t1 14.0 13.2 0.800 0.21 0.79 14.0 13.6 0.364 0.10 0.28 t2 69.1 59.1 10.03 1.01 2.31 69.1 59.3 9.78 0.99 2.47 cap 870 807 62.3 0.34 0.92 870 805 64.6 0.35 0.89 ne 0.200 0.221 -0.0211 -0.05 -0.14 0.200 0.273 -0.0727 -0.17 -0.43 ct 0.300 0.432 -0.132 -0.26 -0.58 0.300 0.455 -0.155 -0.31 -0.81 bw 0.200 0.211 -0.0105 -0.03 -0.31 0.200 0.182 0.0182 0.04 0.12 cum.n 8.10 8.72 -0.616 -0.10 -0.34 8.10 8.73 -0.627 -0.10 -0.26 pt 0.300 0.300 -1.11e-16 0.00 NA 0.300 0.136 1.64e-01 0.39 1.08 ---Overall Test--- chisquare df p.value pt 10.8 8 0.215 -- 12.4 9 0.192 --- Signif. codes: 0 ‘***’ 0.001 ‘** ’ 0.01 ‘* ’ 0.05 ‘. ’ 0.1 ‘ ’ 1 > > ##Missing data handling. > testdata <- nuclearplants > testdata$date[testdata$date < 68] <- NA > balanceTest(pr ~ . - cost + strata(pt), + data = testdata) Error in .local(x, ...) : insufficient space Calls: balanceTest -> sapply -> lapply -> FUN Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3-3
Check: tests
Result: ERROR Running ‘testthat.R’ [42s/67s] Running ‘xBalanceTests2.R’ [3s/5s] Comparing ‘xBalanceTests2.Rout’ to ‘xBalanceTests2.Rout.save’ ... OK Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(RItools) Loading required package: ggplot2 > > test_check("RItools") [ FAIL 5 | WARN 0 | SKIP 0 | PASS 1406 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test.Design.R:650:5'): alignDesigns, designToDescriptives output alignment ── Error in `.local(x, ...)`: insufficient space Backtrace: ▆ 1. └─RItools:::alignDesignsByStrata("strat", simple2) at test.Design.R:650:5 2. ├─base::suppressWarnings(...) 3. │ └─base::withCallingHandlers(...) 4. └─RItools:::slm.wfit.csr(...) 5. └─RItools:::slm.fit.csr.fixed(wx, wy, ...) 6. ├─SparseM::chol(t(x) %*% x, ...) 7. └─SparseM::chol(t(x) %*% x, ...) 8. └─SparseM (local) .local(x, ...) ── Error ('test.Design.R:674:5'): alignDesigns centers covars by stratum ─────── Error in `.local(x, ...)`: insufficient space Backtrace: ▆ 1. └─RItools:::alignDesignsByStrata("strat", simple0) at test.Design.R:674:5 2. ├─base::suppressWarnings(...) 3. │ └─base::withCallingHandlers(...) 4. └─RItools:::slm.wfit.csr(...) 5. └─RItools:::slm.fit.csr.fixed(wx, wy, ...) 6. ├─SparseM::chol(t(x) %*% x, ...) 7. └─SparseM::chol(t(x) %*% x, ...) 8. └─SparseM (local) .local(x, ...) ── Error ('test.Design.R:737:5'): scale() method wrapping to alignDesignsByStrata() ── Error in `.local(x, ...)`: insufficient space Backtrace: ▆ 1. └─RItools:::alignDesignsByStrata("strat", simple2b, post.align.transform = NULL) at test.Design.R:737:5 2. ├─base::suppressWarnings(...) 3. │ └─base::withCallingHandlers(...) 4. └─RItools:::slm.wfit.csr(...) 5. └─RItools:::slm.fit.csr.fixed(wx, wy, ...) 6. ├─SparseM::chol(t(x) %*% x, ...) 7. └─SparseM::chol(t(x) %*% x, ...) 8. └─SparseM (local) .local(x, ...) ── Error ('test.balanceTest.R:219:3'): Use of subset argument ────────────────── Error in `.local(x, ...)`: insufficient space Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test.balanceTest.R:219:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─RItools::balanceTest(...) 7. └─base::sapply(...) 8. └─base::lapply(X = X, FUN = FUN, ...) 9. └─RItools (local) FUN(X[[i]], ...) 10. ├─base::suppressWarnings(...) 11. │ └─base::withCallingHandlers(...) 12. └─RItools:::slm.wfit.csr(...) 13. └─RItools:::slm.fit.csr.fixed(wx, wy, ...) 14. ├─SparseM::chol(t(x) %*% x, ...) 15. └─SparseM::chol(t(x) %*% x, ...) 16. └─SparseM (local) .local(x, ...) ── Error ('test.utils.R:48:15'): sparse design strat mean calculator returns 0 for strata w/o non-null wts ── Error in `.local(x, ...)`: insufficient space Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test.utils.R:48:15 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─RItools:::slm.wfit.csr(S_, matrix(1:4), weights = wts) 7. └─RItools:::slm.fit.csr.fixed(wx, wy, ...) 8. ├─SparseM::chol(t(x) %*% x, ...) 9. └─SparseM::chol(t(x) %*% x, ...) 10. └─SparseM (local) .local(x, ...) [ FAIL 5 | WARN 0 | SKIP 0 | PASS 1406 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3-3
Check: examples
Result: ERROR Running examples in ‘RItools-Ex.R’ failed The error most likely occurred in: > ### Name: balanceTest > ### Title: Standardized Differences for Stratified Comparisons > ### Aliases: balanceTest > ### Keywords: design nonparametric > > ### ** Examples > > data(nuclearplants) > ## No strata > balanceTest(pr ~ date + t1 + t2 + cap + ne + ct + bw + cum.n, + data=nuclearplants) strata(): -- stat Treatment Control adj.diff std.diff z vars date 68.5 68.6 -0.118 -0.11 -0.31 t1 14.0 13.6 0.364 0.10 0.28 t2 69.1 59.3 9.78 0.99 2.47 cap 870 805 64.6 0.35 0.89 ne 0.200 0.273 -0.0727 -0.17 -0.43 ct 0.300 0.455 -0.155 -0.31 -0.81 bw 0.200 0.182 0.0182 0.04 0.12 cum.n 8.10 8.73 -0.627 -0.10 -0.26 ---Overall Test--- chisquare df p.value -- 11.5 8 0.177 --- Signif. codes: 0 ‘***’ 0.001 ‘** ’ 0.01 ‘* ’ 0.05 ‘. ’ 0.1 ‘ ’ 1 > > ## Stratified > ## Note use of the `. - cost` to use all columns except `cost` > balanceTest(pr ~ . - cost + strata(pt), + data=nuclearplants) strata(): pt -- stat Treatment Control adj.diff std.diff z Treatment Control adj.diff std.diff z vars date 68.5 68.4 0.109 0.10 0.29 68.5 68.6 -0.118 -0.11 -0.31 t1 14.0 13.2 0.800 0.21 0.79 14.0 13.6 0.364 0.10 0.28 t2 69.1 59.1 10.03 1.01 2.31 69.1 59.3 9.78 0.99 2.47 cap 870 807 62.3 0.34 0.92 870 805 64.6 0.35 0.89 ne 0.200 0.221 -0.0211 -0.05 -0.14 0.200 0.273 -0.0727 -0.17 -0.43 ct 0.300 0.432 -0.132 -0.26 -0.58 0.300 0.455 -0.155 -0.31 -0.81 bw 0.200 0.211 -0.0105 -0.03 -0.31 0.200 0.182 0.0182 0.04 0.12 cum.n 8.10 8.72 -0.616 -0.10 -0.34 8.10 8.73 -0.627 -0.10 -0.26 pt 0.300 0.300 -1.11e-16 0.00 NA 0.300 0.136 1.64e-01 0.39 1.08 ---Overall Test--- chisquare df p.value pt 10.8 8 0.215 -- 12.4 9 0.192 --- Signif. codes: 0 ‘***’ 0.001 ‘** ’ 0.01 ‘* ’ 0.05 ‘. ’ 0.1 ‘ ’ 1 > > ##Missing data handling. > testdata <- nuclearplants > testdata$date[testdata$date < 68] <- NA > balanceTest(pr ~ . - cost + strata(pt), + data = testdata) Error in .local(x, ...) : insufficient space Calls: balanceTest -> sapply -> lapply -> FUN Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-release-windows-x86_64

Version: 0.3-3
Check: tests
Result: ERROR Running ‘testthat.R’ [77s/277s] Running ‘xBalanceTests2.R’ Comparing ‘xBalanceTests2.Rout’ to ‘xBalanceTests2.Rout.save’ ... OK Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(RItools) Loading required package: ggplot2 > > test_check("RItools") [ FAIL 5 | WARN 0 | SKIP 0 | PASS 1406 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test.Design.R:650:5'): alignDesigns, designToDescriptives output alignment ── Error in `.local(x, ...)`: insufficient space Backtrace: ▆ 1. └─RItools:::alignDesignsByStrata("strat", simple2) at test.Design.R:650:5 2. ├─base::suppressWarnings(...) 3. │ └─base::withCallingHandlers(...) 4. └─RItools:::slm.wfit.csr(...) 5. └─RItools:::slm.fit.csr.fixed(wx, wy, ...) 6. ├─SparseM::chol(t(x) %*% x, ...) 7. └─SparseM::chol(t(x) %*% x, ...) 8. └─SparseM (local) .local(x, ...) ── Error ('test.Design.R:674:5'): alignDesigns centers covars by stratum ─────── Error in `.local(x, ...)`: insufficient space Backtrace: ▆ 1. └─RItools:::alignDesignsByStrata("strat", simple0) at test.Design.R:674:5 2. ├─base::suppressWarnings(...) 3. │ └─base::withCallingHandlers(...) 4. └─RItools:::slm.wfit.csr(...) 5. └─RItools:::slm.fit.csr.fixed(wx, wy, ...) 6. ├─SparseM::chol(t(x) %*% x, ...) 7. └─SparseM::chol(t(x) %*% x, ...) 8. └─SparseM (local) .local(x, ...) ── Error ('test.Design.R:737:5'): scale() method wrapping to alignDesignsByStrata() ── Error in `.local(x, ...)`: insufficient space Backtrace: ▆ 1. └─RItools:::alignDesignsByStrata("strat", simple2b, post.align.transform = NULL) at test.Design.R:737:5 2. ├─base::suppressWarnings(...) 3. │ └─base::withCallingHandlers(...) 4. └─RItools:::slm.wfit.csr(...) 5. └─RItools:::slm.fit.csr.fixed(wx, wy, ...) 6. ├─SparseM::chol(t(x) %*% x, ...) 7. └─SparseM::chol(t(x) %*% x, ...) 8. └─SparseM (local) .local(x, ...) ── Error ('test.balanceTest.R:219:3'): Use of subset argument ────────────────── Error in `.local(x, ...)`: insufficient space Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test.balanceTest.R:219:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─RItools::balanceTest(...) 7. └─base::sapply(...) 8. └─base::lapply(X = X, FUN = FUN, ...) 9. └─RItools (local) FUN(X[[i]], ...) 10. ├─base::suppressWarnings(...) 11. │ └─base::withCallingHandlers(...) 12. └─RItools:::slm.wfit.csr(...) 13. └─RItools:::slm.fit.csr.fixed(wx, wy, ...) 14. ├─SparseM::chol(t(x) %*% x, ...) 15. └─SparseM::chol(t(x) %*% x, ...) 16. └─SparseM (local) .local(x, ...) ── Error ('test.utils.R:48:15'): sparse design strat mean calculator returns 0 for strata w/o non-null wts ── Error in `.local(x, ...)`: insufficient space Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test.utils.R:48:15 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─RItools:::slm.wfit.csr(S_, matrix(1:4), weights = wts) 7. └─RItools:::slm.fit.csr.fixed(wx, wy, ...) 8. ├─SparseM::chol(t(x) %*% x, ...) 9. └─SparseM::chol(t(x) %*% x, ...) 10. └─SparseM (local) .local(x, ...) [ FAIL 5 | WARN 0 | SKIP 0 | PASS 1406 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.3-3
Check: tests
Result: ERROR Running ‘testthat.R’ [74s/157s] Running ‘xBalanceTests2.R’ [5s/13s] Comparing ‘xBalanceTests2.Rout’ to ‘xBalanceTests2.Rout.save’ ... OK Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(RItools) Loading required package: ggplot2 > > test_check("RItools") [ FAIL 5 | WARN 0 | SKIP 0 | PASS 1407 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test.Design.R:650:5'): alignDesigns, designToDescriptives output alignment ── Error in `.local(x, ...)`: insufficient space Backtrace: ▆ 1. └─RItools:::alignDesignsByStrata("strat", simple2) at test.Design.R:650:5 2. ├─base::suppressWarnings(...) 3. │ └─base::withCallingHandlers(...) 4. └─RItools:::slm.wfit.csr(...) 5. └─RItools:::slm.fit.csr.fixed(wx, wy, ...) 6. ├─SparseM::chol(t(x) %*% x, ...) 7. └─SparseM::chol(t(x) %*% x, ...) 8. └─SparseM (local) .local(x, ...) ── Error ('test.Design.R:674:5'): alignDesigns centers covars by stratum ─────── Error in `.local(x, ...)`: insufficient space Backtrace: ▆ 1. └─RItools:::alignDesignsByStrata("strat", simple0) at test.Design.R:674:5 2. ├─base::suppressWarnings(...) 3. │ └─base::withCallingHandlers(...) 4. └─RItools:::slm.wfit.csr(...) 5. └─RItools:::slm.fit.csr.fixed(wx, wy, ...) 6. ├─SparseM::chol(t(x) %*% x, ...) 7. └─SparseM::chol(t(x) %*% x, ...) 8. └─SparseM (local) .local(x, ...) ── Error ('test.Design.R:737:5'): scale() method wrapping to alignDesignsByStrata() ── Error in `.local(x, ...)`: insufficient space Backtrace: ▆ 1. └─RItools:::alignDesignsByStrata("strat", simple2b, post.align.transform = NULL) at test.Design.R:737:5 2. ├─base::suppressWarnings(...) 3. │ └─base::withCallingHandlers(...) 4. └─RItools:::slm.wfit.csr(...) 5. └─RItools:::slm.fit.csr.fixed(wx, wy, ...) 6. ├─SparseM::chol(t(x) %*% x, ...) 7. └─SparseM::chol(t(x) %*% x, ...) 8. └─SparseM (local) .local(x, ...) ── Error ('test.balanceTest.R:219:3'): Use of subset argument ────────────────── Error in `.local(x, ...)`: insufficient space Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test.balanceTest.R:219:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─RItools::balanceTest(...) 7. └─base::sapply(...) 8. └─base::lapply(X = X, FUN = FUN, ...) 9. └─RItools (local) FUN(X[[i]], ...) 10. ├─base::suppressWarnings(...) 11. │ └─base::withCallingHandlers(...) 12. └─RItools:::slm.wfit.csr(...) 13. └─RItools:::slm.fit.csr.fixed(wx, wy, ...) 14. ├─SparseM::chol(t(x) %*% x, ...) 15. └─SparseM::chol(t(x) %*% x, ...) 16. └─SparseM (local) .local(x, ...) ── Error ('test.utils.R:48:15'): sparse design strat mean calculator returns 0 for strata w/o non-null wts ── Error in `.local(x, ...)`: insufficient space Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test.utils.R:48:15 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─RItools:::slm.wfit.csr(S_, matrix(1:4), weights = wts) 7. └─RItools:::slm.fit.csr.fixed(wx, wy, ...) 8. ├─SparseM::chol(t(x) %*% x, ...) 9. └─SparseM::chol(t(x) %*% x, ...) 10. └─SparseM (local) .local(x, ...) [ FAIL 5 | WARN 0 | SKIP 0 | PASS 1407 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.3-3
Check: tests
Result: ERROR Running 'testthat.R' [34s] Running 'xBalanceTests2.R' [3s] Comparing 'xBalanceTests2.Rout' to 'xBalanceTests2.Rout.save' ... OK Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(RItools) Loading required package: ggplot2 > > test_check("RItools") [ FAIL 5 | WARN 0 | SKIP 0 | PASS 1406 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test.Design.R:650:5'): alignDesigns, designToDescriptives output alignment ── Error in `.local(x, ...)`: insufficient space Backtrace: ▆ 1. └─RItools:::alignDesignsByStrata("strat", simple2) at test.Design.R:650:5 2. ├─base::suppressWarnings(...) 3. │ └─base::withCallingHandlers(...) 4. └─RItools:::slm.wfit.csr(...) 5. └─RItools:::slm.fit.csr.fixed(wx, wy, ...) 6. ├─SparseM::chol(t(x) %*% x, ...) 7. └─SparseM::chol(t(x) %*% x, ...) 8. └─SparseM (local) .local(x, ...) ── Error ('test.Design.R:674:5'): alignDesigns centers covars by stratum ─────── Error in `.local(x, ...)`: insufficient space Backtrace: ▆ 1. └─RItools:::alignDesignsByStrata("strat", simple0) at test.Design.R:674:5 2. ├─base::suppressWarnings(...) 3. │ └─base::withCallingHandlers(...) 4. └─RItools:::slm.wfit.csr(...) 5. └─RItools:::slm.fit.csr.fixed(wx, wy, ...) 6. ├─SparseM::chol(t(x) %*% x, ...) 7. └─SparseM::chol(t(x) %*% x, ...) 8. └─SparseM (local) .local(x, ...) ── Error ('test.Design.R:737:5'): scale() method wrapping to alignDesignsByStrata() ── Error in `.local(x, ...)`: insufficient space Backtrace: ▆ 1. └─RItools:::alignDesignsByStrata("strat", simple2b, post.align.transform = NULL) at test.Design.R:737:5 2. ├─base::suppressWarnings(...) 3. │ └─base::withCallingHandlers(...) 4. └─RItools:::slm.wfit.csr(...) 5. └─RItools:::slm.fit.csr.fixed(wx, wy, ...) 6. ├─SparseM::chol(t(x) %*% x, ...) 7. └─SparseM::chol(t(x) %*% x, ...) 8. └─SparseM (local) .local(x, ...) ── Error ('test.balanceTest.R:219:3'): Use of subset argument ────────────────── Error in `.local(x, ...)`: insufficient space Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test.balanceTest.R:219:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─RItools::balanceTest(...) 7. └─base::sapply(...) 8. └─base::lapply(X = X, FUN = FUN, ...) 9. └─RItools (local) FUN(X[[i]], ...) 10. ├─base::suppressWarnings(...) 11. │ └─base::withCallingHandlers(...) 12. └─RItools:::slm.wfit.csr(...) 13. └─RItools:::slm.fit.csr.fixed(wx, wy, ...) 14. ├─SparseM::chol(t(x) %*% x, ...) 15. └─SparseM::chol(t(x) %*% x, ...) 16. └─SparseM (local) .local(x, ...) ── Error ('test.utils.R:48:15'): sparse design strat mean calculator returns 0 for strata w/o non-null wts ── Error in `.local(x, ...)`: insufficient space Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test.utils.R:48:15 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─RItools:::slm.wfit.csr(S_, matrix(1:4), weights = wts) 7. └─RItools:::slm.fit.csr.fixed(wx, wy, ...) 8. ├─SparseM::chol(t(x) %*% x, ...) 9. └─SparseM::chol(t(x) %*% x, ...) 10. └─SparseM (local) .local(x, ...) [ FAIL 5 | WARN 0 | SKIP 0 | PASS 1406 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64