Skip to content

Conflicting bs_theme version requirements #49

Description

@bryce-carson

The FIXME at the end of the following quote was written because of the issue described thereafter.

MLRMainPanelUI <- function(id) {
ns <- NS(id)
navbarPage(title = NULL,
tabPanel(title = "Data Import",
import_ui(id = ns("dataImport"), from = c("file", "copypaste"))),
tabPanel(title = "MLR",
fluidPage(
fluidRow(uiOutput(ns("linearModelEquations"))),
fluidRow(verbatimTextOutput(ns("linearModelSummary"))),
## NOTE: Ashok didn't ask for these, but they're here.
fluidRow(verbatimTextOutput(ns("linearModelAIC"))),
fluidRow(verbatimTextOutput(ns("linearModelBIC")))
)),
tabPanel(title = "ANOVA",
fluidRow(verbatimTextOutput(ns("linearModelANOVA")))),
tabPanel(title = "Diagnostics",
fluidPage(fluidRow(plotOutput(ns("linearModelRegressionLineAndPoints"))))),
tabPanel(title = "Diagnostic Plots"),
## FIXME: if the version is 5 then import_ui will break! NOTE:
## write a support request on the Posit Shiny subform asking for
## advice. I don't understand why this is this way.
theme = bs_theme(version = 4))
}

If this version is set to 5, or unset (and defaulting to 5), then an error will be produced complaining about a bootstrap component requiring version five. Oddly, it seems to be the import_ui module which requires bootstrap 5, and yet giving it bootstrap 5 causes an issue.

Reproduction of the issue to better describe it is needed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

dependenciesA dependency is missing, broken, or there is a version mismatch, etc.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions