Return all variables in caracas symbol

all_vars(x)

Arguments

x

caracas symbol

Examples

if (has_sympy()){
  x <- vector_sym(5)
  all_vars(x)
}
#> [1] "v1" "v2" "v3" "v4" "v5"