I developed my R code on my local computer. In my code, I mainly use swmmr package to run SWMM (stormwater management model) and further analysis related to the model outputs. To do that, I have used multiple packages (dplyr, shiny, leaflet, xts, zoo, ...). Everything is fine when I use my local computer and I can run my code from first to last and it works properly.
Now, I decided to move all my codes to AWS EC2 cloud. Because I need to run my code every one hour. I had some difficulties with this transformation, but I could solve most of them.
However, somewhere in my code, when I use the read_out() function from swmmr package, I get some warnings about masking some functions from other packages (attached figure) and my studio in AWS server crash.
Why does RStudio in AWS crash when I use this function? All other functions in this package works for me, just this function which I really need to use is not working and making the crash in Rstudio. As I said, it works properly in Rstudio on my local computer.
Any idea about fixing this problem would be appreciated.