Last updated on 2026-05-15 13:55:23 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.0.7 | 9.87 | 116.96 | 126.83 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.0.7 | 6.71 | 83.67 | 90.38 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.0.7 | 17.00 | 168.89 | 185.89 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 1.0.7 | 18.00 | 191.48 | 209.48 | OK | |
| r-devel-windows-x86_64 | 1.0.3 | 11.00 | 117.00 | 128.00 | OK | |
| r-patched-linux-x86_64 | 1.0.3 | 8.91 | 100.86 | 109.77 | ERROR | |
| r-release-linux-x86_64 | 1.0.3 | 9.80 | 101.29 | 111.09 | ERROR | |
| r-release-macos-arm64 | 1.0.7 | 3.00 | 32.00 | 35.00 | OK | |
| r-release-macos-x86_64 | 1.0.7 | 7.00 | 138.00 | 145.00 | OK | |
| r-release-windows-x86_64 | 1.0.7 | 11.00 | 115.00 | 126.00 | OK | |
| r-oldrel-macos-arm64 | 1.0.7 | 2.00 | 37.00 | 39.00 | OK | |
| r-oldrel-macos-x86_64 | 1.0.7 | 7.00 | 110.00 | 117.00 | OK | |
| r-oldrel-windows-x86_64 | 1.0.7 | 16.00 | 132.00 | 148.00 | OK |
Version: 1.0.3
Check: examples
Result: ERROR
Running examples in ‘stdReg2-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: standardize_glm
> ### Title: Get regression standardized estimates from a glm
> ### Aliases: standardize_glm
>
> ### ** Examples
>
>
> # basic example
> # needs to correctly specify the outcome model and no unmeasered confounders
> # (+ standard causal assunmptions)
> set.seed(6)
> n <- 100
> Z <- rnorm(n)
> X <- cut(rnorm(n, mean = Z), breaks = c(-Inf, 0, Inf), labels = c("low", "high"))
> Y <- rbinom(n, 1, prob = (1 + exp(as.numeric(X) + Z))^(-1))
> dd <- data.frame(Z, X, Y)
> x <- standardize_glm(
+ formula = Y ~ X * Z,
+ family = "binomial",
+ data = dd,
+ values = list(X = c("low", "high")),
+ contrasts = c("difference", "ratio"),
+ reference = "low"
+ )
> x
Outcome formula: Y ~ X * Z
Outcome family: quasibinomial
Outcome link function: logit
Exposure: X
Tables:
X Estimate Std.Error lower.0.95 upper.0.95
1 low 0.286 0.0556 0.17676 0.395
2 high 0.198 0.1007 0.00035 0.395
Reference level: X = low
Contrast: difference
X Estimate Std.Error lower.0.95 upper.0.95
1 low 0.000 0.000 0.000 0.000
2 high -0.088 0.113 -0.309 0.133
Reference level: X = low
Contrast: ratio
X Estimate Std.Error lower.0.95 upper.0.95
1 low 1.000 0.000 1.000 1.00
2 high 0.692 0.372 -0.037 1.42
> # different transformations of causal effects
>
> # example from Sjölander (2016) with case-control data
> # here the matching variable needs to be passed as an argument
> singapore <- AF::singapore
Error in loadNamespace(x) : there is no package called ‘AF’
Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
standardize 5.749 0.000 8.517
parfrailty 4.585 0.197 5.539
Flavor: r-patched-linux-x86_64
Version: 1.0.3
Check: examples
Result: ERROR
Running examples in ‘stdReg2-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: standardize_glm
> ### Title: Get regression standardized estimates from a glm
> ### Aliases: standardize_glm
>
> ### ** Examples
>
>
> # basic example
> # needs to correctly specify the outcome model and no unmeasered confounders
> # (+ standard causal assunmptions)
> set.seed(6)
> n <- 100
> Z <- rnorm(n)
> X <- cut(rnorm(n, mean = Z), breaks = c(-Inf, 0, Inf), labels = c("low", "high"))
> Y <- rbinom(n, 1, prob = (1 + exp(as.numeric(X) + Z))^(-1))
> dd <- data.frame(Z, X, Y)
> x <- standardize_glm(
+ formula = Y ~ X * Z,
+ family = "binomial",
+ data = dd,
+ values = list(X = c("low", "high")),
+ contrasts = c("difference", "ratio"),
+ reference = "low"
+ )
> x
Outcome formula: Y ~ X * Z
Outcome family: quasibinomial
Outcome link function: logit
Exposure: X
Tables:
X Estimate Std.Error lower.0.95 upper.0.95
1 low 0.286 0.0556 0.17676 0.395
2 high 0.198 0.1007 0.00035 0.395
Reference level: X = low
Contrast: difference
X Estimate Std.Error lower.0.95 upper.0.95
1 low 0.000 0.000 0.000 0.000
2 high -0.088 0.113 -0.309 0.133
Reference level: X = low
Contrast: ratio
X Estimate Std.Error lower.0.95 upper.0.95
1 low 1.000 0.000 1.000 1.00
2 high 0.692 0.372 -0.037 1.42
> # different transformations of causal effects
>
> # example from Sjölander (2016) with case-control data
> # here the matching variable needs to be passed as an argument
> singapore <- AF::singapore
Error in loadNamespace(x) : there is no package called ‘AF’
Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
standardize 5.829 0.074 8.442
parfrailty 4.679 0.158 5.085
Flavor: r-release-linux-x86_64