CRAN Package Check Results for Package gridify

Last updated on 2025-12-20 10:50:42 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7.5 6.43 135.59 142.02 OK
r-devel-linux-x86_64-debian-gcc 0.7.5 4.08 83.30 87.38 ERROR
r-devel-linux-x86_64-fedora-clang 0.7.5 12.00 189.20 201.20 ERROR
r-devel-linux-x86_64-fedora-gcc 0.7.5 11.00 228.35 239.35 OK
r-devel-windows-x86_64 0.7.5 7.00 142.00 149.00 OK
r-patched-linux-x86_64 0.7.5 5.48 127.39 132.87 OK
r-release-linux-x86_64 0.7.5 6.02 117.04 123.06 ERROR
r-release-macos-arm64 0.7.5 OK
r-release-macos-x86_64 0.7.5 4.00 192.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 4.00 177.00 181.00 OK
r-oldrel-windows-x86_64 0.7.5 7.00 179.00 186.00 OK

Check Details

Version: 0.7.5
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [9s/12s] 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 Loading required namespace: gridGraphics [ FAIL 1 | WARN 0 | SKIP 5 | PASS 296 ] ══ 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 <simpleError> with message: attempt access index 14/14 in VECTOR_ELT 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. └─flextable::gen_grob(object) 9. └─flextable:::get_grid_data(x, autowidths, wrapping) 10. ├─...[] 11. └─data.table:::`[.data.table`(...) [ FAIL 1 | WARN 0 | SKIP 5 | PASS 296 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.7.5
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘create_custom_layout.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘create_custom_layout.Rmd’ --- re-building ‘gridify.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘gridify.Rmd’ --- re-building ‘multi_page_examples.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘multi_page_examples.Rmd’ --- re-building ‘simple_examples.Rmd’ using rmarkdown Quitting from simple_examples.Rmd:260-274 [unnamed-chunk-14] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `h()`: ! error in evaluating the argument 'x' in selecting a method for function 'print': attempt access index 14/14 in VECTOR_ELT --- Backtrace: ▆ 1. ├─... %>% print(g) 2. ├─base::print(., g) 3. ├─gridify::set_cell(., "footer_right", "Page xx of nn") 4. ├─gridify::set_cell(., "footer_left", "Program: <PROGRAM NAME>, YYYY-MM-DD at HH:MM") 5. ├─gridify::set_cell(., "references", "<References:>") 6. ├─gridify::set_cell(., "note", "<Note or Footnotes>") 7. ├─gridify::set_cell(., "title_2", "<Title 2>") 8. ├─gridify::set_cell(., "title_1", "<Title 1>") 9. ├─gridify::set_cell(., "output_num", "<Table> xx.xx.xx") 10. ├─gridify::set_cell(., "header_right_2", "<Draft or Final>") 11. ├─gridify::set_cell(., "header_left_3", "<STUDY>") 12. ├─gridify::set_cell(., "header_left_2", "<PROJECT> / <INDICATION>") 13. ├─gridify::set_cell(., "header_left_1", "My Company") 14. ├─gridify::gridify(object = ft, layout = pharma_layout_letter()) 15. │ └─flextable::gen_grob(object) 16. │ └─flextable:::get_grid_data(x, autowidths, wrapping) 17. │ ├─...[] 18. │ └─data.table:::`[.data.table`(...) 19. └─base::.handleSimpleError(...) 20. └─base (local) h(simpleError(msg, call)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'simple_examples.Rmd' failed with diagnostics: error in evaluating the argument 'x' in selecting a method for function 'print': attempt access index 14/14 in VECTOR_ELT --- failed re-building ‘simple_examples.Rmd’ --- re-building ‘transparency.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘transparency.Rmd’ SUMMARY: processing the following file failed: ‘simple_examples.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.7.5
Check: tests
Result: ERROR Running ‘spelling.R’ Running ‘testthat.R’ [25s/60s] 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 Loading required namespace: gridGraphics [ FAIL 1 | WARN 0 | SKIP 5 | PASS 296 ] ══ 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 <simpleError> with message: attempt access index 14/14 in VECTOR_ELT 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. └─flextable::gen_grob(object) 9. └─flextable:::get_grid_data(x, autowidths, wrapping) 10. ├─...[] 11. └─data.table:::`[.data.table`(...) [ FAIL 1 | WARN 0 | SKIP 5 | PASS 296 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.7.5
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘create_custom_layout.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘create_custom_layout.Rmd’ --- re-building ‘gridify.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘gridify.Rmd’ --- re-building ‘multi_page_examples.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘multi_page_examples.Rmd’ --- re-building ‘simple_examples.Rmd’ using rmarkdown Quitting from simple_examples.Rmd:260-274 [unnamed-chunk-14] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `h()`: ! error in evaluating the argument 'x' in selecting a method for function 'print': attempt access index 14/14 in VECTOR_ELT --- Backtrace: ▆ 1. ├─... %>% print(g) 2. ├─base::print(., g) 3. ├─gridify::set_cell(., "footer_right", "Page xx of nn") 4. ├─gridify::set_cell(., "footer_left", "Program: <PROGRAM NAME>, YYYY-MM-DD at HH:MM") 5. ├─gridify::set_cell(., "references", "<References:>") 6. ├─gridify::set_cell(., "note", "<Note or Footnotes>") 7. ├─gridify::set_cell(., "title_2", "<Title 2>") 8. ├─gridify::set_cell(., "title_1", "<Title 1>") 9. ├─gridify::set_cell(., "output_num", "<Table> xx.xx.xx") 10. ├─gridify::set_cell(., "header_right_2", "<Draft or Final>") 11. ├─gridify::set_cell(., "header_left_3", "<STUDY>") 12. ├─gridify::set_cell(., "header_left_2", "<PROJECT> / <INDICATION>") 13. ├─gridify::set_cell(., "header_left_1", "My Company") 14. ├─gridify::gridify(object = ft, layout = pharma_layout_letter()) 15. │ └─flextable::gen_grob(object) 16. │ └─flextable:::get_grid_data(x, autowidths, wrapping) 17. │ ├─...[] 18. │ └─data.table:::`[.data.table`(...) 19. └─base::.handleSimpleError(...) 20. └─base (local) h(simpleError(msg, call)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'simple_examples.Rmd' failed with diagnostics: error in evaluating the argument 'x' in selecting a method for function 'print': attempt access index 14/14 in VECTOR_ELT --- failed re-building ‘simple_examples.Rmd’ --- re-building ‘transparency.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘transparency.Rmd’ SUMMARY: processing the following file failed: ‘simple_examples.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.7.5
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘create_custom_layout.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘create_custom_layout.Rmd’ --- re-building ‘gridify.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘gridify.Rmd’ --- re-building ‘multi_page_examples.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘multi_page_examples.Rmd’ --- re-building ‘simple_examples.Rmd’ using rmarkdown Quitting from simple_examples.Rmd:315-331 [unnamed-chunk-17] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `match.arg()`: ! 'arg' must be of length 1 --- Backtrace: ▆ 1. ├─... %>% rtables::build_table(iris) 2. └─rtables::build_table(., iris) 3. └─rtables::update_ref_indexing(tab) 4. ├─formatters::make_row_df(tt) 5. └─rtables::make_row_df(tt) 6. └─rtables (local) .local(...) 7. ├─formatters::make_row_df(...) 8. └─rtables::make_row_df(...) 9. └─rtables (local) .local(...) 10. ├─formatters::make_row_df(...) 11. └─rtables::make_row_df(...) 12. └─rtables (local) .local(...) 13. ├─formatters::pagdfrow(...) 14. │ └─base::data.frame(...) 15. ├─formatters::nlines(...) 16. └─rtables::nlines(...) 17. ├─base::as.vector(get_formatted_cells(x)) 18. ├─rtables::get_formatted_cells(x) 19. └─rtables::get_formatted_cells(x) 20. ├─base::matrix(...) 21. ├─base::unlist(...) 22. └─base::Map(...) 23. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 24. └─rtables (local) `<fn>`(val = dots[[1L]][[1L]], spn = dots[[2L]][[1L]], shelli = dots[[3L]][[1L]]) 25. └─rtables::format_rcell(...) 26. └─formatters::format_value(...) 27. └─base::match.arg(round_type) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'simple_examples.Rmd' failed with diagnostics: 'arg' must be of length 1 --- failed re-building ‘simple_examples.Rmd’ --- re-building ‘transparency.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘transparency.Rmd’ SUMMARY: processing the following file failed: ‘simple_examples.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-release-linux-x86_64