You can try manually downloading the font on top of https, which also supports Google Fonts.
ui = bootstrapPage(
tags$link(
rel = "stylesheet",
href="https://fonts.googleapis.com/css?family=Source+Code+Pro"
),
tags$style("h1{font-family: 'Source Code Pro'}"),
tags$h1("Test Font"),
numericInput('n', 'Number of obs', 100),
plotOutput('plot')
)
source
share