Last updated on 2026-10-23 22:53:23 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 2.0.1 | 9.68 | 125.29 | 134.97 | OK | |
| r-devel-linux-x86_64-debian-gcc | 2.0.1 | 7.73 | 64.84 | 72.57 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 2.0.1 | 91.28 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 2.0.1 | 94.86 | OK | |||
| r-devel-windows-x86_64 | 2.0.1 | 14.00 | 143.00 | 157.00 | OK | |
| r-patched-linux-x86_64 | 2.0.1 | 11.25 | 116.77 | 128.02 | OK | |
| r-release-linux-x86_64 | 2.0.1 | 10.79 | 116.63 | 127.42 | OK | |
| r-release-macos-arm64 | 2.0.1 | 3.00 | 35.00 | 38.00 | OK | |
| r-release-macos-x86_64 | 2.0.1 | 7.00 | 155.00 | 162.00 | OK | |
| r-release-windows-x86_64 | 2.0.1 | 13.00 | 137.00 | 150.00 | OK | |
| r-oldrel-macos-arm64 | 2.0.1 | 3.00 | 46.00 | 49.00 | OK | |
| r-oldrel-macos-x86_64 | 2.0.1 | 8.00 | 246.00 | 254.00 | OK | |
| r-oldrel-windows-x86_64 | 2.0.1 | 16.00 | 173.00 | 189.00 | OK |
Version: 2.0.1
Check: examples
Result: ERROR
Running examples in ‘graphPAF-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: impact_fraction
> ### Title: General calculations of impact fractions
> ### Aliases: impact_fraction
>
> ### ** Examples
>
> library(splines)
> library(survival)
> new_data <- stroke_reduced
> N <- nrow(new_data)
> inactive_patients <- (1:N)[stroke_reduced$exercise==1]
> N_inactive <- sum(stroke_reduced$exercise)
> newly_active_patients <- inactive_patients[sample(1:N_inactive,0.2*N_inactive)]
> new_data$exercise[newly_active_patients] <- 0
> model_exercise <- clogit(formula = case ~ age + education +exercise +
+ ns(diet, df = 3) + smoking + alcohol + stress + ns(lipids,df = 3) +
+ ns(waist_hip_ratio, df = 3) + high_blood_pressure +strata(strata),
+ data=stroke_reduced)
> impact_fraction(model=model_exercise,stroke_reduced,new_data,
+ calculation_method = "B")
Error in a$specials[[i]] : subscript out of bounds
Calls: impact_fraction ... if_bruzzi -> predict -> predict.coxph -> delete.response -> off
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc