Last updated on 2026-10-24 01:51:42 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.1.3 | 89.57 | 77.03 | 166.60 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.1.3 | 82.18 | 60.29 | 142.47 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 0.1.3 | 57.00 | 73.13 | 130.13 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 0.1.3 | 88.00 | 51.62 | 139.62 | OK | |
| r-devel-windows-x86_64 | 0.1.3 | 92.00 | 179.00 | 271.00 | OK | |
| r-patched-linux-x86_64 | 0.1.3 | 103.30 | 77.60 | 180.90 | OK | |
| r-release-linux-x86_64 | 0.1.3 | 106.30 | 77.89 | 184.19 | OK | |
| r-release-macos-arm64 | 0.1.3 | 20.00 | 9.00 | 29.00 | OK | |
| r-release-macos-x86_64 | 0.1.3 | 63.00 | 64.00 | 127.00 | OK | |
| r-release-windows-x86_64 | 0.1.3 | 91.00 | 109.00 | 200.00 | OK | |
| r-oldrel-macos-arm64 | 0.1.3 | OK | ||||
| r-oldrel-macos-x86_64 | 0.1.3 | 58.00 | 49.00 | 107.00 | OK | |
| r-oldrel-windows-x86_64 | 0.1.3 | 116.00 | 128.00 | 244.00 | OK |
Version: 0.1.3
Check: examples
Result: ERROR
Running examples in ‘plac-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: PLAC
> ### Title: Calculate the PLAC estimator when a time-dependent indicator
> ### presents
> ### Aliases: PLAC
>
> ### ** Examples
>
> # When only time-invariant covariates are involved
> dat1 = sim.ltrc(n = 40)$dat
> PLAC(ltrc.formula = Surv(As, Ys, Ds) ~ Z1 + Z2,
+ ltrc.data = dat1, td.type = "none")
Error in a$specials[[i]] : subscript out of bounds
Calls: PLAC ... survfit.coxph -> model.matrix.coxph -> delete.response -> off
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(plac)
Loading required package: survival
>
> test_check("plac")
Saving _problems/test_PLAC-32.R
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 1 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_PLAC.R:7:3'): PLAC() calls the right function ──────────────────
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. ├─testthat::expect_output(...) at test_PLAC.R:7:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(path, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. └─plac::PLAC(...)
11. └─survival::basehaz(cox.LTRC, centered = FALSE)
12. ├─survival::survfit(fit, se.fit = FALSE)
13. └─survival:::survfit.coxph(fit, se.fit = FALSE)
14. └─survival:::model.matrix.coxph(object, data = mf)
15. └─stats::delete.response(object$terms)
16. └─stats (local) off(a$specials[[i]])
── Error ('test_PLAC.R:31:3'): calling cum.haz() to get the cumulative baseline function ──
<subscriptOutOfBoundsError/error/condition>
Error in `a$specials[[i]]`: subscript out of bounds
Backtrace:
▆
1. └─plac::PLAC(...) at test_PLAC.R:31:3
2. └─survival::basehaz(cox.LTRC, centered = FALSE)
3. ├─survival::survfit(fit, se.fit = FALSE)
4. └─survival:::survfit.coxph(fit, se.fit = FALSE)
5. └─survival:::model.matrix.coxph(object, data = mf)
6. └─stats::delete.response(object$terms)
7. └─stats (local) off(a$specials[[i]])
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 1 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc