Hi, unfortunately this post will be a little frustrating as I can't create a reproducable example so I'm just looking for any advice and if anyone else is experiencing the same thing.
I am using about 200 lines of code, placed before the UI function, to generate some data frames and variables that are being referenced later on by the server and UI. The end lines are being used to generate some variables to subset the data frame by the user later on.
However when hitting "Run App" these lines aren't being run. All the functions being used are from base R - things such as grep and as.character - and are working as intended in the lines above. If I add a line after the final line such as:
rm(main.dataframe)
then that line does get run and the app errors like you'd expect. If I load these lines before I run the app the variables generate without any problems and the app works as it should.
Has anyone had any similar experiences? Feel free to ask for more info, I appreciate this is annoyingly vague but I can't recreate this anywhere and I obviously can't post the entire app online.
Thanks!