shorten_condition(c("{a=1,b=100,c=3}", "{a=2}", "{b=100,c=3}"),
method = "letters")
shorten_condition(c("{helloWorld=1}", "{helloWorld=2}", "{c=3,helloWorld=1}"),
method = "abbrev4")
shorten_condition(c("{helloWorld=1}", "{helloWorld=2}", "{c=3,helloWorld=1}"),
method = "abbrev8")
shorten_condition(c("{helloWorld=1}", "{helloWorld=2}"),
method = "none")
Run the code above in your browser using DataLab