Running examples in ‘crossnma-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: league.crossnma
> ### Title: League Table
> ### Aliases: league.crossnma league print.league.crossnma
> 
> ### ** Examples
> 
> # We conduct a network meta-analysis assuming a random-effects
> # model.
> # The data comes from randomized-controlled trials and
> # non-randomized studies (combined naively)
> head(ipddata) # participant-level data
   id relapse treat design age sex rob unfavored bias.group year
1   1       0     D    rct  22   0 low         1          1 2002
3   1       0     D    rct  37   0 low         1          1 2002
6   1       0     D    rct  34   1 low         1          1 2002
7   1       0     D    rct  38   1 low         1          1 2002
9   1       0     D    rct  31   0 low         1          1 2002
10  1       0     D    rct  38   0 low         1          1 2002
> head(stddata) # study-level data
  id relapse   n treat design  age sex  rob unfavored bias.group year
1  1      19  25     A    rct 34.3 0.2 high         0          1 2010
2  1      11  25     C    rct 34.3 0.3 high         1          1 2010
3  2      97 126     A    rct 30.0 0.4 high         0          1 2015
4  2      89 125     C    rct 30.0 0.5 high         1          1 2015
> 
> # Create a JAGS model
> mod <- crossnma.model(treat, id, relapse, n, design,
+   prt.data = ipddata, std.data = stddata,
+   reference = "A", trt.effect = "random", method.bias = "naive")
Both designs are combined naively without acknowledging design differences
> 
> # Fit JAGS model
> # (suppress warning 'Adaptation incomplete' due to n.adapt = 20)
> fit <-
+   suppressWarnings(crossnma(mod, n.adapt = 20,
+     n.iter = 50, thin = 1, n.chains = 3))
NOTE: Stopping adaptation


> 
> # Create league tables
> league(fit, exp = TRUE)                     #  wide format
Error in `bind_cols()`:
! number of characters is not computable in "bytes" encoding, element 1
Backtrace:
     ▆
  1. ├─crossnma::league(fit, exp = TRUE)
  2. ├─crossnma:::league.crossnma(fit, exp = TRUE)
  3. │ ├─... %>% t()
  4. │ ├─base::suppressMessages(bind_cols(tmp1.list))
  5. │ │ └─base::withCallingHandlers(...)
  6. │ └─dplyr::bind_cols(tmp1.list)
  7. │   ├─dplyr:::fix_call(vec_cbind(!!!dots, .name_repair = .name_repair))
  8. │   │ └─base::withCallingHandlers(...)
  9. │   └─vctrs::vec_cbind(!!!dots, .name_repair = .name_repair)
 10. ├─base::t(.)
 11. ├─dplyr::select(., -starts_with("trt"))
 12. ├─vctrs:::describe_repair(`<chr>`, `<chr>`)
 13. │ └─rlang::names_inform_repair(orig_names, names)
 14. │   └─rlang::inform(message = message, class = "rlib_message_name_repair")
 15. │     ├─base::withRestarts(...)
 16. │     │ └─base (local) withOneRestart(expr, restarts[[1L]])
 17. │     │   └─base (local) doWithOneRestart(return(expr), restart)
 18. │     └─base::signalCondition(cnd)
 19. │       ├─base::conditionMessage(cond)
 20. │       └─rlang:::conditionMessage.rlang_message(cond)
 21. │         └─rlang::cnd_message(c)
 22. │           └─rlang:::cnd_message_format(cnd, ...)
 23. │             └─rlang (local) cli_format(glue_escape(lines))
 24. │               └─rlang:::.rlang_cli_format(x, cli::format_message)
 25. │                 └─cli::cli_format(x, .envir = emptyenv())
 26. │                   └─cli:::fmt(...)
 27. │                     └─cli:::cli__fmt(rec, collapse, strip_newline, app)
 28. │                       ├─base::do.call(app[[msg$type]], msg$args)
 29. │                       └─cli (local) `<fn>`(text = `<named list>`, id = "cli-2553110-114", class = NULL)
 30. │                         └─cli:::clii_bullets(app, text, id, class)
 31. │                           └─base::lapply(...)
 32. │                             └─cli (local) FUN(X[[i]], ...)
 33. │                               └─app$text(text[[i]])
 34. │                                 └─cli:::clii_text(app, text)
 35. │                                   └─app$xtext(text)
 36. │                                     └─cli:::clii__xtext(...)
 37. │                                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
 38. │                                         └─base::lapply(pars, ansi_trimws)
 39. │                                           └─cli (local) FUN(X[[i]], ...)
 40. └─base::.handleSimpleError(...)
 41.   └─dplyr (local) h(simpleError(msg, call))
 42.     └─rlang::cnd_signal(cnd)
Execution halted