Install primer.tutorials from its own repo (PPBDS/primer.tutorials)#18
Merged
Conversation
The package was split out of PPBDS/primer: the subdir install downloaded the full ~183 MB primer tarball (book, class exercises) to deliver a ~4 MB package, at every image build and every Codespace create. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Updates the devcontainer image’s baked-in R course package install to pull primer.tutorials from its own dedicated GitHub repository instead of installing from a subdirectory of PPBDS/primer, avoiding unnecessary large source downloads during builds and Codespace refreshes.
Changes:
- Switch
pak::pkg_install()entry fromPPBDS/primer/primer.tutorialstoPPBDS/primer.tutorials. - Update Dockerfile and CLAUDE.md documentation to reflect the repository split and to discourage reverting to the subdir install path.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| Dockerfile | Installs primer.tutorials directly from PPBDS/primer.tutorials and updates the surrounding rationale comment. |
| CLAUDE.md | Updates the “course packages” documentation to match the new install source and rationale. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
The package was split out of PPBDS/primer: as a subdir install, every image build and every Codespace create downloaded the full ~183 MB primer tarball (book, class exercises) to deliver a ~4 MB package. Now a plain
pak::pkg_install("PPBDS/primer.tutorials"), matching the other three tutorial packages.Validation build green (installs from the new repo; tutorials-discoverable smoke test passes): https://github.com/PPBDS/devcontainers/actions/runs/28891899623
🤖 Generated with Claude Code