Last updated on 2025-12-06 00:48:49 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.9-8 | 9.66 | 193.86 | 203.52 | NOTE | |
| r-devel-linux-x86_64-debian-gcc | 0.9-8 | 7.92 | 113.38 | 121.30 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 0.9-8 | 23.00 | 297.91 | 320.91 | NOTE | |
| r-devel-linux-x86_64-fedora-gcc | 0.9-8 | 22.00 | 290.08 | 312.08 | NOTE | |
| r-devel-windows-x86_64 | 0.9-8 | 12.00 | 169.00 | 181.00 | NOTE | |
| r-patched-linux-x86_64 | 0.9-8 | 10.70 | 185.23 | 195.93 | NOTE | |
| r-release-linux-x86_64 | 0.9-8 | 10.01 | 181.54 | 191.55 | NOTE | |
| r-release-macos-arm64 | 0.9-8 | OK | ||||
| r-release-macos-x86_64 | 0.9-8 | 9.00 | 138.00 | 147.00 | OK | |
| r-release-windows-x86_64 | 0.9-8 | 13.00 | 171.00 | 184.00 | NOTE | |
| r-oldrel-macos-arm64 | 0.9-8 | OK | ||||
| r-oldrel-macos-x86_64 | 0.9-8 | 9.00 | 133.00 | 142.00 | OK | |
| r-oldrel-windows-x86_64 | 0.9-8 | 16.00 | 246.00 | 262.00 | OK |
Version: 0.9-8
Check: tests
Result: NOTE
Running ‘test-pmodel-test.R’ [21s/26s]
Running ‘test-pmodel.R’ [33s/40s]
Comparing ‘test-pmodel.Rout’ to ‘test-pmodel.Rout.save’ ... OK
Running ‘test-pmtree.R’ [19s/22s]
Comparing ‘test-pmtree.Rout’ to ‘test-pmtree.Rout.save’ ...13,18d12
< Warning message:
< `aes_string()` was deprecated in ggplot2 3.0.0.
< ℹ Please use tidy evaluation idioms with `aes()`.
< ℹ See also `vignette("ggplot2-in-packages")` for more information.
< ℹ The deprecated feature was likely used in the model4you package.
< Please report the issue to the authors.
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.9-8
Check: tests
Result: ERROR
Running ‘test-pmodel-test.R’ [11s/11s]
Running ‘test-pmodel.R’ [19s/19s]
Comparing ‘test-pmodel.Rout’ to ‘test-pmodel.Rout.save’ ... OK
Running ‘test-pmtree.R’ [5s/5s]
Running the tests in ‘tests/test-pmtree.R’ failed.
Complete output:
> library("model4you")
Loading required package: partykit
Loading required package: grid
Loading required package: libcoin
Loading required package: mvtnorm
> library("survival")
>
> ### survreg
> set.seed(1)
> data(GBSG2, package = "TH.data")
>
> ## base model
> bmod <- survreg(Surv(time, cens) ~ horTh, data = GBSG2, model = TRUE)
> survreg_plot(bmod)
Warning message:
`aes_string()` was deprecated in ggplot2 3.0.0.
ℹ Please use tidy evaluation idioms with `aes()`.
ℹ See also `vignette("ggplot2-in-packages")` for more information.
ℹ The deprecated feature was likely used in the model4you package.
Please report the issue to the authors.
> grid.newpage()
> coeftable.survreg(bmod)
>
>
> ## partitioned model
> tr <- pmtree(bmod)
No data given. I'm using data set GBSG2 from the current environment parent.frame(). Please check if that is what you want.
> plot(tr, terminal_panel = node_pmterminal(tr, plotfun = survreg_plot,
+ confint = TRUE))
> summary(tr)
Stratified model for node(s) 2, 4, 5
Model call:
survreg(formula = Surv(time, cens) ~ horTh, data = GBSG2, model = TRUE)
Coefficients:
node 2 node 4 node 5
(Intercept) 7.8590 7.2936 6.981
horThyes 0.4001 0.3039 0.163
Number of obervations:
node 2 node 4 node 5
376 223 87
Objective function:
(1093.18) + (1037.81) + (457.96) = 2588.95> summary(tr, node = 1:2)
Stratified model for node(s) 1, 2
Model call:
survreg(formula = Surv(time, cens) ~ horTh, data = GBSG2, model = TRUE)
Coefficients:
node 1 node 2
(Intercept) 7.608 7.8590
horThyes 0.306 0.4001
Number of obervations:
node 1 node 2
686 376
Objective function:
node 1 node 2
2632.096 1093.182
>
> coef(tr)
(Intercept) horThyes
2 7.859026 0.4001011
4 7.293645 0.3038557
5 6.980875 0.1630104
> coef(tr, node = 1)
(Intercept) horThyes
1 7.608449 0.3059506
> coef(bmod)
(Intercept) horThyes
7.6084486 0.3059506
>
> logLik(bmod)
'log Lik.' -2632.096 (df=3)
> logLik(tr)
'log Lik.' -2588.953 (df=9)
>
> ## alternative table in plot
> plot(tr, terminal_panel = node_pmterminal(tr, plotfun = survreg_plot,
+ confint = TRUE, coeftable = coeftable.survreg))
>
>
> ### glm binomial
> set.seed(2)
> n <- 1000
> trt <- factor(rep(1:2, each = n/2))
> age <- sample(40:60, size = n, replace = TRUE)
> eff <- -1 + I(trt == 2) + 1 * I(trt == 2) * I(age > 50)
> expit <- function(x) 1/(1 + exp(-x))
>
> success <- rbinom(n = n, size = 1, prob = expit(eff))
>
> dat <- data.frame(success, trt, age)
> library("plyr")
Error in library("plyr") : there is no package called 'plyr'
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.9-8
Check: tests
Result: NOTE
Running ‘test-pmodel-test.R’ [32s/38s]
Running ‘test-pmodel.R’ [54s/63s]
Comparing ‘test-pmodel.Rout’ to ‘test-pmodel.Rout.save’ ... OK
Running ‘test-pmtree.R’ [30s/38s]
Comparing ‘test-pmtree.Rout’ to ‘test-pmtree.Rout.save’ ...13,18d12
< Warning message:
< `aes_string()` was deprecated in ggplot2 3.0.0.
< ℹ Please use tidy evaluation idioms with `aes()`.
< ℹ See also `vignette("ggplot2-in-packages")` for more information.
< ℹ The deprecated feature was likely used in the model4you package.
< Please report the issue to the authors.
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.9-8
Check: tests
Result: NOTE
Running ‘test-pmodel-test.R’ [33s/39s]
Running ‘test-pmodel.R’ [51s/67s]
Comparing ‘test-pmodel.Rout’ to ‘test-pmodel.Rout.save’ ... OK
Running ‘test-pmtree.R’ [31s/38s]
Comparing ‘test-pmtree.Rout’ to ‘test-pmtree.Rout.save’ ...13,18d12
< Warning message:
< `aes_string()` was deprecated in ggplot2 3.0.0.
< ℹ Please use tidy evaluation idioms with `aes()`.
< ℹ See also `vignette("ggplot2-in-packages")` for more information.
< ℹ The deprecated feature was likely used in the model4you package.
< Please report the issue to the authors.
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.9-8
Check: tests
Result: NOTE
Running 'test-pmodel-test.R' [15s]
Running 'test-pmodel.R' [24s]
Comparing 'test-pmodel.Rout' to 'test-pmodel.Rout.save' ... OK
Running 'test-pmtree.R' [14s]
Comparing 'test-pmtree.Rout' to 'test-pmtree.Rout.save' ...13,18d12
< Warning message:
< `aes_string()` was deprecated in ggplot2 3.0.0.
< ℹ Please use tidy evaluation idioms with `aes()`.
< ℹ See also `vignette("ggplot2-in-packages")` for more information.
< ℹ The deprecated feature was likely used in the model4you package.
< Please report the issue to the authors.
Flavor: r-devel-windows-x86_64
Version: 0.9-8
Check: tests
Result: NOTE
Running ‘test-pmodel-test.R’ [20s/27s]
Running ‘test-pmodel.R’ [32s/41s]
Comparing ‘test-pmodel.Rout’ to ‘test-pmodel.Rout.save’ ... OK
Running ‘test-pmtree.R’ [19s/24s]
Comparing ‘test-pmtree.Rout’ to ‘test-pmtree.Rout.save’ ...13,18d12
< Warning message:
< `aes_string()` was deprecated in ggplot2 3.0.0.
< ℹ Please use tidy evaluation idioms with `aes()`.
< ℹ See also `vignette("ggplot2-in-packages")` for more information.
< ℹ The deprecated feature was likely used in the model4you package.
< Please report the issue to the authors.
Flavor: r-patched-linux-x86_64
Version: 0.9-8
Check: tests
Result: NOTE
Running ‘test-pmodel-test.R’ [19s/22s]
Running ‘test-pmodel.R’ [31s/39s]
Comparing ‘test-pmodel.Rout’ to ‘test-pmodel.Rout.save’ ... OK
Running ‘test-pmtree.R’ [18s/21s]
Comparing ‘test-pmtree.Rout’ to ‘test-pmtree.Rout.save’ ...13,18d12
< Warning message:
< `aes_string()` was deprecated in ggplot2 3.0.0.
< ℹ Please use tidy evaluation idioms with `aes()`.
< ℹ See also `vignette("ggplot2-in-packages")` for more information.
< ℹ The deprecated feature was likely used in the model4you package.
< Please report the issue to the authors.
Flavor: r-release-linux-x86_64
Version: 0.9-8
Check: tests
Result: NOTE
Running 'test-pmodel-test.R' [15s]
Running 'test-pmodel.R' [25s]
Comparing 'test-pmodel.Rout' to 'test-pmodel.Rout.save' ... OK
Running 'test-pmtree.R' [14s]
Comparing 'test-pmtree.Rout' to 'test-pmtree.Rout.save' ...13,18d12
< Warning message:
< `aes_string()` was deprecated in ggplot2 3.0.0.
< ℹ Please use tidy evaluation idioms with `aes()`.
< ℹ See also `vignette("ggplot2-in-packages")` for more information.
< ℹ The deprecated feature was likely used in the model4you package.
< Please report the issue to the authors.
Flavor: r-release-windows-x86_64