My shiny app.R calls an Rmd file, passes data and generates an html report.
I can run SUCCESSFULLY locally on my Windows 64 bit desktop as
(1) an app.R and
(2) knit - Rmd file.
The install on shinyApps.io goes smoothly. I can run the app but it fails.
Here is the short summary from rsconnect::showLogs:
2020-02-11T01:36:53.621107+00:00 shinyapps[1791014]:
label: getglance2 (with options)
Quitting from lines 890-900 (FastRnD_beta_v_0.Rmd)
Warning: Error in : Can't subset columns that don't exist.
✖ The column adjRsq
doesn't exist.
Here is the offending code:
# show_glance = dplyr::select(glance_all_models, responses, r.squared, adj.r.squared, std_dev, F_stat, p.value , df , df.residual ) ## ERROR HERE 2.9.2020 already unnested. line below is corrected line
show_glance = dplyr::select( result_summary_gl_td_aug , responses , rsq , adjRsq , std_dev , F_stat , p_value )
#"R_sq" = r.squared , "adj_R_sq" = adj.r.squared , "std_dev" = sigma , "F_value" = statistic , p.value )
I am running R version 3.6.2 (2019-12-12) using R Studio Version 1.2.5033
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1