hello it's been a while since I've last used either rmarkdown or rshiny but this is my first time using both together and I seem to be having trouble getting started. I want to create a rmarkdown document but to generate the document the user needs to log on to a odbc source to retrieve the data. This is why I need to use rshiny to have the user input their login credentials. I wrote this basic code to get started but it does not seem to want to work. What am I doing wrong?
---
title: "report"
output: html_document
runtime: shiny
---
```{r startup, echo=FALSE}
library(odbc)
library(DBI)
library(tidyverse)
shiny::textInput(inputId="UserName",
label="User Name",
value="",
placeholder = "User Name"
)
shiny::passwordInput(inputId="password",
label="Password",
placeholder="Userpassword"
)