Skip to content

Install primer.tutorials from its own repo (PPBDS/primer.tutorials)#18

Merged
davidkane9 merged 1 commit into
mainfrom
primer-tutorials-split
Jul 7, 2026
Merged

Install primer.tutorials from its own repo (PPBDS/primer.tutorials)#18
davidkane9 merged 1 commit into
mainfrom
primer-tutorials-split

Conversation

@davidkane9

Copy link
Copy Markdown
Contributor

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

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>
Copilot AI review requested due to automatic review settings July 7, 2026 19:24
@davidkane9
davidkane9 merged commit b3ef5cd into main Jul 7, 2026
1 check passed
@davidkane9
davidkane9 deleted the primer-tutorials-split branch July 7, 2026 19:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 from PPBDS/primer/primer.tutorials to PPBDS/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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants