- using R Under development (unstable) (2026-10-06 r90644)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2)
GNU Fortran (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2)
- running under: Fedora Linux 44 (Server Edition)
- using session charset: UTF-8
* current time: 2026-10-08 08:28:05 UTC
- using option ‘--no-stop-on-test-error’
- checking for file ‘flextable/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘flextable’ version ‘0.10.1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘flextable’ can be installed ... [16s/36s] OK
See the install log for details.
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking whether startup messages can be suppressed ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [36s/80s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [6s/19s] 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
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [121s/192s] 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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... OK
- checking PDF version of manual ... [12s/15s] OK
- checking HTML version of manual ... [8s/10s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 2 ERRORs