Running ‘testthat.R’ [18s/21s]
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(glioblastomaEHRsData)
  > 
  > test_check("glioblastomaEHRsData")
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Error : Can't find test_paths
  Saving _problems/test-descriptiveTableMunich2019dataset-12.R
  
  
  processing file: file3636b3320268d7.Rmd
  output file: file3636b3320268d7.knit.md
  
  /usr/bin/pandoc +RTS -K512m -RTS file3636b3320268d7.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output /tmp/RtmpdIcdMv/tables/munich_test_table.html --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/table-classes.lua --embed-resources --standalone --variable bs3=TRUE --section-divs --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmd/h/default.html --syntax-highlighting=none --variable highlightjs=1 --variable theme=bootstrap --mathjax --variable 'mathjax-url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --include-in-header /tmp/RtmpdIcdMv/rmarkdown-str3636b346c731a8.html 
  
  Output created: /tmp/RtmpdIcdMv/tables/munich_test_table.html
  Saving _problems/test-descriptiveTableTainan2020dataset-12.R
  
  
  processing file: file3636b36ed3346c.Rmd
  output file: file3636b36ed3346c.knit.md
  
  /usr/bin/pandoc +RTS -K512m -RTS file3636b36ed3346c.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output /tmp/RtmpdIcdMv/tables/tainan_test_table.html --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/table-classes.lua --embed-resources --standalone --variable bs3=TRUE --section-divs --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmd/h/default.html --syntax-highlighting=none --variable highlightjs=1 --variable theme=bootstrap --mathjax --variable 'mathjax-url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --include-in-header /tmp/RtmpdIcdMv/rmarkdown-str3636b3226255d0.html 
  
  Output created: /tmp/RtmpdIcdMv/tables/tainan_test_table.html
  Saving _problems/test-descriptiveTableUtrecht2019dataset-12.R
  
  
  processing file: file3636b3293ac138.Rmd
  output file: file3636b3293ac138.knit.md
  
  /usr/bin/pandoc +RTS -K512m -RTS file3636b3293ac138.knit.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output /tmp/RtmpdIcdMv/tables/utrecht_test_table.html --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/latex-div.lua --lua-filter /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmarkdown/lua/table-classes.lua --embed-resources --standalone --variable bs3=TRUE --section-divs --template /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/rmarkdown/rmd/h/default.html --syntax-highlighting=none --variable highlightjs=1 --variable theme=bootstrap --mathjax --variable 'mathjax-url=https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --include-in-header /tmp/RtmpdIcdMv/rmarkdown-str3636b366cabc17.html 
  
  Output created: /tmp/RtmpdIcdMv/tables/utrecht_test_table.html
  Saving 7 x 7 in image
  Saving 7 x 7 in image
  Saving 7 x 7 in image
  Saving 7 x 7 in image
  Saving 7 x 7 in image
  Saving 7 x 7 in image
  [ FAIL 3 | WARN 1 | SKIP 3 | PASS 102 ]
  
  ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
  • pandoc not available (3): 'test-descriptiveTableMunich2019dataset.R:27:3',
    'test-descriptiveTableTainan2020dataset.R:27:3',
    'test-descriptiveTableUtrecht2019dataset.R:27:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-descriptiveTableMunich2019dataset.R:12:3'): descriptiveTableMunich2019dataset(savePath = 'tables/') return a table1 object and save a png file ──
  Error in ``[.data.table`(grid_data, , `:=`("cell_width", safe_stat(.SD$col_width, FUN = sum, NA_value = NA_real_)), by = "rowspan_group")`: attempt access index 14/14 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─glioblastomaEHRsData::descriptiveTableMunich2019dataset(savePath = path) at test-descriptiveTableMunich2019dataset.R:12:3
   2.   └─glioblastomaEHRsData:::saveTable(...)
   3.     └─flextable::save_as_image(t1flex(t1), savePath)
   4.       └─flextable::gen_grob(x, fit = "fixed", just = "center")
   5.         └─flextable:::get_grid_data(x, autowidths, wrapping)
   6.           ├─...[]
   7.           └─data.table:::`[.data.table`(...)
  ── Error ('test-descriptiveTableTainan2020dataset.R:12:3'): descriptiveTableTainan2020dataset(savePath = 'tables/') return a table1 object and save a png file ──
  Error in ``[.data.table`(grid_data, , `:=`("cell_width", safe_stat(.SD$col_width, FUN = sum, NA_value = NA_real_)), by = "rowspan_group")`: attempt access index 14/14 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─glioblastomaEHRsData::descriptiveTableTainan2020dataset(savePath = path) at test-descriptiveTableTainan2020dataset.R:12:3
   2.   └─glioblastomaEHRsData:::saveTable(...)
   3.     └─flextable::save_as_image(t1flex(t1), savePath)
   4.       └─flextable::gen_grob(x, fit = "fixed", just = "center")
   5.         └─flextable:::get_grid_data(x, autowidths, wrapping)
   6.           ├─...[]
   7.           └─data.table:::`[.data.table`(...)
  ── Error ('test-descriptiveTableUtrecht2019dataset.R:12:3'): descriptiveTableUtrecht2019dataset(savePath = 'tables/') return a table1 object and save a png file ──
  Error in ``[.data.table`(grid_data, , `:=`("cell_width", safe_stat(.SD$col_width, FUN = sum, NA_value = NA_real_)), by = "rowspan_group")`: attempt access index 14/14 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─glioblastomaEHRsData::descriptiveTableUtrecht2019dataset(savePath = path) at test-descriptiveTableUtrecht2019dataset.R:12:3
   2.   └─glioblastomaEHRsData:::saveTable(...)
   3.     └─flextable::save_as_image(t1flex(t1), savePath)
   4.       └─flextable::gen_grob(x, fit = "fixed", just = "center")
   5.         └─flextable:::get_grid_data(x, autowidths, wrapping)
   6.           ├─...[]
   7.           └─data.table:::`[.data.table`(...)
  
  [ FAIL 3 | WARN 1 | SKIP 3 | PASS 102 ]
  Error:
  ! Test failures.
  Execution halted