I'm deploying an app on a custom server using docker but I keep having a weird error:
In main.r I defined a global variable as
something <<- fread("something.csv")
but when I compile and run the container it returns an error "Object something not found in server.r#84" as soon as I call that variable the first time.
Of course, in RStudio (Windows 10) this does not happen.
Does anybody know what is causing it?