CRAN Package Check Results for Maintainer ‘David Gohel <david.gohel at ardata.fr>’

Last updated on 2025-12-21 11:50:28 CET.

Package ERROR NOTE OK
doconv 13
equatags 13
flextable 4 9
fpeek 13
gdtools 1 12
ggiraph 2 11
locatexec 2 11
mschart 4 9
officedown 13
officer 13
rvg 13

Package doconv

Current CRAN status: OK: 13

Package equatags

Current CRAN status: OK: 13

Package flextable

Current CRAN status: ERROR: 4, OK: 9

Version: 0.9.10
Check: examples
Result: ERROR Running examples in ‘flextable-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: as_flextable.kmeans > ### Title: Transform a 'kmeans' object into a flextable > ### Aliases: as_flextable.kmeans > > ### ** Examples > > if (require("stats")) { + cl <- kmeans(scale(mtcars[1:7]), 5) + ft <- as_flextable(cl) + ft + } Error in `[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, : attempt access index 4/4 in VECTOR_ELT Calls: as_flextable ... as_flextable.kmeans -> tabulator -> [ -> [.data.table Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.9.10
Check: tests
Result: ERROR Running ‘testthat.R’ [50s/58s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > > test_check("flextable") Loading required package: flextable Saving _problems/test-as_flextable-140.R Saving _problems/test-as_flextable-152.R Saving _problems/test-as_flextable-343.R Attaching package: 'xtable' The following object is masked from 'package:flextable': align This is mgcv 1.9-4. For overview type '?mgcv'. Gu & Wahba 4 term additive model [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. Loading required package: pdftools Using poppler version 25.03.0 Saving _problems/test-gen_grob-15.R Saving _problems/test-gen_grob-16.R Saving _problems/test-gen_grob-32.R Saving _problems/test-gen_grob-77.R Saving _problems/test-gen_grob-117.R Saving _problems/test-images-109.R Saving _problems/test-latex-5.R Saving _problems/test-latex-17.R Saving _problems/test-proc-freq-65.R Saving _problems/test-proc-freq-70.R Saving _problems/test-proc-freq-90.R [ FAIL 14 | WARN 0 | SKIP 1 | PASS 364 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • do_manual_msoffice_snapshot_testing is not TRUE (1): 'test-borders.R:3:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-as_flextable.R:140:3'): kmeans works ─────────────────────────── Error in ``[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, rows))`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. ├─flextable::as_flextable(cl) at test-as_flextable.R:140:3 2. └─flextable:::as_flextable.kmeans(cl) 3. └─flextable::tabulator(...) 4. ├─as.data.table(x)[, `:=`(c("cts"), .N), by = c(columns, rows)] 5. └─data.table:::`[.data.table`(...) ── Error ('test-as_flextable.R:152:3'): partitioning around medoids works ────── Error in ``[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, rows))`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. ├─flextable::as_flextable(cl) at test-as_flextable.R:152:3 2. └─flextable:::as_flextable.pam(cl) 3. └─flextable::tabulator(...) 4. ├─as.data.table(x)[, `:=`(c("cts"), .N), by = c(columns, rows)] 5. └─data.table:::`[.data.table`(...) ── Error ('test-as_flextable.R:338:3'): labelled data ────────────────────────── Error in ``[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, rows))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. └─flextable::proc_freq(...) at test-as_flextable.R:338:3 2. └─flextable::tabulator(...) 3. ├─as.data.table(x)[, `:=`(c("cts"), .N), by = c(columns, rows)] 4. └─data.table:::`[.data.table`(...) ── Failure ('test-gen_grob.R:15:3'): png is created ──────────────────────────── Expected `file.exists(file)` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE ── Failure ('test-gen_grob.R:16:3'): png is created ──────────────────────────── Expected `file.info(file)$size` > 20000. Actual comparison: NA <= 20000.0 ── Error ('test-gen_grob.R:32:3'): merged borders ────────────────────────────── 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. └─flextable::gen_grob(ft) at test-gen_grob.R:32:3 2. └─flextable:::get_grid_data(x, autowidths, wrapping) 3. ├─...[] 4. └─data.table:::`[.data.table`(...) ── Error ('test-gen_grob.R:77:3'): text wrapping ─────────────────────────────── 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. └─flextable::gen_grob(ft, fit = "fixed") at test-gen_grob.R:77:3 2. └─flextable:::get_grid_data(x, autowidths, wrapping) 3. ├─...[] 4. └─data.table:::`[.data.table`(...) ── Error ('test-gen_grob.R:117:3'): grid with raster ─────────────────────────── 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. └─flextable::gen_grob(ft) at test-gen_grob.R:117:3 2. └─flextable:::get_grid_data(x, autowidths, wrapping) 3. ├─...[] 4. └─data.table:::`[.data.table`(...) ── Error ('test-images.R:109:3'): multiple images ────────────────────────────── 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. └─flextable::gen_grob(ft) at test-images.R:109:3 2. └─flextable:::get_grid_data(x, autowidths, wrapping) 3. ├─...[] 4. └─data.table:::`[.data.table`(...) ── Error ('test-latex.R:5:3'): white spaces are protected ────────────────────── Error in ``[.data.table`(properties_df, , `:=`(c("vspan_id"), list(rleid(cumsum(.SD$colspan)))), by = c(".part", ".col_id"))`: attempt access index 14/14 in VECTOR_ELT Backtrace: ▆ 1. └─flextable:::gen_raw_latex(ft) at test-latex.R:5:3 2. └─flextable:::latex_gridlines(properties_df) 3. └─flextable:::fortify_latex_borders(properties_df) 4. ├─...[] 5. └─data.table:::`[.data.table`(...) ── Error ('test-latex.R:17:3'): fonts are defined in latex ───────────────────── Error in ``[.data.table`(properties_df, , `:=`(c("vspan_id"), list(rleid(cumsum(.SD$colspan)))), by = c(".part", ".col_id"))`: attempt access index 14/14 in VECTOR_ELT Backtrace: ▆ 1. └─flextable:::gen_raw_latex(ft, quarto = FALSE) at test-latex.R:17:3 2. └─flextable:::latex_gridlines(properties_df) 3. └─flextable:::fortify_latex_borders(properties_df) 4. ├─...[] 5. └─data.table:::`[.data.table`(...) ── Error ('test-proc-freq.R:65:3'): proc_freq executes without errors ────────── Error in ``[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, rows))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. └─flextable::proc_freq(dummy_df, "values", "groups") at test-proc-freq.R:65:3 2. └─flextable::tabulator(...) 3. ├─as.data.table(x)[, `:=`(c("cts"), .N), by = c(columns, rows)] 4. └─data.table:::`[.data.table`(...) ── Error ('test-proc-freq.R:70:3'): proc_freq content ────────────────────────── Error in ``[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, rows))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. └─flextable::proc_freq(dat, row = "o", col = "p") at test-proc-freq.R:70:3 2. └─flextable::tabulator(...) 3. ├─as.data.table(x)[, `:=`(c("cts"), .N), by = c(columns, rows)] 4. └─data.table:::`[.data.table`(...) ── Error ('test-proc-freq.R:87:3'): proc_freq content no count ───────────────── Error in ``[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, rows))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. └─flextable::proc_freq(dat, row = "o", col = "p", include.table_count = FALSE) at test-proc-freq.R:87:3 2. └─flextable::tabulator(...) 3. ├─as.data.table(x)[, `:=`(c("cts"), .N), by = c(columns, rows)] 4. └─data.table:::`[.data.table`(...) [ FAIL 14 | WARN 0 | SKIP 1 | PASS 364 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.9.10
Check: tests
Result: ERROR Running ‘testthat.R’ [33s/44s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > > test_check("flextable") Loading required package: flextable Saving _problems/test-as_flextable-140.R Saving _problems/test-as_flextable-152.R Saving _problems/test-as_flextable-343.R Attaching package: 'xtable' The following object is masked from 'package:flextable': align This is mgcv 1.9-4. For overview type '?mgcv'. Gu & Wahba 4 term additive model [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. Loading required package: pdftools Using poppler version 25.03.0 Saving _problems/test-gen_grob-15.R Saving _problems/test-gen_grob-16.R Saving _problems/test-gen_grob-32.R Saving _problems/test-gen_grob-77.R Saving _problems/test-gen_grob-117.R Saving _problems/test-images-109.R Saving _problems/test-latex-5.R Saving _problems/test-latex-17.R Saving _problems/test-proc-freq-65.R Saving _problems/test-proc-freq-70.R Saving _problems/test-proc-freq-90.R [ FAIL 14 | WARN 0 | SKIP 1 | PASS 364 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • do_manual_msoffice_snapshot_testing is not TRUE (1): 'test-borders.R:3:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-as_flextable.R:140:3'): kmeans works ─────────────────────────── Error in ``[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, rows))`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. ├─flextable::as_flextable(cl) at test-as_flextable.R:140:3 2. └─flextable:::as_flextable.kmeans(cl) 3. └─flextable::tabulator(...) 4. ├─as.data.table(x)[, `:=`(c("cts"), .N), by = c(columns, rows)] 5. └─data.table:::`[.data.table`(...) ── Error ('test-as_flextable.R:152:3'): partitioning around medoids works ────── Error in ``[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, rows))`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. ├─flextable::as_flextable(cl) at test-as_flextable.R:152:3 2. └─flextable:::as_flextable.pam(cl) 3. └─flextable::tabulator(...) 4. ├─as.data.table(x)[, `:=`(c("cts"), .N), by = c(columns, rows)] 5. └─data.table:::`[.data.table`(...) ── Error ('test-as_flextable.R:338:3'): labelled data ────────────────────────── Error in ``[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, rows))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. └─flextable::proc_freq(...) at test-as_flextable.R:338:3 2. └─flextable::tabulator(...) 3. ├─as.data.table(x)[, `:=`(c("cts"), .N), by = c(columns, rows)] 4. └─data.table:::`[.data.table`(...) ── Failure ('test-gen_grob.R:15:3'): png is created ──────────────────────────── Expected `file.exists(file)` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE ── Failure ('test-gen_grob.R:16:3'): png is created ──────────────────────────── Expected `file.info(file)$size` > 20000. Actual comparison: NA <= 20000.0 ── Error ('test-gen_grob.R:32:3'): merged borders ────────────────────────────── 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. └─flextable::gen_grob(ft) at test-gen_grob.R:32:3 2. └─flextable:::get_grid_data(x, autowidths, wrapping) 3. ├─...[] 4. └─data.table:::`[.data.table`(...) ── Error ('test-gen_grob.R:77:3'): text wrapping ─────────────────────────────── 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. └─flextable::gen_grob(ft, fit = "fixed") at test-gen_grob.R:77:3 2. └─flextable:::get_grid_data(x, autowidths, wrapping) 3. ├─...[] 4. └─data.table:::`[.data.table`(...) ── Error ('test-gen_grob.R:117:3'): grid with raster ─────────────────────────── 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. └─flextable::gen_grob(ft) at test-gen_grob.R:117:3 2. └─flextable:::get_grid_data(x, autowidths, wrapping) 3. ├─...[] 4. └─data.table:::`[.data.table`(...) ── Error ('test-images.R:109:3'): multiple images ────────────────────────────── 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. └─flextable::gen_grob(ft) at test-images.R:109:3 2. └─flextable:::get_grid_data(x, autowidths, wrapping) 3. ├─...[] 4. └─data.table:::`[.data.table`(...) ── Error ('test-latex.R:5:3'): white spaces are protected ────────────────────── Error in ``[.data.table`(properties_df, , `:=`(c("vspan_id"), list(rleid(cumsum(.SD$colspan)))), by = c(".part", ".col_id"))`: attempt access index 14/14 in VECTOR_ELT Backtrace: ▆ 1. └─flextable:::gen_raw_latex(ft) at test-latex.R:5:3 2. └─flextable:::latex_gridlines(properties_df) 3. └─flextable:::fortify_latex_borders(properties_df) 4. ├─...[] 5. └─data.table:::`[.data.table`(...) ── Error ('test-latex.R:17:3'): fonts are defined in latex ───────────────────── Error in ``[.data.table`(properties_df, , `:=`(c("vspan_id"), list(rleid(cumsum(.SD$colspan)))), by = c(".part", ".col_id"))`: attempt access index 14/14 in VECTOR_ELT Backtrace: ▆ 1. └─flextable:::gen_raw_latex(ft, quarto = FALSE) at test-latex.R:17:3 2. └─flextable:::latex_gridlines(properties_df) 3. └─flextable:::fortify_latex_borders(properties_df) 4. ├─...[] 5. └─data.table:::`[.data.table`(...) ── Error ('test-proc-freq.R:65:3'): proc_freq executes without errors ────────── Error in ``[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, rows))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. └─flextable::proc_freq(dummy_df, "values", "groups") at test-proc-freq.R:65:3 2. └─flextable::tabulator(...) 3. ├─as.data.table(x)[, `:=`(c("cts"), .N), by = c(columns, rows)] 4. └─data.table:::`[.data.table`(...) ── Error ('test-proc-freq.R:70:3'): proc_freq content ────────────────────────── Error in ``[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, rows))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. └─flextable::proc_freq(dat, row = "o", col = "p") at test-proc-freq.R:70:3 2. └─flextable::tabulator(...) 3. ├─as.data.table(x)[, `:=`(c("cts"), .N), by = c(columns, rows)] 4. └─data.table:::`[.data.table`(...) ── Error ('test-proc-freq.R:87:3'): proc_freq content no count ───────────────── Error in ``[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, rows))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. └─flextable::proc_freq(dat, row = "o", col = "p", include.table_count = FALSE) at test-proc-freq.R:87:3 2. └─flextable::tabulator(...) 3. ├─as.data.table(x)[, `:=`(c("cts"), .N), by = c(columns, rows)] 4. └─data.table:::`[.data.table`(...) [ FAIL 14 | WARN 0 | SKIP 1 | PASS 364 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.9.10
Check: examples
Result: ERROR Running examples in ‘flextable-Ex.R’ failed The error most likely occurred in: > ### Name: as_flextable.kmeans > ### Title: Transform a 'kmeans' object into a flextable > ### Aliases: as_flextable.kmeans > > ### ** Examples > > if (require("stats")) { + cl <- kmeans(scale(mtcars[1:7]), 5) + ft <- as_flextable(cl) + ft + } Error in `[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, : attempt access index 4/4 in VECTOR_ELT Calls: as_flextable ... as_flextable.kmeans -> tabulator -> [ -> [.data.table Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.9.10
Check: tests
Result: ERROR Running ‘testthat.R’ [85s/156s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > > test_check("flextable") Loading required package: flextable Saving _problems/test-as_flextable-140.R Saving _problems/test-as_flextable-152.R Saving _problems/test-as_flextable-343.R Attaching package: 'xtable' The following object is masked from 'package:flextable': align This is mgcv 1.9-4. For overview type '?mgcv'. Gu & Wahba 4 term additive model [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. Loading required package: pdftools Using poppler version 24.02.0 Saving _problems/test-gen_grob-15.R Saving _problems/test-gen_grob-16.R Saving _problems/test-gen_grob-32.R Saving _problems/test-gen_grob-77.R Saving _problems/test-gen_grob-117.R Saving _problems/test-images-109.R Saving _problems/test-latex-5.R Saving _problems/test-latex-17.R Saving _problems/test-proc-freq-65.R Saving _problems/test-proc-freq-70.R Saving _problems/test-proc-freq-90.R [ FAIL 14 | WARN 0 | SKIP 1 | PASS 364 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • do_manual_msoffice_snapshot_testing is not TRUE (1): 'test-borders.R:3:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-as_flextable.R:140:3'): kmeans works ─────────────────────────── Error in ``[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, rows))`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. ├─flextable::as_flextable(cl) at test-as_flextable.R:140:3 2. └─flextable:::as_flextable.kmeans(cl) 3. └─flextable::tabulator(...) 4. ├─as.data.table(x)[, `:=`(c("cts"), .N), by = c(columns, rows)] 5. └─data.table:::`[.data.table`(...) ── Error ('test-as_flextable.R:152:3'): partitioning around medoids works ────── Error in ``[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, rows))`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. ├─flextable::as_flextable(cl) at test-as_flextable.R:152:3 2. └─flextable:::as_flextable.pam(cl) 3. └─flextable::tabulator(...) 4. ├─as.data.table(x)[, `:=`(c("cts"), .N), by = c(columns, rows)] 5. └─data.table:::`[.data.table`(...) ── Error ('test-as_flextable.R:338:3'): labelled data ────────────────────────── Error in ``[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, rows))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. └─flextable::proc_freq(...) at test-as_flextable.R:338:3 2. └─flextable::tabulator(...) 3. ├─as.data.table(x)[, `:=`(c("cts"), .N), by = c(columns, rows)] 4. └─data.table:::`[.data.table`(...) ── Failure ('test-gen_grob.R:15:3'): png is created ──────────────────────────── Expected `file.exists(file)` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE ── Failure ('test-gen_grob.R:16:3'): png is created ──────────────────────────── Expected `file.info(file)$size` > 20000. Actual comparison: NA <= 20000.0 ── Error ('test-gen_grob.R:32:3'): merged borders ────────────────────────────── 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. └─flextable::gen_grob(ft) at test-gen_grob.R:32:3 2. └─flextable:::get_grid_data(x, autowidths, wrapping) 3. ├─...[] 4. └─data.table:::`[.data.table`(...) ── Error ('test-gen_grob.R:77:3'): text wrapping ─────────────────────────────── 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. └─flextable::gen_grob(ft, fit = "fixed") at test-gen_grob.R:77:3 2. └─flextable:::get_grid_data(x, autowidths, wrapping) 3. ├─...[] 4. └─data.table:::`[.data.table`(...) ── Error ('test-gen_grob.R:117:3'): grid with raster ─────────────────────────── 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. └─flextable::gen_grob(ft) at test-gen_grob.R:117:3 2. └─flextable:::get_grid_data(x, autowidths, wrapping) 3. ├─...[] 4. └─data.table:::`[.data.table`(...) ── Error ('test-images.R:109:3'): multiple images ────────────────────────────── 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. └─flextable::gen_grob(ft) at test-images.R:109:3 2. └─flextable:::get_grid_data(x, autowidths, wrapping) 3. ├─...[] 4. └─data.table:::`[.data.table`(...) ── Error ('test-latex.R:5:3'): white spaces are protected ────────────────────── Error in ``[.data.table`(properties_df, , `:=`(c("vspan_id"), list(rleid(cumsum(.SD$colspan)))), by = c(".part", ".col_id"))`: attempt access index 14/14 in VECTOR_ELT Backtrace: ▆ 1. └─flextable:::gen_raw_latex(ft) at test-latex.R:5:3 2. └─flextable:::latex_gridlines(properties_df) 3. └─flextable:::fortify_latex_borders(properties_df) 4. ├─...[] 5. └─data.table:::`[.data.table`(...) ── Error ('test-latex.R:17:3'): fonts are defined in latex ───────────────────── Error in ``[.data.table`(properties_df, , `:=`(c("vspan_id"), list(rleid(cumsum(.SD$colspan)))), by = c(".part", ".col_id"))`: attempt access index 14/14 in VECTOR_ELT Backtrace: ▆ 1. └─flextable:::gen_raw_latex(ft, quarto = FALSE) at test-latex.R:17:3 2. └─flextable:::latex_gridlines(properties_df) 3. └─flextable:::fortify_latex_borders(properties_df) 4. ├─...[] 5. └─data.table:::`[.data.table`(...) ── Error ('test-proc-freq.R:65:3'): proc_freq executes without errors ────────── Error in ``[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, rows))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. └─flextable::proc_freq(dummy_df, "values", "groups") at test-proc-freq.R:65:3 2. └─flextable::tabulator(...) 3. ├─as.data.table(x)[, `:=`(c("cts"), .N), by = c(columns, rows)] 4. └─data.table:::`[.data.table`(...) ── Error ('test-proc-freq.R:70:3'): proc_freq content ────────────────────────── Error in ``[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, rows))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. └─flextable::proc_freq(dat, row = "o", col = "p") at test-proc-freq.R:70:3 2. └─flextable::tabulator(...) 3. ├─as.data.table(x)[, `:=`(c("cts"), .N), by = c(columns, rows)] 4. └─data.table:::`[.data.table`(...) ── Error ('test-proc-freq.R:87:3'): proc_freq content no count ───────────────── Error in ``[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, rows))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. └─flextable::proc_freq(dat, row = "o", col = "p", include.table_count = FALSE) at test-proc-freq.R:87:3 2. └─flextable::tabulator(...) 3. ├─as.data.table(x)[, `:=`(c("cts"), .N), by = c(columns, rows)] 4. └─data.table:::`[.data.table`(...) [ FAIL 14 | WARN 0 | SKIP 1 | PASS 364 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.9.10
Check: tests
Result: ERROR Running ‘testthat.R’ [85s/244s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > > test_check("flextable") Loading required package: flextable Saving _problems/test-as_flextable-140.R Saving _problems/test-as_flextable-152.R Saving _problems/test-as_flextable-343.R Attaching package: 'xtable' The following object is masked from 'package:flextable': align This is mgcv 1.9-4. For overview type '?mgcv'. Gu & Wahba 4 term additive model [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. Loading required package: pdftools Using poppler version 25.02.0 Saving _problems/test-gen_grob-15.R Saving _problems/test-gen_grob-16.R Saving _problems/test-gen_grob-32.R Saving _problems/test-gen_grob-77.R Saving _problems/test-gen_grob-117.R Saving _problems/test-images-109.R Saving _problems/test-latex-5.R Saving _problems/test-latex-17.R Saving _problems/test-proc-freq-65.R Saving _problems/test-proc-freq-70.R Saving _problems/test-proc-freq-90.R [ FAIL 14 | WARN 0 | SKIP 1 | PASS 364 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • do_manual_msoffice_snapshot_testing is not TRUE (1): 'test-borders.R:3:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-as_flextable.R:140:3'): kmeans works ─────────────────────────── Error in ``[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, rows))`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. ├─flextable::as_flextable(cl) at test-as_flextable.R:140:3 2. └─flextable:::as_flextable.kmeans(cl) 3. └─flextable::tabulator(...) 4. ├─as.data.table(x)[, `:=`(c("cts"), .N), by = c(columns, rows)] 5. └─data.table:::`[.data.table`(...) ── Error ('test-as_flextable.R:152:3'): partitioning around medoids works ────── Error in ``[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, rows))`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. ├─flextable::as_flextable(cl) at test-as_flextable.R:152:3 2. └─flextable:::as_flextable.pam(cl) 3. └─flextable::tabulator(...) 4. ├─as.data.table(x)[, `:=`(c("cts"), .N), by = c(columns, rows)] 5. └─data.table:::`[.data.table`(...) ── Error ('test-as_flextable.R:338:3'): labelled data ────────────────────────── Error in ``[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, rows))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. └─flextable::proc_freq(...) at test-as_flextable.R:338:3 2. └─flextable::tabulator(...) 3. ├─as.data.table(x)[, `:=`(c("cts"), .N), by = c(columns, rows)] 4. └─data.table:::`[.data.table`(...) ── Failure ('test-gen_grob.R:15:3'): png is created ──────────────────────────── Expected `file.exists(file)` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE ── Failure ('test-gen_grob.R:16:3'): png is created ──────────────────────────── Expected `file.info(file)$size` > 20000. Actual comparison: NA <= 20000.0 ── Error ('test-gen_grob.R:32:3'): merged borders ────────────────────────────── 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. └─flextable::gen_grob(ft) at test-gen_grob.R:32:3 2. └─flextable:::get_grid_data(x, autowidths, wrapping) 3. ├─...[] 4. └─data.table:::`[.data.table`(...) ── Error ('test-gen_grob.R:77:3'): text wrapping ─────────────────────────────── 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. └─flextable::gen_grob(ft, fit = "fixed") at test-gen_grob.R:77:3 2. └─flextable:::get_grid_data(x, autowidths, wrapping) 3. ├─...[] 4. └─data.table:::`[.data.table`(...) ── Error ('test-gen_grob.R:117:3'): grid with raster ─────────────────────────── 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. └─flextable::gen_grob(ft) at test-gen_grob.R:117:3 2. └─flextable:::get_grid_data(x, autowidths, wrapping) 3. ├─...[] 4. └─data.table:::`[.data.table`(...) ── Error ('test-images.R:109:3'): multiple images ────────────────────────────── 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. └─flextable::gen_grob(ft) at test-images.R:109:3 2. └─flextable:::get_grid_data(x, autowidths, wrapping) 3. ├─...[] 4. └─data.table:::`[.data.table`(...) ── Error ('test-latex.R:5:3'): white spaces are protected ────────────────────── Error in ``[.data.table`(properties_df, , `:=`(c("vspan_id"), list(rleid(cumsum(.SD$colspan)))), by = c(".part", ".col_id"))`: attempt access index 14/14 in VECTOR_ELT Backtrace: ▆ 1. └─flextable:::gen_raw_latex(ft) at test-latex.R:5:3 2. └─flextable:::latex_gridlines(properties_df) 3. └─flextable:::fortify_latex_borders(properties_df) 4. ├─...[] 5. └─data.table:::`[.data.table`(...) ── Error ('test-latex.R:17:3'): fonts are defined in latex ───────────────────── Error in ``[.data.table`(properties_df, , `:=`(c("vspan_id"), list(rleid(cumsum(.SD$colspan)))), by = c(".part", ".col_id"))`: attempt access index 14/14 in VECTOR_ELT Backtrace: ▆ 1. └─flextable:::gen_raw_latex(ft, quarto = FALSE) at test-latex.R:17:3 2. └─flextable:::latex_gridlines(properties_df) 3. └─flextable:::fortify_latex_borders(properties_df) 4. ├─...[] 5. └─data.table:::`[.data.table`(...) ── Error ('test-proc-freq.R:65:3'): proc_freq executes without errors ────────── Error in ``[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, rows))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. └─flextable::proc_freq(dummy_df, "values", "groups") at test-proc-freq.R:65:3 2. └─flextable::tabulator(...) 3. ├─as.data.table(x)[, `:=`(c("cts"), .N), by = c(columns, rows)] 4. └─data.table:::`[.data.table`(...) ── Error ('test-proc-freq.R:70:3'): proc_freq content ────────────────────────── Error in ``[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, rows))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. └─flextable::proc_freq(dat, row = "o", col = "p") at test-proc-freq.R:70:3 2. └─flextable::tabulator(...) 3. ├─as.data.table(x)[, `:=`(c("cts"), .N), by = c(columns, rows)] 4. └─data.table:::`[.data.table`(...) ── Error ('test-proc-freq.R:87:3'): proc_freq content no count ───────────────── Error in ``[.data.table`(as.data.table(x), , `:=`(c("cts"), .N), by = c(columns, rows))`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. └─flextable::proc_freq(dat, row = "o", col = "p", include.table_count = FALSE) at test-proc-freq.R:87:3 2. └─flextable::tabulator(...) 3. ├─as.data.table(x)[, `:=`(c("cts"), .N), by = c(columns, rows)] 4. └─data.table:::`[.data.table`(...) [ FAIL 14 | WARN 0 | SKIP 1 | PASS 364 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Package fpeek

Current CRAN status: OK: 13

Package gdtools

Current CRAN status: NOTE: 1, OK: 12

Version: 0.4.4
Check: installed package size
Result: NOTE installed size is 6.9Mb sub-directories of 1Mb or more: libs 6.6Mb Flavor: r-oldrel-windows-x86_64

Package ggiraph

Current CRAN status: NOTE: 2, OK: 11

Version: 0.9.2
Check: installed package size
Result: NOTE installed size is 6.6Mb sub-directories of 1Mb or more: libs 4.2Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Package locatexec

Current CRAN status: NOTE: 2, OK: 11

Version: 0.1.1
Check: for detritus in the temp directory
Result: NOTE Found the following files/directories: ‘node-compile-cache’ Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Package mschart

Current CRAN status: ERROR: 4, OK: 9

Version: 0.4.1
Check: examples
Result: ERROR Running examples in ‘mschart-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: as_bar_stack > ### Title: set a barchart as a stacked barchart > ### Aliases: as_bar_stack > > ### ** Examples > > library(officer) > > my_bar_stack_01 <- ms_barchart(data = browser_data, x = "browser", + y = "value", group = "serie") Error in `[.data.table`(dataset, , `:=`(c(".fake_id."), list(seq_len(.N))), : attempt access index 3/3 in VECTOR_ELT Calls: ms_barchart ... excel_data_setup -> dcast_data -> [ -> [.data.table Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.4.1
Check: tests
Result: ERROR Running ‘tinytest.R’ [2s/2s] Running the tests in ‘tests/tinytest.R’ failed. Complete output: > > if ( requireNamespace("tinytest", quietly=TRUE) ){ + tinytest::test_package("mschart") + } test-custom-labels.R.......... 0 tests test-custom-labels.R.......... 0 tests test-custom-labels.R.......... 0 tests test-custom-labels.R.......... 0 tests Error in `[.data.table`(dataset, , `:=`(c(".fake_id."), list(seq_len(.N))), : attempt access index 5/5 in VECTOR_ELT Calls: <Anonymous> ... excel_data_setup -> dcast_data -> [ -> [.data.table Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.4.1
Check: tests
Result: ERROR Running ‘tinytest.R’ [1s/1s] Running the tests in ‘tests/tinytest.R’ failed. Complete output: > > if ( requireNamespace("tinytest", quietly=TRUE) ){ + tinytest::test_package("mschart") + } test-custom-labels.R.......... 0 tests test-custom-labels.R.......... 0 tests test-custom-labels.R.......... 0 tests test-custom-labels.R.......... 0 tests Error in `[.data.table`(dataset, , `:=`(c(".fake_id."), list(seq_len(.N))), : attempt access index 5/5 in VECTOR_ELT Calls: <Anonymous> ... excel_data_setup -> dcast_data -> [ -> [.data.table Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.4.1
Check: examples
Result: ERROR Running examples in ‘mschart-Ex.R’ failed The error most likely occurred in: > ### Name: as_bar_stack > ### Title: set a barchart as a stacked barchart > ### Aliases: as_bar_stack > > ### ** Examples > > library(officer) > > my_bar_stack_01 <- ms_barchart(data = browser_data, x = "browser", + y = "value", group = "serie") Error in `[.data.table`(dataset, , `:=`(c(".fake_id."), list(seq_len(.N))), : attempt access index 3/3 in VECTOR_ELT Calls: ms_barchart ... excel_data_setup -> dcast_data -> [ -> [.data.table Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.4.1
Check: tests
Result: ERROR Running ‘tinytest.R’ Running the tests in ‘tests/tinytest.R’ failed. Complete output: > > if ( requireNamespace("tinytest", quietly=TRUE) ){ + tinytest::test_package("mschart") + } test-custom-labels.R.......... 0 tests test-custom-labels.R.......... 0 tests test-custom-labels.R.......... 0 tests test-custom-labels.R.......... 0 tests Error in `[.data.table`(dataset, , `:=`(c(".fake_id."), list(seq_len(.N))), : attempt access index 5/5 in VECTOR_ELT Calls: <Anonymous> ... excel_data_setup -> dcast_data -> [ -> [.data.table Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Package officedown

Current CRAN status: OK: 13

Package officer

Current CRAN status: OK: 13

Package rvg

Current CRAN status: OK: 13