@andrepoorman I see.
I have a big problem with code that has a ton of library statements for the exact reason you have encountered. All functions (other than maybe shiny, shinydashboard) should be explicitly referenced using the package namespace, eg plotly::add_lines
Anyway, I cloned the repo, but can't install the package aligne2. Its not available for my version of R (3.6.1 ). And i can't find documentation on the web. Could you find anything?
Saying that, i see the function you are referring to in the helper file. I still think this function is a user defined function that wasn't included in the repo. I see you made an issue in the developers repo. I was going to suggest that!
It looks like expandDates it is calculating some sort of time increment. I wonder if you can just take (end-start)/365 and see if the app behaves.
Good luck