Last updated on 2025-12-28 01:49:15 CET.
| Package | ERROR | OK |
|---|---|---|
| forestplot | 2 | 11 |
| Gmisc | 13 | |
| Greg | 13 | |
| htmlTable | 13 |
Current CRAN status: ERROR: 2, OK: 11
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
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 3.1.7
Check: tests
Result: ERROR
Running ‘forestplot2_vtests.R’ [3s/4s]
Running ‘test_visual_w_cochrane_mdata.R’ [1s/1s]
Running ‘test_visual_with_Greg.R’ [7s/9s]
Running ‘testthat.R’ [4s/5s]
Running ‘vtest_from_vignette.R’ [0s/1s]
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-clang
Version: 3.1.7
Check: tests
Result: ERROR
Running ‘forestplot2_vtests.R’ [2s/2s]
Running ‘test_visual_w_cochrane_mdata.R’ [1s/1s]
Running ‘test_visual_with_Greg.R’ [5s/6s]
Running ‘testthat.R’ [2s/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
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: OK: 13
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.