CRAN Package Check Results for Maintainer ‘Max Gordon <max at gforge.se>’

Last updated on 2025-12-25 19:50:54 CET.

Package ERROR OK
forestplot 1 12
Gmisc 13
Greg 13
htmlTable 13

Package forestplot

Current CRAN status: ERROR: 1, OK: 12

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

Package Gmisc

Current CRAN status: OK: 13

Package Greg

Current CRAN status: OK: 13

Package htmlTable

Current CRAN status: OK: 13