Skip to content

Fix Rtools detection by adding -NoProfile flag to PowerShell calls#54

Open
allan-sims wants to merge 1 commit intoswarm-lab:masterfrom
allan-sims:master
Open

Fix Rtools detection by adding -NoProfile flag to PowerShell calls#54
allan-sims wants to merge 1 commit intoswarm-lab:masterfrom
allan-sims:master

Conversation

@allan-sims
Copy link

Fixes #53

This Pull Request addresses the issue where ROpenCVLite:::.findRtools() fails on systems with strict PowerShell execution policies or UNC-based user profiles.

Changes:

  • Added -NoProfile flag to the PowerShell call in .findRtools() to ensure a clean output.

fix -NoProfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Title: ROpenCVLite:::.findRtools() fails when PowerShell Execution Policy restricts profile loading from UNC paths

1 participant