Hello! I updated R from version 4.3.3 to 4.4.2, and installed a few packages from CRAN in RStudio (using Tools -> Install packages), and I haven't been able to use shiny at all. Sometimes the rsession aborts before the shiny window opens (or launches in browser), sometimes after closing it; sometimes while creating a very simple ui function, though not always, even for the same ui function. The same thing happens for the "01_hello" example.
library(shiny)
ui <- fluidPage(
titlePanel("Hello"),
sidebarLayout(
sidebarPanel(
div(h4("Trying stuff"))
),
mainPanel(
div(h4("And things"))
)
)
)
server <- function(input, output){}
shinyApp(ui, server)
I still have the previous version of R and its library, so I tried different combinations of all of them: shiny works on both versions of R with the old library, but doesn't work on either version of R with the new library. I assume it's some type of incompatibility between packages versions, but I don't know which. I tried downgrading only shiny and it didn't work.
I've been closing RStudio in between each step, and I've also deleted any .RData files just in case.
If the idea is to downgrade packages, any suggestions as to where to start trying? I'll be using the older version in the meantime, but I'd like to use the newer versions eventually. This might not be an issue with shiny itself but something else breaking shiny, but I don't know how to go about it.
Thank you in advance. This is devtools::session_info()
after loading library(shiny)
but before running any code, because I don't know when the session will abort:
β Session info ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
setting value
version R version 4.4.2 (2024-10-31 ucrt)
os Windows 10 x64 (build 19045)
system x86_64, mingw32
ui RStudio
language (EN)
collate English_United Kingdom.utf8
ctype English_United Kingdom.utf8
tz America/New_York
date 2025-02-20
rstudio 2024.12.1+563 Kousa Dogwood (desktop)
pandoc NA
quarto ERROR: Unknown command "TMPDIR=C:/Users/myname/AppData/Local/Temp/Rtmp0YD5WP/filec5c2fbf730f". Did you mean command "uninstall"? @ C:\\PROGRA~1\\RStudio\\RESOUR~1\\app\\bin\\quarto\\bin\\quarto.exe
β Packages ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
package * version date (UTC) lib source
cachem 1.1.0 2024-05-16 [1] CRAN (R 4.4.2)
cli 3.6.4 2025-02-13 [1] CRAN (R 4.4.2)
devtools 2.4.5 2022-10-11 [1] CRAN (R 4.4.2)
digest 0.6.37 2024-08-19 [1] CRAN (R 4.4.2)
ellipsis 0.3.2 2021-04-29 [1] CRAN (R 4.4.2)
fastmap 1.2.0 2024-05-15 [1] CRAN (R 4.4.2)
fs 1.6.5 2024-10-30 [1] CRAN (R 4.4.2)
glue 1.8.0 2024-09-30 [1] CRAN (R 4.4.2)
htmltools 0.5.8.1 2024-04-04 [1] CRAN (R 4.4.2)
htmlwidgets 1.6.4 2023-12-06 [1] CRAN (R 4.4.2)
httpuv 1.6.15 2024-03-26 [1] CRAN (R 4.4.2)
later 1.4.1 2024-11-27 [1] CRAN (R 4.4.2)
lifecycle 1.0.4 2023-11-07 [1] CRAN (R 4.4.2)
magrittr 2.0.3 2022-03-30 [1] CRAN (R 4.4.2)
memoise 2.0.1 2021-11-26 [1] CRAN (R 4.4.2)
mime 0.12 2021-09-28 [1] CRAN (R 4.4.0)
miniUI 0.1.1.1 2018-05-18 [1] CRAN (R 4.4.2)
pkgbuild 1.4.6 2025-01-16 [1] CRAN (R 4.4.2)
pkgload 1.4.0 2024-06-28 [1] CRAN (R 4.4.2)
profvis 0.4.0 2024-09-20 [1] CRAN (R 4.4.2)
promises 1.3.2 2024-11-28 [1] CRAN (R 4.4.2)
purrr 1.0.4 2025-02-05 [1] CRAN (R 4.4.2)
R6 2.6.1 2025-02-15 [1] CRAN (R 4.4.2)
Rcpp 1.0.14 2025-01-12 [1] CRAN (R 4.4.2)
remotes 2.5.0 2024-03-17 [1] CRAN (R 4.4.2)
rlang 1.1.5 2025-01-17 [1] CRAN (R 4.4.2)
rstudioapi 0.17.1 2024-10-22 [1] CRAN (R 4.4.2)
sessioninfo 1.2.3 2025-02-05 [1] CRAN (R 4.4.2)
shiny 1.10.0 2024-12-14 [1] CRAN (R 4.4.2)
urlchecker 1.0.1 2021-11-30 [1] CRAN (R 4.4.2)
usethis 3.1.0 2024-11-26 [1] CRAN (R 4.4.2)
vctrs 0.6.5 2023-12-01 [1] CRAN (R 4.4.2)
xtable 1.8-4 2019-04-21 [1] CRAN (R 4.4.2)
[1] C:/Users/myname/AppData/Local/R/win-library/4.4
[2] C:/Program Files/R/R-4.4.2/library
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Warning message:
In system2("quarto", "-V", stdout = TRUE, env = paste0("TMPDIR=", :
running command '"quarto" TMPDIR=C:/Users/myname/AppData/Local/Temp/Rtmp0YD5WP/filec5c2fbf730f -V' had status 1
PS: I realize there's an error and warning regarding quarto, which is a library I don't have, but I believe that's devtools looking for a version of something that doesn't exist, maybe? Couldn't find much info about that.