Hi all,
I have an issue with my shiny app created with rhino framework.
It works fine locally, but deployed version return error:
Warning: Error in predict.xgb.Booster: Feature names stored in object
and newdata
are different!
Does anyone have an idea what to check first? As I said, it works locally, I printed the "new_data" and cant see any differences.
these are the libs I load in the module:
box::use(
bsicons[bs_icon],
bslib[value_box],
dplyr[case_when, filter, select],
ggplot2[element_blank, element_text, ggplot, labs, scale_x_continuous, theme_minimal, theme],
htmltools[HTML],
parsnip,
purrr[pluck],
recipes,
shapviz[shapviz, sv_waterfall],
shiny[actionButton, h3, HTML, icon, moduleServer, numericInput, NS, observe, observeEvent, plotOutput, reactive, renderPlot, renderText, selectInput, tags, tagList, textOutput],
shinydashboard[renderValueBox, valueBox, valueBoxOutput],
shinyWidgets[pickerInput],
showtext[showtext_auto],
stats[predict],
sysfonts[font_add_google],
tidymodels,
tune[extract_fit_engine],
)