This looks like a bug. I'm pretty sure that the way you're supplying the prototype is correct. I'd suggest waiting for someone else to weigh in on this and then consider filing an issue on the tidyr repo.
2 Likes