- using R Under development (unstable) (2026-09-15 r90540)
- 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-09-15 17:05:09 UTC
- using option ‘--no-stop-on-test-error’
- checking for file ‘pharmaRTF/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘pharmaRTF’ version ‘0.1.4’
- 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 ‘pharmaRTF’ can be installed ... 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 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 ... 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 ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(pharmaRTF)
Attaching package: 'pharmaRTF'
The following object is masked from 'package:graphics':
text
> library(assertthat)
> library(huxtable)
Attaching package: 'huxtable'
The following objects are masked from 'package:pharmaRTF':
align, align<-, bold, bold<-, font, font<-, font_size, font_size<-,
header_rows, header_rows<-, italic, italic<-, set_align, set_bold,
set_font, set_font_size, set_header_rows, set_italic
>
> test_check("pharmaRTF")
Saving _problems/test_rtf-code-generators-32.R
[ FAIL 1 | WARN 8 | SKIP 1 | PASS 223 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• empty test (1): 'test_rtf-code-generators.r:104:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_rtf-code-generators.r:32:3'): hf_string orderes lines properly ──
Expected `hf_string(rtf, "titles")` to equal "{\\header\n\\qc\n{\\f1\\fs24 rtf_doc Title 3}\n\\par\\qc\n{\\f1\\fs24 rtf_doc Title 2}\n\\par\\qc\n{\\f1\\fs24 rtf_doc Title 1}\n\\par\n\n{\n\\trowd\n\\trqc \\clbrdrt\\clbrdrl\\clbrdrb\\clbrdrr\\clvertalt\\clNoWrap\\clpadfl0\\clpadl80 \\clpadft0\\clpadt80 \\clpadfb0\\clpadb80 \\clpadfr0\\clpadr80 \\cellx2160 \n\\clbrdrt\\clbrdrl\\clbrdrb\\clbrdrr\\clvertalt\\clNoWrap\\clpadfl0\\clpadl80 \\clpadft0\\clpadt80 \\clpadfb0\\clpadb80 \\clpadfr0\\clpadr80 \\cellx4320 \\pard\\intbl\\ql{\\fs24 {Header1}}\\cell\n\\pard\\intbl\\ql{\\fs24 {Header2}}\\cell\n\\row\n}\n\n}".
Differences:
1/1 mismatches
x[1]: "{\\header\n\\qc\n{\\f1\\fs24 rtf_doc Title 3}\n\\par\\qc\n{\\f1\\fs24 rtf
x[1]: _doc Title 2}\n\\par\\qc\n{\\f1\\fs24 rtf_doc Title 1}\n\\par\n\n{\n\\trow
x[1]: d\n\\trqc \\trkeep \\clbrdrt\\clbrdrl\\clbrdrb\\clbrdrr\\clvertalt\\clNoWr
x[1]: ap\\clpadfl0\\clpadl80 \\clpadft0\\clpadt80 \\clpadfb0\\clpadb80 \\clpadfr
x[1]: 0\\clpadr80 \\cellx2160\n\\clbrdrt\\clbrdrl\\clbrdrb\\clbrdrr\\clvertal...
y[1]: "{\\header\n\\qc\n{\\f1\\fs24 rtf_doc Title 3}\n\\par\\qc\n{\\f1\\fs24 rtf
y[1]: _doc Title 2}\n\\par\\qc\n{\\f1\\fs24 rtf_doc Title 1}\n\\par\n\n{\n\\trow
y[1]: d\n\\trqc \\clbrdrt\\clbrdrl\\clbrdrb\\clbrdrr\\clvertalt\\clNoWrap\\clpad
y[1]: fl0\\clpadl80 \\clpadft0\\clpadt80 \\clpadfb0\\clpadb80 \\clpadfr0\\clpadr
y[1]: 80 \\cellx2160 \n\\clbrdrt\\clbrdrl\\clbrdrb\\clbrdrr\\clvertalt\\clNoW...
[ FAIL 1 | WARN 8 | SKIP 1 | PASS 223 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [16s/17s] ERROR
Error(s) in re-building vignettes:
--- re-building ‘advanced_usage.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘advanced_usage.Rmd’
--- re-building ‘huxtable_tips.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘huxtable_tips.Rmd’
--- re-building ‘pharmaRTF.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘pharmaRTF.Rmd’
--- re-building ‘tf_from_file.Rmd’ using rmarkdown
Quitting from tf_from_file.Rmd:117-119 [show_huxtable]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `if (breakable(ht)) ...`:
! argument is of length zero
---
Backtrace:
▆
1. ├─base::withVisible(knit_print(x, ...))
2. ├─knitr::knit_print(x, ...)
3. └─huxtable:::knit_print.huxtable(x, ...)
4. ├─base::do.call(call_name, call_args)
5. └─huxtable::to_html(`<huxtable[,8]>`, dependencies = FALSE)
6. └─huxtable:::build_table_style(ht)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'tf_from_file.Rmd' failed with diagnostics:
argument is of length zero
--- failed re-building ‘tf_from_file.Rmd’
SUMMARY: processing the following file failed:
‘tf_from_file.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 2 ERRORs