Thanks Matt. None of it is working though.
I even simplified the app a step further linking directly from the ui function but no luck.
library(shiny)
library(htmltools)
library(shiny)
ui <- fluidPage(
shiny::a("one",target="_blank", href="www/someFile.pdf"),
br(),
htmltools::HTML('<a href=www/someFile.pdf>two</a>'),
br(),
htmltools::a(href = 'www/someFile.pdf', 'three'),
)
server <- function(input, output) {}
shinyApp(ui, server)
My project folder contains:
dummy_app.Rproj
app.R
www/someFile.pdf
Still get a "Not found" error message in the browser for all links when clicked. 