Call to render() fails but RStudio Knit button produces pdf

I don't have a solution but it looks like this might be related to:

Note specifically the mention of: