CRAN Package Check Results for Package gridify

Last updated on 2025-12-06 00:48:44 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7.5 5.85 138.40 144.25 OK
r-devel-linux-x86_64-debian-gcc 0.7.5 4.53 29.90 34.43 ERROR
r-devel-linux-x86_64-fedora-clang 0.7.5 40.00 189.58 229.58 OK
r-devel-linux-x86_64-fedora-gcc 0.7.5 27.00 210.20 237.20 OK
r-devel-windows-x86_64 0.7.5 7.00 155.00 162.00 OK
r-patched-linux-x86_64 0.7.5 6.35 128.20 134.55 OK
r-release-linux-x86_64 0.7.5 5.89 129.43 135.32 OK
r-release-macos-arm64 0.7.5 OK
r-release-macos-x86_64 0.7.5 6.00 190.00 196.00 OK
r-release-windows-x86_64 0.7.5 8.00 143.00 151.00 OK
r-oldrel-macos-arm64 0.7.5 OK
r-oldrel-macos-x86_64 0.7.5 8.00 173.00 181.00 OK
r-oldrel-windows-x86_64 0.7.5 10.00 178.00 188.00 OK

Check Details

Version: 0.7.5
Check: package dependencies
Result: WARN Cannot process vignettes Packages suggested but not available for checking: 'flextable', 'gt', 'knitr', 'rmarkdown', 'rtables.officer', 'spelling' VignetteBuilder package required for checking but not installed: ‘knitr’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.7.5
Check: examples
Result: ERROR Running examples in ‘gridify-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: complex_layout > ### Title: Complex Layout for a gridify object > ### Aliases: complex_layout > > ### ** Examples > > complex_layout() gridifyLayout object --------------------- Layout dimensions: Number of rows: 6 Number of columns: 3 Heights of rows: Row 1: 0 lines Row 2: 0 lines Row 3: 0 lines Row 4: 1 null Row 5: 0 lines Row 6: 0 lines Widths of columns: Column 1: 0.333333333333333 npc Column 2: 0.333333333333333 npc Column 3: 0.333333333333333 npc Object Position: Row: 4 Col: 1-3 Width: 1 Height: 1 Object Row Heights: Row 4: 1 null Margin: Top: 0.1 npc Right: 0.1 npc Bottom: 0.1 npc Left: 0.1 npc Global graphical parameters: Are not set Background colour: transparent Default Cell Info: header_left: row:1, col:1, text:NULL, mch:Inf, x:0.5, y:0.5, hjust:0.5, vjust:0.5, rot:0, header_middle: row:1, col:2, text:NULL, mch:Inf, x:0.5, y:0.5, hjust:0.5, vjust:0.5, rot:0, header_right: row:1, col:3, text:NULL, mch:Inf, x:0.5, y:0.5, hjust:0.5, vjust:0.5, rot:0, title: row:2, col:1-3, text:NULL, mch:Inf, x:0.5, y:0.5, hjust:0.5, vjust:0.5, rot:0, subtitle: row:3, col:1-3, text:NULL, mch:Inf, x:0.5, y:0.5, hjust:0.5, vjust:0.5, rot:0, note: row:5, col:1-3, text:NULL, mch:Inf, x:0.5, y:0.5, hjust:0.5, vjust:0.5, rot:0, footer_left: row:6, col:1, text:NULL, mch:Inf, x:0.5, y:0.5, hjust:0.5, vjust:0.5, rot:0, footer_middle: row:6, col:2, text:NULL, mch:Inf, x:0.5, y:0.5, hjust:0.5, vjust:0.5, rot:0, footer_right: row:6, col:3, text:NULL, mch:Inf, x:0.5, y:0.5, hjust:0.5, vjust:0.5, rot:0, > > # (to use |> version 4.1.0 of R is required, for lower versions we recommend %>% from magrittr) > library(magrittr) > > gridify( + object = ggplot2::ggplot(data = mtcars, ggplot2::aes(x = mpg, y = wt)) + + ggplot2::geom_line(), + layout = complex_layout() + ) %>% + set_cell("header_left", "Left Header") %>% + set_cell("header_middle", "Middle Header") %>% + set_cell("header_right", "Right Header") %>% + set_cell("title", "Title") %>% + set_cell("subtitle", "Subtitle") %>% + set_cell("note", "Note") %>% + set_cell("footer_left", "Left Footer") %>% + set_cell("footer_middle", "Middle Footer") %>% + set_cell("footer_right", "Right Footer") gridifyClass object --------------------- Please run `show_spec(object)` or print the layout to get more specs. Cells: header_left: filled header_middle: filled header_right: filled title: filled subtitle: filled note: filled footer_left: filled footer_middle: filled footer_right: filled > > gridify( + object = ggplot2::ggplot(data = mtcars, ggplot2::aes(x = mpg, y = wt)) + + ggplot2::geom_line(), + layout = complex_layout(margin = grid::unit(c(t = 0.2, r = 0.2, b = 0.2, l = 0.2), units = "npc")) + ) %>% + set_cell("header_left", "Left Header") %>% + set_cell("header_right", "Right Header") %>% + set_cell("title", "Title") %>% + set_cell("note", "Note") %>% + set_cell("footer_left", "Left Footer") gridifyClass object --------------------- Please run `show_spec(object)` or print the layout to get more specs. Cells: header_left: filled header_middle: empty header_right: filled title: filled subtitle: empty note: filled footer_left: filled footer_middle: empty footer_right: empty > > gridify( + object = gt::gt(head(mtcars)), + layout = complex_layout( + margin = grid::unit(c(t = 0.2, r = 0.2, b = 0.2, l = 0.2), units = "npc"), + global_gpar = grid::gpar(col = "blue", fontsize = 18) + ) + ) %>% + set_cell("header_left", "Left Header") %>% + set_cell("header_right", "Right Header") %>% + set_cell("title", "Title") %>% + set_cell("note", "Note") %>% + set_cell("footer_left", "Left Footer") Error in loadNamespace(x) : there is no package called ‘gt’ Calls: %>% ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.7.5
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [5s/5s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(gridify) > > test_check("gridify") Saving _problems/test_gridifyfunc-21.R Saving _problems/test_gridifyfunc-22.R Saving _problems/test_gridifyfunc-23.R Loading required namespace: gridGraphics [ FAIL 3 | WARN 0 | SKIP 5 | PASS 294 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • !getOption("RUNSNAPSHOTTESTS", FALSE) is TRUE (5): 'test_print.R:47:3', 'test_print.R:72:3', 'test_print.R:123:3', 'test_set_cell.R:188:3', 'test_show.R:186:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_gridifyfunc.R:21:3'): gridify accepts ggplot2 or grob for the object argument ── Expected `result <- gridify(object = flextable::flextable(mtcars), layout = simple_layout())` not to throw any errors. Actually got a <packageNotFoundError> with message: there is no package called 'flextable' Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_gridifyfunc.R:21:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─gridify::gridify(object = flextable::flextable(mtcars), layout = simple_layout()) 8. └─base::loadNamespace(x) 9. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 10. └─base (local) withOneRestart(expr, restarts[[1L]]) 11. └─base (local) doWithOneRestart(return(expr), restart) ── Failure ('test_gridifyfunc.R:22:3'): gridify accepts ggplot2 or grob for the object argument ── Expected `result <- gridify(object = gt::gt(mtcars), layout = simple_layout())` not to throw any errors. Actually got a <packageNotFoundError> with message: there is no package called 'gt' Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_gridifyfunc.R:22:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─gridify::gridify(object = gt::gt(mtcars), layout = simple_layout()) 8. └─base::loadNamespace(x) 9. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 10. └─base (local) withOneRestart(expr, restarts[[1L]]) 11. └─base (local) doWithOneRestart(return(expr), restart) ── Failure ('test_gridifyfunc.R:23:3'): gridify accepts ggplot2 or grob for the object argument ── Expected `result <- gridify(object = gt::as_gtable(gt::gt(mtcars)), layout = simple_layout())` not to throw any errors. Actually got a <packageNotFoundError> with message: there is no package called 'gt' Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_gridifyfunc.R:23:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─gridify::gridify(object = gt::as_gtable(gt::gt(mtcars)), layout = simple_layout()) 8. └─base::loadNamespace(x) 9. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 10. └─base (local) withOneRestart(expr, restarts[[1L]]) 11. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 3 | WARN 0 | SKIP 5 | PASS 294 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.7.5
Check: package vignettes
Result: NOTE Package has ‘vignettes’ subdirectory but apparently no vignettes. Perhaps the ‘VignetteBuilder’ information is missing from the DESCRIPTION file? Flavor: r-devel-linux-x86_64-debian-gcc