On Sat, Aug 7, 2021 at 1:32 AM Timothy Keitt <tke...@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. [...] ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel