[R-pkg-devel] windows and configure scripts

Gábor Csárdi c@@rd|@g@bor @end|ng |rom gm@||@com
Sat Aug 7 01:44:31 CEST 2021


On Sat, Aug 7, 2021 at 1:32 AM Timothy Keitt <tkeitt using gmail.com> wrote:
>
> Snarky answers aside, it's still a valid question whether it's not just
> cleaner in simple cases to run commands from the Makevars file as described
> in the extensions doc. Of course there's no particularly useful examples
> there and searching 'Makevars' on github (yes tried that) is not very
> illuminating as it's too generic.

You can restrict your search to CRAN packages by using the 'cran' organization:
https://github.com/search?q=org%3Acran+filename%3AMakevars.win&type=Code

You can also have a `configure.win` file, that runs only on Windows, with sh.
Or you can have a single `configure` that works on all platforms, and
call that from `configure.win`. E.g.
https://github.com/cran/ps/blob/master/configure.win

G.

[...]



More information about the R-package-devel mailing list