[R-pkg-devel] R CMD check error on Windows
On 17.12.2020 10:39, Akshit Achara wrote:
Dear Uwe, Can you please elaborate? I generated the configure script from configure.ac <http://configure.ac> on Linux and copied it's contents to configure.win (changed ~! /bin/sh to #! /bin/bash). Does it cause any quoting issues?
Well, R > 4.0.0 uses a different toolchain on Windows, so likely the reason is the change in the toolchain. I would not worry too much, as it works for the new toolchain and frm R >= 4.0.0. Best, Uwe Ligges
Thanks,
Akshit Achara
On Thu, Dec 17, 2020 at 3:01 PM Uwe Ligges
<ligges at statistik.tu-dortmund.de
<mailto:ligges at statistik.tu-dortmund.de>> wrote:
On 17.12.2020 10:26, Akshit Achara wrote:
> Dear Sir,
>
> I got this error on rminizinc cran checks
>
> r-oldrel-windows-ix86+x86_64:
> (The package needs to run ./configure.win during installation)
>
> exec: /cygdrive/c/Program: not found
Sounds like quoting issues as certainly /cygdrive/c/Program Files? ?is
meant here.
Best,
Uwe Ligges
>
> Warning in system("sh ./configure.win") : Exit code was 127
>
> ERROR: configuration failed for package 'rminizinc'
>
>
> I know that the error occurred because sh command didn't work. I am
> not getting any errors for other Windows flavors (devel and release).
>
> I wanted to ask if there is any solution for this error that can be
> implemented from my end or should I add anything in the
> SystemRequirements and resubmit to CRAN.
>
> Thanks,
> Akshit Achara
>
>? ? ? ?[[alternative HTML version deleted]]
>
> ______________________________________________
> R-package-devel at r-project.org
<mailto:R-package-devel at r-project.org> mailing list