You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have moved some of the dependencies into Suggest but I think it was not a good call. As a result, when deploying an app that uses tmg modules, rsconnect is not able to identify app dependencies completely (it would not include package suggests). App developer needs to add explicit library calls into the app code but first of all he need to be aware of it (which is not very obvious). This is something we would like to avoid and keep the entry bar relatively low.
The trick about keeping dependencies in Suggests is not necessarily wrong but it has to be used only for soft dependencies so that the code is fully functional without a package. Great example can be found here. Here, we always calling stop() which indicates a hard dependency.
In order to fix it - let's move it back to be a hard dependency or make it a truly soft one.
As a direct consequence of this we have issues in teal.gallery and we had to add a lot of explicit library calls. Once fixed, please remove those.
The text was updated successfully, but these errors were encountered:
We have moved some of the dependencies into Suggest but I think it was not a good call. As a result, when deploying an app that uses tmg modules,
rsconnect
is not able to identify app dependencies completely (it would not include package suggests). App developer needs to add explicit library calls into the app code but first of all he need to be aware of it (which is not very obvious). This is something we would like to avoid and keep the entry bar relatively low.The trick about keeping dependencies in Suggests is not necessarily wrong but it has to be used only for soft dependencies so that the code is fully functional without a package. Great example can be found here. Here, we always calling
stop()
which indicates a hard dependency.In order to fix it - let's move it back to be a hard dependency or make it a truly soft one.
As a direct consequence of this we have issues in
teal.gallery
and we had to add a lot of explicit library calls. Once fixed, please remove those.The text was updated successfully, but these errors were encountered: