Deploy deploySite("bundles/rmd-site", siteName = "rmd-site-server", render = "server") will fail with the following error
ℹ Creating application on server...
✔ Created application with id 9
ℹ Bundling 74 files: _site/another.html, _site/article.html, _site/index.html, _site/meta.yaml, _site/renv.lock, _site/site_libs/bootstrap-3.3.5/css/bootstrap-theme.css, _site/site_libs/bootstrap-3.3.5/css/bootstrap-theme.css.map, _site/site_libs/bootstrap-3.3.5/css/bootstrap-theme.min.css, _site/site_libs/bootstrap-3.3.5/css/bootstrap.css, _site/site_libs/bootstrap-3.3.5/css/bootstrap.css.map, _site/site_libs/bootstrap-3.3.5/css/bootstrap.min.css, _site/site_libs/bootstrap-3.3.5/css/cerulean.min.css, _site/site_libs/bootstrap-3.3.5/css/cosmo.min.css, _site/site_libs/bootstrap-3.3.5/css/darkly.min.css, _site/site_libs/bootstrap-3.3.5/css/flatly.min.css, _site/site_libs/bootstrap-3.3.5/css/fonts/Lato.ttf, _site/site_libs/bootstrap-3.3.5/css/fonts/LatoBold.ttf, _site/site_libs/bootstrap-3.3.5/css/fonts/LatoItalic.ttf, …, meta.yaml, and renv.lock
ℹ Capturing R dependencies from renv.lock
Error in `parseRenvDependencies()`:
! Library and lockfile are out of sync
ℹ Use renv::restore() or renv::snapshot() to synchronise
ℹ Or ignore the lockfile by adding to you .rscignore
Run `rlang::last_trace()` to see where the error occurred.
Expected results need update:
https://github.com/rstudio/rsconnect/blob/main/tests/manual/dependencies.Rmd is out of date since connect fixed the issue and app deploy won't fail during "Deploying to server" phase
Connect now respects renv locked file and thus deploying to colorado will succeed. https://github.com/rstudio/rsconnect/blob/main/tests/manual/deploySite.Rmd
Steps:
deploySite("bundles/rmd-site", siteName = "rmd-site-server", render = "server")
will fail with the following error