-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
irace 4 on windows won't start #79
Comments
Hi @abeham could you test the development version? You can download it for Windows by following the instructions here: https://github.com/MLopez-Ibanez/irace/#github-development-version |
Better, but not quite there yet:
|
I am also seeing this |
It is strange that the Windows github action cannot see this... |
Hi @abeham, I have uploaded a new version that prints some debug info. Could you try again? In addition, could you execute from within R the following R code and report the output? irace::irace_cmdline("--version")
sessionInfo() |
Now it works! Here's the info you requested:
|
But what is the output from the command-line if you call "irace --version"? Could you re-install the github version? I added even more debug output, so it should print quite a number of lines. Thanks! Manuel. |
More output from the shell:
|
That's great. All looks as expected! Could you make another test for me? Could you copy the whole folder I want to test that it is able to identify correctly from where it is being called. |
Sure!
|
Thanks, but does it print?
|
No, it prints installed at temp...:
|
* tests/testthat/test-target-runner-dummy.R: Run more tests on Windows.
Install R-4.4.2 fresh on windows, e.g. to
C:\R\R-4.4.2
, then install.packages("irace"). In a shell, e.g. Powershell launching irace.exe saysError: '\R' is an unrecognized escape in character string (<input>:1:17)
Before I had installed R to
C:\Program Files\R\R-4.4.2\
and the user library toC:\Users\...
and it would complain about "\U' being an unrecognized escape, because irace was in the users library.irace.exe can't even be started with --version or --help, it crashes right away after starting from powershell or cmd.
I used devtools and rtools to build irace 3.5 within the same r installation (using install_version) and that worked (on the same machine). I also tested a build of 4.0 and it is also broken. So something changed from 3.5 to 4.0 that breaks it on Windows. I am using Windows 11 24H2 x64 machine.
Maybe you have some time to investigate into this.
The text was updated successfully, but these errors were encountered: