Hi all,
so recently I've heated the wall... Everything is working on my local machine, also when shinyapp is dockerized and run as a docker. Only when deploying the app on the shinyapp.io server I am getting "Error: C stack usage is too close to the limit" message without any further errors.
I've managed to identify which line of code is producing an error.
`3D_Generate_RunUP` <- function(id,
i, j) {
moduleServer(
id,
function(input, output, session) {
Data_Segments <- Load_Data_Segments(
paste0(getwd(), "/Data/", Publication_Name[i], "/Raw/", sep = ""),
i,
j
)
Data_Points <- Load_Data_Points(
paste0(getwd(), "/Data/", Publication_Name[i], "/Raw/", sep = ""),
i,
j
)
# This is the line that cosing an error
df <- Data_Segments %>% filter_at(
vars(starts_with(SELECT)),
any_vars(. > 0))
df_segments <- df %>% select("Segment ID", starts_with(SELECT), "Point IDs")
}
)
}
Is anyone may know what could be the problem, and why it only shows up on the shinyapp.io?