Error(s) in re-building vignettes:
--- re-building ‘missing_values.Rmd’ using rmarkdown

Quitting from missing_values.Rmd:42-63 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `match.arg()`:
! 'arg' must be of length 1
---
Backtrace:
     ▆
  1. ├─... %>% build_table(adsl)
  2. └─rtables::build_table(., adsl)
  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::pagdfrow(...)
 14.                 │ └─base::data.frame(...)
 15.                 ├─formatters::nlines(...)
 16.                 └─rtables::nlines(...)
 17.                   ├─base::as.vector(get_formatted_cells(x))
 18.                   ├─rtables::get_formatted_cells(x)
 19.                   └─rtables::get_formatted_cells(x)
 20.                     ├─base::matrix(...)
 21.                     ├─base::unlist(...)
 22.                     └─base::Map(...)
 23.                       └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
 24.                         └─rtables (local) `<fn>`(val = dots[[1L]][[1L]], spn = dots[[2L]][[1L]], shelli = dots[[3L]][[1L]])
 25.                           └─rtables::format_rcell(...)
 26.                             └─formatters::format_value(...)
 27.                               └─base::match.arg(round_type)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'missing_values.Rmd' failed with diagnostics:
'arg' must be of length 1
--- failed re-building ‘missing_values.Rmd’

--- re-building ‘tables.Rmd’ using rmarkdown

Quitting from tables.Rmd:107-121 [unnamed-chunk-4]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `match.arg()`:
! 'arg' must be of length 1
---
Backtrace:
     ▆
  1. ├─... %>% build_table(adsl)
  2. └─rtables::build_table(., adsl)
  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::pagdfrow(...)
 14.                 │ └─base::data.frame(...)
 15.                 ├─formatters::nlines(...)
 16.                 └─rtables::nlines(...)
 17.                   ├─base::as.vector(get_formatted_cells(x))
 18.                   ├─rtables::get_formatted_cells(x)
 19.                   └─rtables::get_formatted_cells(x)
 20.                     ├─base::matrix(...)
 21.                     ├─base::unlist(...)
 22.                     └─base::Map(...)
 23.                       └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
 24.                         └─rtables (local) `<fn>`(val = dots[[1L]][[1L]], spn = dots[[2L]][[1L]], shelli = dots[[3L]][[1L]])
 25.                           └─rtables::format_rcell(...)
 26.                             └─formatters::format_value(...)
 27.                               └─base::match.arg(round_type)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'tables.Rmd' failed with diagnostics:
'arg' must be of length 1
--- failed re-building ‘tables.Rmd’

--- re-building ‘tern.Rmd’ using rmarkdown

Quitting from tern.Rmd:111-118 [unnamed-chunk-5]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `match.arg()`:
! 'arg' must be of length 1
---
Backtrace:
     ▆
  1. └─rtables::build_table(lyt, df = adrs)
  2.   └─rtables::update_ref_indexing(tab)
  3.     ├─formatters::make_row_df(tt)
  4.     └─rtables::make_row_df(tt)
  5.       └─rtables (local) .local(...)
  6.         ├─formatters::make_row_df(...)
  7.         └─rtables::make_row_df(...)
  8.           └─rtables (local) .local(...)
  9.             ├─formatters::make_row_df(...)
 10.             └─rtables::make_row_df(...)
 11.               └─rtables (local) .local(...)
 12.                 ├─formatters::make_row_df(...)
 13.                 └─rtables::make_row_df(...)
 14.                   └─rtables (local) .local(...)
 15.                     ├─formatters::pagdfrow(...)
 16.                     │ └─base::data.frame(...)
 17.                     ├─formatters::nlines(...)
 18.                     └─rtables::nlines(...)
 19.                       ├─base::as.vector(get_formatted_cells(x))
 20.                       ├─rtables::get_formatted_cells(x)
 21.                       └─rtables::get_formatted_cells(x)
 22.                         ├─base::matrix(...)
 23.                         ├─base::unlist(...)
 24.                         └─base::Map(...)
 25.                           └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
 26.                             └─rtables (local) `<fn>`(val = dots[[1L]][[1L]], spn = dots[[2L]][[1L]], shelli = dots[[3L]][[1L]])
 27.                               └─rtables::format_rcell(...)
 28.                                 └─formatters::format_value(...)
 29.                                   └─base::match.arg(round_type)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'tern.Rmd' failed with diagnostics:
'arg' must be of length 1
--- failed re-building ‘tern.Rmd’

--- re-building ‘tern_formats.Rmd’ using rmarkdown

Quitting from tern_formats.Rmd:55-76 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `match.arg()`:
! 'arg' must be of length 1
---
Backtrace:
     ▆
  1. ├─... %>% build_table(df2)
  2. └─rtables::build_table(., df2)
  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::pagdfrow(...)
 11.             │ └─base::data.frame(...)
 12.             ├─formatters::nlines(...)
 13.             └─rtables::nlines(...)
 14.               ├─base::as.vector(get_formatted_cells(x))
 15.               ├─rtables::get_formatted_cells(x)
 16.               └─rtables::get_formatted_cells(x)
 17.                 ├─base::matrix(...)
 18.                 ├─base::unlist(...)
 19.                 └─base::Map(...)
 20.                   └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
 21.                     └─rtables (local) `<fn>`(val = dots[[1L]][[1L]], spn = dots[[2L]][[1L]], shelli = dots[[3L]][[1L]])
 22.                       └─rtables::format_rcell(...)
 23.                         └─formatters::format_value(...)
 24.                           └─base::match.arg(round_type)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'tern_formats.Rmd' failed with diagnostics:
'arg' must be of length 1
--- failed re-building ‘tern_formats.Rmd’

--- re-building ‘tern_functions_guide.Rmd’ using rmarkdown

Quitting from tern_functions_guide.Rmd:64-86 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `match.arg()`:
! 'arg' must be of length 1
---
Backtrace:
     ▆
  1. ├─... %>% print()
  2. ├─base::print(.)
  3. └─rtables::build_table(., dta_test)
  4.   └─rtables::update_ref_indexing(tab)
  5.     ├─formatters::make_row_df(tt)
  6.     └─rtables::make_row_df(tt)
  7.       └─rtables (local) .local(...)
  8.         ├─formatters::make_row_df(...)
  9.         └─rtables::make_row_df(...)
 10.           └─rtables (local) .local(...)
 11.             ├─formatters::make_row_df(...)
 12.             └─rtables::make_row_df(...)
 13.               └─rtables (local) .local(...)
 14.                 ├─formatters::make_row_df(...)
 15.                 └─rtables::make_row_df(...)
 16.                   └─rtables (local) .local(...)
 17.                     ├─formatters::pagdfrow(...)
 18.                     │ └─base::data.frame(...)
 19.                     ├─formatters::nlines(...)
 20.                     └─rtables::nlines(...)
 21.                       ├─base::as.vector(get_formatted_cells(x))
 22.                       ├─rtables::get_formatted_cells(x)
 23.                       └─rtables::get_formatted_cells(x)
 24.                         ├─base::matrix(...)
 25.                         ├─base::unlist(...)
 26.                         └─base::Map(...)
 27.                           └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
 28.                             └─rtables (local) `<fn>`(val = dots[[1L]][[1L]], spn = dots[[2L]][[1L]], shelli = dots[[3L]][[1L]])
 29.                               └─rtables::format_rcell(...)
 30.                                 └─formatters::format_value(...)
 31.                                   └─base::match.arg(round_type)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'tern_functions_guide.Rmd' failed with diagnostics:
'arg' must be of length 1
--- failed re-building ‘tern_functions_guide.Rmd’

SUMMARY: processing the following files failed:
  ‘missing_values.Rmd’ ‘tables.Rmd’ ‘tern.Rmd’ ‘tern_formats.Rmd’
  ‘tern_functions_guide.Rmd’

Error: Vignette re-building failed.
Execution halted