.Rbuildignore: keep internal directories out of the package tarball - #113
Merged
NewGraphEnvironment merged 5 commits intoOct 1, 2026
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GignjoKpZADXywTf6pAMgj
.Rbuildignore held six scaffold lines, so R CMD build shipped planning/, scripts/, data-raw/, dev/, logs/, .claude/, CLAUDE.md, CITATION.cff and .lintr into every install. Add an anchored pattern for each, plus data/ (gitignored working data, no datasets) and research/ (pre-emptive). Fixes #100 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GignjoKpZADXywTf6pAMgj
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GignjoKpZADXywTf6pAMgj
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GignjoKpZADXywTf6pAMgj
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GignjoKpZADXywTf6pAMgj
NewGraphEnvironment
deleted the
100-rbuildignore-planning-claude-md-scripts
branch
October 1, 2026 13:49
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.
Summary
.Rbuildignorepattern forCLAUDE.md,planning/,scripts/,data-raw/,dev/,logs/,.claude/,.lintr,CITATION.cff,data/(gitignored working data, no datasets) andresearch/(pre-emptive).DESCRIPTION NAMESPACE NEWS.md README.md LICENSE R man tests inst vignettesremain.R CMD checkgoes from 5 NOTEs to 2. Hidden files, portable file names and the non-standardCITATION.cffare gone; the 2 left predate this work and are filed as R CMD check: two standing NOTEs (unused sf import, .data/.env globals) #111.Fixes #100
Related Issues
sf/.dataNOTEs), inst/extdata/context_kotl.gpkg (4.9 MB) ships but nothing reads it #112 (inst/extdata/context_kotl.gpkg, 4.9 MB, which nothing reads)Test plan
R CMD build --no-build-vignettes --no-manualon clean before/after copies, verified withtar tzf(not by reading the file). A build from the real working tree, untracked and ignored files included, gives the identical listing.R CMD check --no-manual --ignore-vignetteson both tarballs: tests pass, 5 → 2 NOTEs (_R_CHECK_FORCE_SUGGESTS_=false, because Suggestsaws.s3andecmwfrare not installed locally).tools:::inRbuildignore(): each pattern matches only its own top-level entry, and nothing underR/ man/ tests/ inst/ vignettes/is touched./code-check: 3 rounds, all Clean. They checked regex syntax, every consumer of the built package (system.file(),local::.installs in CI, pkgdown), and that nothing internal still ships.Notes
/gh-pr-merge's shipped-change gate builds its pathspec from.Rbuildignore. Overv0.5.6..HEADit now reads the CLAUDE.md sync and the CITATION.cff bot commit as non-shipped; before this change it listed them.planning/archive/2026-10-issue-100-rbuildignore/.🤖 Generated with Claude Code
https://claude.ai/code/session_01GignjoKpZADXywTf6pAMgj