Did you already called a library(flexdashboard)
in your document ?
A reprex with code could help
(FAQ: What's a reproducible example (`reprex`) and how do I do one?)
Libraries should be installed then loaded when you need them.
Otherwise, you can asked only for the funciton using flexdashboard::valueBox()