Commit 18b393a
committed
fix: prevent duplicate Windows ARM x64 R error message
Use errorOnce() instead of rethrowing WindowsArmX64RError to prevent
duplicate error messages when printCallRDiagnostics() calls
knitrCapabilities() again.
This scoped fix:
- Only affects WindowsArmX64RError handling
- Returns undefined like other knitrCapabilities errors
- Doesn't change general error handling in callR()1 parent ef0d613 commit 18b393a
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
150 | | - | |
| 151 | + | |
151 | 152 | | |
152 | | - | |
| 153 | + | |
| 154 | + | |
153 | 155 | | |
154 | 156 | | |
155 | 157 | | |
| |||
0 commit comments