I am developing an internal package in my company that needs to be used in RStudio Connect. For this reason, I ended up creating a custom package repository following this link. The package repository is both available in RStudio Server and Connect and I had no issues installing it from source for the first time in my app.
The problem appeared when I tried to reinstall the same package (with exactly the same version) after a minor update on it. In RStudio the package is updated to its latest version, but when I ran the app I can see that the js assets that I modified are exactly as before. I experienced the same issue after changing R functions.
My assumption is that RStudio Connect is not reinstalling the package on deployment because it does not see any difference in the package version. Is that right? If so, is there a way to force RSC to reinstall from source the package on deployment?