R/app_ui.R

Defines functions app_ui

Documented in app_ui

#' main app ui
#'
#' @return shiny ui
#' @export
#'
app_ui <- function(){
  shiny::fluidPage(
    shiny::h3('Minimal reprex of image issue'),
	
    shiny::wellPanel(
	  shiny::p("Here is an image - meant to show"),
      shiny::tags$img(src = "assets/logoexample.png"),
	  shiny::numericInput(inputId = "n_", "Sample size for normal distribution",
                          min = 1, max = 100000, value = 100)
    ),
	
    shiny::mainPanel(
	  shiny::p("That same image, but rendered on a plot with magick is fine"),
      shiny::plotOutput('plot1')
    )
	
  )
}
mcmcapewell/eS-image-issue-reprex documentation built on Dec. 21, 2021, 3:59 p.m.