dfe-analytical-services / analysts-guide

A static website to hold guidance, helpful links and code examples for analysts working in DfE.
https://dfe-analytical-services.github.io/analysts-guide/
MIT License
5 stars 3 forks source link

Updating renv snapshot with non-recorded packages (e.g. readxl) #117

Closed rmbielby closed 1 week ago

rmbielby commented 1 week ago

Overview of changes

Basically just re-run renv::snapshot(). Some of the packages seem to have dropped off the renv.lock listing in one of the recent PRs, so the build was failing when it came to functions from those (readxl was the first one it was hitting and stopping it in it's tracks).

Also realised when I created the PR that there's no test build of the site, which has partially contributed to the current issues, so I've added a test build into the workflow. It automatically triggers off any PR going into the main branch and it's run successfully on this one so we can see it's working. Note it's also successfully not published it to GitHub pages, it's only done a test build and then stopped short of publishing it.

Checklist before requesting a review