I have the following code for a shiny app generating a navbarPage
library(shiny)
library(shinythemes)
ui <- navbarPage(
title = "Report", theme = shinytheme("cerulean"),
tabPanel("About"),
tabPanel(
"Plots",
fluidPage(
tabsetPanel(
type = "pills",
tabPanel("A"),
tabPanel(
"B",
sidebarLayout(
sidebarPanel(h4("Checkbox"),
checkboxInput("total", label = "total"),
uiOutput("conditionalInput"),
width = 3
),
mainPanel(
tabsetPanel(
tabPanel("a"),
tabPanel("b"),
tabPanel("c"),
tabPanel("d"),
tabPanel("e")
)
)
)
)
)
)
)
)
server <- function(input, output) {
output$conditionalInput <- renderUI({
if (input$total == FALSE) {
checkboxGroupInput("verticais",
label = "",
choices = list(
"1.1" = 1,
"1.2" = 2,
"1.3" = 3,
"1.4" = 4,
"1.5" = 5,
"1.6" = 6,
"1.7" = 7,
"1.8" = 8
),
selected = c(1:8), inline = FALSE
)
}
})
}
# Run the application
shinyApp(ui = ui, server = server)
Which produces this output
However, for layout purposes, I want to put a logo on the far right side of the window (near where the publish button is). I tried what is described in this question with no success.
Therefore, I want to know if there is another workaround to solve my problem.
Note that I have the image files on the correct www folder