Closed Polkas closed 1 year ago
I will be glad if you even simply say that you do not want to support it and close the issue. Thanks for any respond.
Could you clarify where you are attempting to deploy to and what role your internal package provides?
rsconnect is assuming that if the package is identified in the project code locally than the package will be required when the code is deployed. The error attempts to help users fail fast in this scenario, as opposed to deploying code that will not run.
The main objective is to publish the app on the corporate server where we have own CRAN. Then we attaching packages by expanding .libPaths()
. So the deployment takes only 30 seconds not 10 minutes. Moreover with this step (own CRAN) we are sure about the reproducibility of our own projects. This is an option already inside packrat so the question is if you want to offer sth which is already there.
I think we're mostly likely to support this via #471
This issue was already stated on the stack overflow. During deployment, manifest generator should allow (packrat) to ignore the existence of any selected local packages. This is an option in packrat, but rsconnect does not expose this option.
The solution provided by Soren Havelund Welling was suggesting to update the PackratSnapshot() function to allow for this functionality.
I will be very glad if you offer such functionality or provide response why you do not want support it.
Stack overflow question: https://stackoverflow.com/questions/53006625/rstudio-connect-packrat-and-custom-packages-in-local-repos
Thanks