Repository navigation
Commit 72509bb
committed
fix(ci): Stamp the roxygen2 version with a backreference, not an octal escape
The version stamp wrote the replacement as "\1". R parses that as the octal
escape for \001, not as a regex backreference, so DESCRIPTION ended up with a
malformed version and R CMD INSTALL aborted with "Malformed package version".
Every job that installs roxygen2 through this action failed there. The
replacement is now "\\1", verified to stamp 8.1.0.9000 to 8.1.0.9100.
The post-install guard asserted only the .9100 suffix, and the corrupt
"\001.9100" satisfies that too, which is why the bug survived the check meant
to catch it. The guard now asserts the whole x.y.z.9100 shape, and passes
inherits = FALSE to exists().
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WWhverMTZZKgEpUuTK117m1 parent 4676d38 commit 72509bb
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
102 | 105 | | |
103 | 106 | | |
104 | 107 | | |
| |||
0 commit comments