Skip to content

Commit a1946f7

Browse files
cdervclaude
andcommitted
perf(R): only check ARM architecture when R fails
x64 R on ARM always crashes, so checking in the success path is unnecessary. This avoids FFI overhead for all successful R checks (the common case: x64 R on x64 Windows, ARM64 R on ARM64 Windows). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent ce9b899 commit a1946f7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/core/knitr.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ export async function knitrCapabilities(rBin: string | undefined) {
131131
)
132132
: false;
133133

134-
checkWindowsArmR(caps.platform);
135134
return caps;
136135
} else {
137136
debug("\n++ Problem with results of knitr capabilities check.");

0 commit comments

Comments
 (0)