CRAN Package Check Results for Maintainer ‘Maciej Nasinski <Maciej.Nasinski at ucb.com>’

Last updated on 2025-12-28 03:52:09 CET.

Package ERROR OK
gridify 1 12

Package gridify

Current CRAN status: ERROR: 1, OK: 12

Version: 0.7.5
Check: tests
Result: ERROR Running 'spelling.R' [0s] Running 'testthat.R' [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-windows-x86_64

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 --- finished re-building 'create_custom_layout.Rmd' --- re-building 'gridify.Rmd' using rmarkdown --- finished re-building 'gridify.Rmd' --- re-building 'multi_page_examples.Rmd' using rmarkdown --- 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 --- finished re-building 'transparency.Rmd' SUMMARY: processing the following file failed: 'simple_examples.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-devel-windows-x86_64

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.