posit-dev / publisher

MIT License
3 stars 0 forks source link

Removing renv::snapshot from deploy tests #1862

Closed kgartland-rstudio closed 6 days ago

kgartland-rstudio commented 6 days ago

Intent

The deploy tests started failing this week due to running renv::snapshot() prior to deploying. This PR removes the snapshot and uses renv::restore(). The fix was to add deps.R files that load any missing libraries in our content repo.

The nightly tests are passing against this branch here: https://github.com/posit-dev/publisher/actions/runs/9648233701

Type of Change

Approach

Automated Tests

Directions for Reviewers

Checklist