Hello @Pugmartin
you are correct, the example is broken in at least two ways. Firstly it doesn't compile and secondly a statement is missing.
I had success compiling using the example here.
To fix the crash it needs a small fix in setup() - add this line before relay.init(0):
relay.begin(); // new line relay.init(0); // existing lineThanks
Felix