I have a flexdashboard Rmd that renders correctly when i press the Knit button in RStudio. I would like to render it from the command line but the naviagation bar does change when I use the command render("myfile.rmd", flex_dashboard())
The heading of my Rmd file is the following:
---
title: "Flexdashboard"
output:
flexdashboard::flex_dashboard:
theme: cosmo
navbar:
- { title: "Draft-For Internal Use Only", align: right }
source_code: embed
---