- using R version 4.4.3 (2025-02-28 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'teal.modules.clinical/DESCRIPTION' ... OK
- this is package 'teal.modules.clinical' version '0.12.0'
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'teal.modules.clinical' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- 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 ... [6s] OK
- checking whether the package can be loaded with stated dependencies ... [6s] OK
- checking whether the package can be unloaded cleanly ... [6s] OK
- checking whether the namespace can be loaded with stated dependencies ... [5s] OK
- checking whether the namespace can be unloaded cleanly ... [6s] OK
- checking loading without being on the library search path ... [6s] OK
- checking whether startup messages can be suppressed ... [6s] 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 ... [42s] OK
- checking Rd files ... [5s] OK
- checking Rd metadata ... 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 contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [46s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [37s] OK
Running 'testthat.R' [37s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [27s] ERROR
Error(s) in re-building vignettes:
--- re-building 'decorate-module-output.Rmd' using rmarkdown
--- finished re-building 'decorate-module-output.Rmd'
--- re-building 'generate_tmc_test_data.Rmd' using rmarkdown
--- finished re-building 'generate_tmc_test_data.Rmd'
--- re-building 'quickstart_substitute.Rmd' using rmarkdown
Quitting from quickstart_substitute.Rmd:304-306 [unnamed-chunk-14]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `match.arg()`:
! 'arg' must be of length 1
---
Backtrace:
▆
1. ├─... %>% build_table(df = adlb_f)
2. └─rtables::build_table(., df = adlb_f)
3. └─rtables::update_ref_indexing(tab)
4. ├─formatters::make_row_df(tt)
5. └─rtables::make_row_df(tt)
6. └─rtables (local) .local(...)
7. ├─formatters::make_row_df(...)
8. └─rtables::make_row_df(...)
9. └─rtables (local) .local(...)
10. ├─formatters::make_row_df(...)
11. └─rtables::make_row_df(...)
12. └─rtables (local) .local(...)
13. ├─formatters::make_row_df(...)
14. └─rtables::make_row_df(...)
15. └─rtables (local) .local(...)
16. ├─formatters::pagdfrow(...)
17. │ └─base::data.frame(...)
18. ├─formatters::nlines(...)
19. └─rtables::nlines(...)
20. ├─base::as.vector(get_formatted_cells(x))
21. ├─rtables::get_formatted_cells(x)
22. └─rtables::get_formatted_cells(x)
23. ├─base::matrix(...)
24. ├─base::unlist(...)
25. └─base::Map(...)
26. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
27. └─rtables (local) `<fn>`(val = dots[[1L]][[1L]], spn = dots[[2L]][[1L]], shelli = dots[[3L]][[1L]])
28. └─rtables::format_rcell(...)
29. └─formatters::format_value(...)
30. └─base::match.arg(round_type)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'quickstart_substitute.Rmd' failed with diagnostics:
'arg' must be of length 1
--- failed re-building 'quickstart_substitute.Rmd'
--- re-building 'teal-modules-clinical.Rmd' using rmarkdown
--- finished re-building 'teal-modules-clinical.Rmd'
SUMMARY: processing the following file failed:
'quickstart_substitute.Rmd'
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [30s] OK
- checking HTML version of manual ... [36s] OK
- DONE
Status: 1 ERROR