-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to publish a Shiny app with a custom description #947
Comments
Are you sure it's not the |
Hi Hadley (thanks for all the R packages by the way!)
Publish command (note, I'm updating an existing app here):
Result: I can't currently upgrade for normal usage to rsconnect v1.0.1 for my main projects due to renv issues ( #926 ), but I tested it with v1.0.1 on a throwaway 'Old Faithful Geyser' demo app that doesn't have an renv lock file, and the
Result: So it seems like if you supply In neither case did the description field get updated - it just shows 'Click here to edit description' in Connect, so it's presumably blank in the database. Apologies if this has been fixed in Connect - I'm not able to upgrade quite yet. |
I may be missing something, but it appears that the rsconnect package's
deployApp()
function doesn't seem to support setting a custom description for a Shiny app. The parameters available are currently:But to change the description, it seems I need to either interact with the API directly (
PATCH /v1/content/{guid}
), or use theconnectapi
package's content_update() function.This seems a bit of an oversight in this package, since most users don't have an API key. However, the same users are able to update the app description from the Posit Connect GUI.
I tried using
appTitle
but it doesn't seem to map the description field. Themetadata
field isn't as useful, since it's only stored in the local.dcf
file, and not on the server side. It also would be great if we could set arbitrary key/value pairs on the server side!My use case is publishing Shiny apps to Posit Connect, and documenting aspects of the deployment (
config
configuration name, Git commit ID, date, time, user, etc.) alongside the deployed app. The description field is the only place that seems suitable.Thanks.
The text was updated successfully, but these errors were encountered: