Running examples in 'sjstats-Ex.R' failed
The error most likely occurred in:

> ### Name: prop
> ### Title: Proportions of values in a vector
> ### Aliases: prop props
> 
> ### ** Examples
> 
> data(efc)
> 
> # proportion of value 1 in e42dep
> prop(efc, e42dep == 1)
[1] 0.0733
> 
> # expression may also be completely quoted
> prop(efc, "e42dep == 1")
[1] 0.0733
> 
> # use "props()" for multiple logical statements
> props(efc, e17age > 70 & e17age < 80)
[1] 0.3199
> 
> # proportion of value 1 in e42dep, and all values greater
> # than 2 in e42dep, including missing values. will return a data frame
> prop(efc, e42dep == 1, e42dep > 2, na.rm = FALSE)
  condition   prop
1 e42dep==1 0.0727
2  e42dep>2 0.6718
> 
> # for factors or character vectors, use quoted or unquoted values
> library(sjmisc)
> # convert numeric to factor, using labels as factor levels
> efc$e16sex <- to_label(efc$e16sex)
> efc$n4pstu <- to_label(efc$n4pstu)
> 
> # get proportion of female older persons
> prop(efc, e16sex == female)
[1] 0.6715
> 
> # get proportion of male older persons
> prop(efc, e16sex == "male")
[1] 0.3285
> 
> # "props()" needs quotes around non-numeric factor levels
> props(efc,
+   e17age > 70 & e17age < 80,
+   n4pstu == 'Care Level 1' | n4pstu == 'Care Level 3'
+ )
                              condition   prop
1                   e17age>70&e17age<80 0.3199
2 n4pstu==CareLevel1|n4pstu==CareLevel3 0.3137
> 
> # also works with pipe-chains
> library(dplyr)

Attaching package: 'dplyr'

The following objects are masked from 'package:stats':

    filter, lag

The following objects are masked from 'package:base':

    intersect, setdiff, setequal, union

> efc %>% prop(e17age > 70)
[1] 0.8092
> efc %>% prop(e17age > 70, e16sex == 1)
  condition   prop
1 e17age>70 0.8092
2 e16sex==1 0.0000
> 
> # and with group_by
> efc %>%
+   group_by(e16sex) %>%
+   prop(e42dep > 2)
  elder's gender e42dep>2
1           male   0.6847
2         female   0.6744
> 
> efc %>%
+   select(e42dep, c161sex, c172code, e16sex) %>%
+   group_by(c161sex, c172code) %>%
+   prop(e42dep > 2, e16sex == 1)
Error in `dplyr::bind_cols()`:
! number of characters is not computable in "bytes" encoding, element 1
Backtrace:
     ▆
  1. ├─... %>% prop(e42dep > 2, e16sex == 1)
  2. ├─sjstats::prop(., e42dep > 2, e16sex == 1)
  3. │ └─sjstats:::proportions(...)
  4. │   └─... %>% dplyr::bind_cols(reihenfolge)
  5. ├─dplyr::bind_cols(., reihenfolge)
  6. │ ├─dplyr:::fix_call(vec_cbind(!!!dots, .name_repair = .name_repair))
  7. │ │ └─base::withCallingHandlers(...)
  8. │ └─vctrs::vec_cbind(!!!dots, .name_repair = .name_repair)
  9. ├─vctrs:::describe_repair(`<chr>`, `<chr>`)
 10. │ └─rlang::names_inform_repair(orig_names, names)
 11. │   └─rlang::inform(message = message, class = "rlib_message_name_repair")
 12. │     ├─base::withRestarts(...)
 13. │     │ └─base (local) withOneRestart(expr, restarts[[1L]])
 14. │     │   └─base (local) doWithOneRestart(return(expr), restart)
 15. │     └─base::signalCondition(cnd)
 16. │       ├─base::conditionMessage(cond)
 17. │       └─rlang:::conditionMessage.rlang_message(cond)
 18. │         └─rlang::cnd_message(c)
 19. │           └─rlang:::cnd_message_format(cnd, ...)
 20. │             └─rlang (local) cli_format(glue_escape(lines))
 21. │               └─rlang:::.rlang_cli_format(x, cli::format_message)
 22. │                 └─cli::cli_format(x, .envir = emptyenv())
 23. │                   └─cli:::fmt(...)
 24. │                     └─cli:::cli__fmt(rec, collapse, strip_newline, app)
 25. │                       ├─base::do.call(app[[msg$type]], msg$args)
 26. │                       └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-35", class = NULL)
 27. │                         └─cli:::clii_bullets(app, text, id, class)
 28. │                           └─base::lapply(...)
 29. │                             └─cli (local) FUN(X[[i]], ...)
 30. │                               └─app$text(text[[i]])
 31. │                                 └─cli:::clii_text(app, text)
 32. │                                   └─app$xtext(text)
 33. │                                     └─cli:::clii__xtext(...)
 34. │                                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
 35. │                                         └─base::lapply(pars, ansi_trimws)
 36. │                                           └─cli (local) FUN(X[[i]], ...)
 37. └─base::.handleSimpleError(...)
 38.   └─dplyr (local) h(simpleError(msg, call))
 39.     └─rlang::cnd_signal(cnd)
Execution halted