Last updated on 2025-12-25 19:50:14 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 3.1.7 | 5.41 | 78.45 | 83.86 | OK | |
| r-devel-linux-x86_64-debian-gcc | 3.1.7 | 4.15 | 53.78 | 57.93 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 3.1.7 | 10.00 | 126.60 | 136.60 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 3.1.7 | 10.00 | 124.89 | 134.89 | OK | |
| r-devel-windows-x86_64 | 3.1.7 | 7.00 | 98.00 | 105.00 | OK | |
| r-patched-linux-x86_64 | 3.1.7 | 7.32 | 72.44 | 79.76 | OK | |
| r-release-linux-x86_64 | 3.1.7 | 6.00 | 77.45 | 83.45 | OK | |
| r-release-macos-arm64 | 3.1.7 | OK | ||||
| r-release-macos-x86_64 | 3.1.7 | 4.00 | 106.00 | 110.00 | OK | |
| r-release-windows-x86_64 | 3.1.7 | 7.00 | 93.00 | 100.00 | OK | |
| r-oldrel-macos-arm64 | 3.1.7 | OK | ||||
| r-oldrel-macos-x86_64 | 3.1.7 | 4.00 | 104.00 | 108.00 | OK | |
| r-oldrel-windows-x86_64 | 3.1.7 | 11.00 | 116.00 | 127.00 | OK |
Version: 3.1.7
Check: examples
Result: ERROR
Running examples in ‘forestplot-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: fpColors
> ### Title: A function for the color elements used in forestplot()
> ### Aliases: fpColors
>
> ### ** Examples
>
> ask <- par(ask = TRUE)
>
> # An example of how the exponential works
> test_data <- data.frame(
+ coef = c(2.45, 0.43),
+ low = c(1.5, 0.25),
+ high = c(4, 0.75),
+ boxsize = c(0.5, 0.5)
+ )
> row_names <- cbind(
+ c("Name", "Variable A", "Variable B"),
+ c("HR", test_data$coef)
+ )
> test_data <- rbind(rep(NA, 3), test_data)
Warning in rbind(deparse.level, ...) :
number of columns of result, 4, is not a multiple of vector length 3 of arg 1
>
> forestplot(
+ labeltext = row_names,
+ test_data[, c("coef", "low", "high")],
+ is.summary = c(TRUE, FALSE, FALSE),
+ boxsize = test_data$boxsize,
+ zero = 1,
+ xlog = TRUE,
+ col = fpColors(lines = "#990000", box = "#660000", zero = "darkblue"),
+ new_page = TRUE
+ )
Error in xtfrm.data.frame(list(coef = 0.43, low = 0.25, high = 0.75)) :
cannot xtfrm data frames
Calls: forestplot ... prFpConvertMultidimArray -> xtfrm -> xtfrm.data.frame
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 3.1.7
Check: tests
Result: ERROR
Running ‘forestplot2_vtests.R’ [2s/3s]
Running ‘test_visual_w_cochrane_mdata.R’ [1s/1s]
Running ‘test_visual_with_Greg.R’ [5s/6s]
Running ‘testthat.R’ [3s/3s]
Running ‘vtest_from_vignette.R’ [0s/0s]
Running the tests in ‘tests/vtest_from_vignette.R’ failed.
Complete output:
> library(forestplot)
Loading required package: grid
Loading required package: checkmate
Loading required package: abind
> options(forestplot_new_page = TRUE)
> # Cochrane data from the 'rmeta'-package
> cochrane_from_rmeta <-
+ structure(list(
+ mean = c(NA, NA, 0.578, 0.165, 0.246, 0.700, 0.348, 0.139, 1.017, NA, 0.531),
+ lower = c(NA, NA, 0.372, 0.018, 0.072, 0.333, 0.083, 0.016, 0.365, NA, 0.386),
+ upper = c(NA, NA, 0.898, 1.517, 0.833, 1.474, 1.455, 1.209, 2.831, NA, 0.731)
+ ),
+ .Names = c("mean", "lower", "upper"),
+ row.names = c(NA, -11L),
+ class = "data.frame"
+ )
>
> tabletext <- cbind(
+ c(
+ "", "Study", "Auckland", "Block",
+ "Doran", "Gamsu", "Morrison", "Papageorgiou",
+ "Tauesch", NA, "Summary"
+ ),
+ c(
+ "Deaths", "(steroid)", "36", "1",
+ "4", "14", "3", "1",
+ "8", NA, NA
+ ),
+ c(
+ "Deaths", "(placebo)", "60", "5",
+ "11", "20", "7", "7",
+ "10", NA, NA
+ ),
+ c(
+ "", "OR", "0.58", "0.16",
+ "0.25", "0.70", "0.35", "0.14",
+ "1.02", NA, "0.53"
+ )
+ )
>
> # Test summary
> forestplot(tabletext,
+ cochrane_from_rmeta,
+ new_page = TRUE,
+ is.summary = c(TRUE, TRUE, rep(FALSE, 8), TRUE),
+ clip = c(0.1, 2.5),
+ xlog = TRUE,
+ col = fpColors(box = "royalblue", line = "darkblue", summary = "royalblue"))
Error in xtfrm.data.frame(list(mean = 0.531, lower = 0.386, upper = 0.731)) :
cannot xtfrm data frames
Calls: forestplot ... prFpConvertMultidimArray -> xtfrm -> xtfrm.data.frame
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc