Closed
Conversation
Member
tomjemmett
commented
Apr 20, 2026
- updates all renv lock files to latest versions
- updates slides to use different leaflet tiles
- adds some better path handling
used the following, repeating the for loop until we succeed
```
install.packages(
'StrategyUnitTheme',
repos = c(
'https://the-strategy-unit.r-universe.dev',
'https://cloud.r-project.org'
)
)
remotes::install_github("hrbrmstr/waffle")
```
old tiles no longer available
here::here will find the renv.lock when run via quarto, giving the incorrect path. but interactively, using the relative path wont work.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates multiple per-post/per-presentation renv.lock files, adjusts leaflet basemap tiles in a geospatial presentation, and tweaks file path resolution for a blog post asset.
Changes:
- Regenerates many
renv.lockfiles (R version + repository + package metadata changes). - Switches leaflet tile provider used in the geospatial presentation examples.
- Adds fallback path handling when reading
sankey_example.rdsin a blog post.
Reviewed changes
Copilot reviewed 2 out of 59 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| presentations/2026-03-12_managing-your-environment/renv.lock | Updates lockfile (R version/repo + renv entry metadata). |
| presentations/2025-12-04_whose_application/renv.lock | Updates lockfile (R version/repo + renv entry metadata). |
| presentations/2025-12-04_multidisciplinary_pipelines/renv.lock | Updates lockfile (R version/repo + renv entry metadata). |
| presentations/2025-11-13_nhsrpysoc-2025-word/renv.lock | Normalizes lockfile formatting + updates R/repo + renv entry metadata. |
| presentations/2025-11-05_case-example/renv.lock | Updates lockfile (R version/repo + renv entry metadata). |
| presentations/2025-09-11_efficient-coding/renv.lock | Updates lockfile dependencies (multiple package version/repo/requirements changes). |
| presentations/2025-09-04_demand-presentation/renv.lock | Updates lockfile (R version/repo + renv entry metadata). |
| presentations/2025-03-13_sconn-r-pkg-databricks/renv.lock | Normalizes lockfile formatting + updates R/repo + renv entry metadata. |
| presentations/2025-02-27_word-not-quarto/renv.lock | Normalizes lockfile formatting + updates R/repo + renv entry metadata. |
| presentations/2025-02-27_nhp-deployment/renv.lock | Normalizes lockfile formatting + updates R/repo + renv entry metadata. |
| presentations/2025-01-16_c-and-c-databricks/renv.lock | Normalizes lockfile formatting + updates R/repo + renv entry metadata. |
| presentations/2024-12-04_what-the-heck/renv.lock | Normalizes lockfile formatting + updates R/repo + renv entry metadata. |
| presentations/2024-12-02_dhsc/renv.lock | Normalizes lockfile formatting + updates R/repo + renv entry metadata. |
| presentations/2024-11-27_text-mining/renv.lock | Normalizes lockfile formatting + updates R/repo + renv entry metadata. |
| presentations/2024-11-26_text-mining-yh/renv.lock | Normalizes lockfile formatting + updates R/repo + renv entry metadata. |
| presentations/2024-11-21_agile_project_management/renv.lock | Normalizes lockfile formatting + updates R/repo + renv entry metadata. |
| presentations/2024-10-10_what-is-ai-yiwen/renv.lock | Normalizes lockfile formatting + updates R/repo + renv entry metadata. |
| presentations/2024-10-10_what-is-ai-matt/renv.lock | Normalizes lockfile formatting + updates R/repo + renv entry metadata. |
| presentations/2024-10-09-rap-cautionary-tales/renv.lock | Normalizes lockfile formatting + updates R/repo + renv entry metadata. |
| presentations/2024-09-05_earl-nhp/renv.lock | Normalizes lockfile formatting + updates R/repo + renv entry metadata. |
| presentations/2024-08-22_agile-and-scrum/renv.lock | Normalizes lockfile formatting + updates R/repo + renv entry metadata. |
| presentations/2023-08-24_coffee-and-coding_geospatial/index.qmd | Switches leaflet provider tiles + minor code formatting adjustments. |
| presentations/2023-05-15_text-mining/renv.lock | Regenerates lockfile with newer R + condensed package metadata. |
| blogs/posts/2024-12-04-gha-branch-preview/renv.lock | Regenerates lockfile with newer R + expanded dependency set. |
| blogs/posts/2024-11-29-mapping-my-r-learning/renv.lock | Regenerates lockfile with newer R + expanded dependency set. |
| blogs/posts/2024-11-12_coffee-coding-github-planner/renv.lock | Regenerates lockfile with newer R + expanded dependency set. |
| blogs/posts/2024-02-28_sankey_plot/index.qmd | Adds fallback path resolution for sankey_example.rds + formatting changes. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
123
to
127
| invite_outcome = sample( | ||
| x = c("Accepted", "Declined", "No response"), | ||
| size = rows, replace = T | ||
| size = rows, | ||
| replace = T | ||
| ) |
| path <- "sankey_example.rds" | ||
|
|
||
| if (!file.exists(path)) { | ||
| path <- here::here("blogs/posts/2024-02-28_sankey_plot/sankey_example.rds") |
Comment on lines
116
to
120
| invite_1_date = sample( | ||
| seq(start_date, end_date, by = "day"), | ||
| size = rows, replace = T | ||
| size = rows, | ||
| replace = T | ||
| ), |
|
removes need for presentations/index.qmd to have it's own renv.lock by utilising .renvignore better
Member
Author
|
converting back to draft - might replace this PR with a different approach (eliminate renv) |
Member
Author
|
closing in favour of #436 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.