MUCollective / multiverse

R package for creating explorable multiverse analysis
https://mucollective.github.io/multiverse/
GNU General Public License v3.0
62 stars 5 forks source link

Allow unnamed options in branches #1

Closed mjskay closed 5 years ago

mjskay commented 5 years ago

Unnamed options in branches should automatically be given names according to their values.

For example:

branch(
  some_option,
    0,
    3,
    "abc",
    x + 5
)

Should be equivalent to:

branch(
  trim,
    0 ~ 0,
    3 ~ 3,
    "abc" ~ "abc",
    "x + 5" ~ x + 5
)

That is: