CRAN Package Check Results for Package flextable

Last updated on 2026-10-08 13:55:23 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.10.1 23.34 377.09 400.43 ERROR
r-devel-linux-x86_64-debian-gcc 0.10.1 14.70 238.39 253.09 ERROR
r-devel-linux-x86_64-fedora-clang 0.10.1 15.00 231.94 246.94 ERROR
r-devel-linux-x86_64-fedora-gcc 0.10.1 16.00 238.43 254.43 ERROR
r-devel-windows-x86_64 0.10.1 28.00 495.00 523.00 OK
r-patched-linux-x86_64 0.10.1 25.33 347.25 372.58 ERROR
r-release-linux-x86_64 0.10.1 ERROR
r-release-macos-arm64 0.10.1 5.00 98.00 103.00 OK
r-release-macos-x86_64 0.10.1 17.00 472.00 489.00 OK
r-release-windows-x86_64 0.10.1 26.00 510.00 536.00 OK
r-oldrel-macos-arm64 0.10.1 5.00 103.00 108.00 OK
r-oldrel-macos-x86_64 0.10.1 16.00 396.00 412.00 OK
r-oldrel-windows-x86_64 0.10.1 37.00 490.00 527.00 ERROR

Check Details

Version: 0.10.1
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.TableTree > ### Title: Transform an rtables object into a flextable > ### Aliases: as_flextable.TableTree as_flextable.ElementaryTable > > ### ** Examples > > if (require("rtables", character.only = TRUE, quietly = TRUE)) { + library(rtables) + + lyt <- basic_table(title = "Demographic Summary") %>% + split_cols_by("ARM") %>% + split_rows_by("SEX") %>% + analyze("AGE", afun = mean, format = "xx.x") + + tbl <- build_table(lyt, DM) + as_flextable(tbl) + } Attaching package: ‘formatters’ The following object is masked from ‘package:base’: %||% Attaching package: ‘rtables’ The following object is masked from ‘package:utils’: str Error in basic_table(title = "Demographic Summary") %>% split_cols_by("ARM") %>% : could not find function "%>%" Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.10.1
Check: examples
Result: ERROR Running examples in ‘flextable-Ex.R’ failed The error most likely occurred in: > ### Name: as_flextable.TableTree > ### Title: Transform an rtables object into a flextable > ### Aliases: as_flextable.TableTree as_flextable.ElementaryTable > > ### ** Examples > > if (require("rtables", character.only = TRUE, quietly = TRUE)) { + library(rtables) + + lyt <- basic_table(title = "Demographic Summary") %>% + split_cols_by("ARM") %>% + split_rows_by("SEX") %>% + analyze("AGE", afun = mean, format = "xx.x") + + tbl <- build_table(lyt, DM) + as_flextable(tbl) + } Attaching package: ‘formatters’ The following object is masked from ‘package:base’: %||% Attaching package: ‘rtables’ The following object is masked from ‘package:utils’: str Error in basic_table(title = "Demographic Summary") %>% split_cols_by("ARM") %>% : could not find function "%>%" Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-windows-x86_64

Version: 0.10.1
Check: tests
Result: ERROR Running ‘testthat.R’ [121s/192s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > > test_check("flextable") Loading required package: flextable 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: --mathjax. Use --math-method=mathjax[:URL] instead. [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. Saving _problems/test-captions-rmd-128.R [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. Saving _problems/test-captions-rmd-170.R Loading required package: pdftools Using poppler version 26.01.0 Attaching package: 'data.table' The following object is masked from 'package:base': %notin% [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. `stat_bin()` using `bins = 30`. Pick better value `binwidth`. [ FAIL 2 | WARN 0 | SKIP 1 | PASS 1090 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-quarto.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-captions-rmd.R:128:3'): with word_document ─────────────────── Expected `bookmarks` to have length 0. Actual length: 2. ── Failure ('test-captions-rmd.R:170:3'): with word_document2 ────────────────── Expected `bookmarks` to have length 3. Actual length: 5. [ FAIL 2 | WARN 0 | SKIP 1 | PASS 1090 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc