rstudio / rsconnect

Publish Shiny Applications, RMarkdown Documents, Jupyter Notebooks, Plumber APIs, and more
http://rstudio.github.io/rsconnect/
131 stars 80 forks source link

support using renv for generating deployment bundles #471

Closed kevinushey closed 1 year ago

kevinushey commented 3 years ago

We should allow users to opt-in to using renv when generating deployment bundles to be used in publishing scenarios.

To ease the transition, we would first implement what is necessary in renv to generate a compatible Packrat lockfile, so that the existing publication workflows continue to "just work". This would allow users to reap the benefits of using renv for deployments, even with Packrat running in the backend.

Eventually, in the future, the backend could also support deployments using an renv lockfile, but that's considerably more work.

jmcphers commented 3 years ago

See also https://github.com/rstudio/rsconnect/issues/404.

hadley commented 1 year ago

Closing as duplicate of #404.