Flexdashboard and Bootswatch throwing error

I get the following error

Error in match.arg(theme, themes()) : 'arg' must be NULL or a character vector

when using the code specified on Theming flexdashboard • flexdashboard

version: 4
bootswatch: lux

It appears to be having an issue with nothing coming directly after theme: in yaml, but I have tried a few iterations and the code doesn't run at all. Seeing as this is the version specified on the flexdashboard/theme site I don't know what's happening for me?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.