Last updated on 2026-05-09 04:50:41 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.0.3 | 10.91 | 119.40 | 130.31 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.0.3 | 7.44 | 85.35 | 92.79 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 1.0.3 | 18.00 | 164.03 | 182.03 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 1.0.3 | 16.00 | 170.42 | 186.42 | ERROR | |
| r-devel-windows-x86_64 | 1.0.3 | 11.00 | 112.00 | 123.00 | OK | |
| r-patched-linux-x86_64 | 1.0.3 | 8.69 | 110.37 | 119.06 | OK | |
| r-release-linux-x86_64 | 1.0.3 | 8.31 | 111.65 | 119.96 | OK | |
| r-release-macos-arm64 | 1.0.3 | 2.00 | 31.00 | 33.00 | OK | |
| r-release-macos-x86_64 | 1.0.3 | 7.00 | 146.00 | 153.00 | OK | |
| r-release-windows-x86_64 | 1.0.3 | 12.00 | 115.00 | 127.00 | OK | |
| r-oldrel-macos-arm64 | 1.0.3 | OK | ||||
| r-oldrel-macos-x86_64 | 1.0.3 | 6.00 | 99.00 | 105.00 | OK | |
| r-oldrel-windows-x86_64 | 1.0.3 | 15.00 | 146.00 | 161.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
parfrailty 6.683 0.182 3.823
standardize 3.971 0.182 5.479
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.3
Check: examples
Result: ERROR
Running examples in ‘stdReg2-Ex.R’ failed
The error most likely occurred in:
> ### 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
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc