Skip to content

Commit fc8544f

Browse files
ehrlingerclaude
andauthored
fix: .Rbuildignore excludes stray Rplots.pdf (top-level NOTE) (#135)
R CMD check flagged a non-standard top-level file `Rplots.pdf`. It's a default-device artefact created when a plot is drawn with no open device (interactive smoke-tests, testthat runs). It's already gitignored but was not build-ignored, so R CMD build copied it into the tarball. Add an unanchored `Rplots\.pdf$` rule so the artefact is excluded from the tarball at the root or under tests/ regardless of who left one behind. Verified: with strays present at both locations, the built tarball contains no Rplots.pdf. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 76841b7 commit fc8544f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.Rbuildignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,6 @@ framed.sty
5454
^vignettes/\.quarto$
5555
^vignettes/.*_files$
5656
^vignettes/.*\.html$
57+
# Stray default-device plot artefact (created by plotting with no open device),
58+
# at the root or under tests/ — never ship it.
59+
Rplots\.pdf$

0 commit comments

Comments
 (0)