Skip to content
Prev 15193 / 21312 Next

[Bioc-devel] package that will not build under Windows with Rtools35 (but works with Rtools40)

Hi Ramon,

We try to not be adventurous with what we put on the build machines so
we'd like to stick to whatever Rtools version is officially the current
stable one.

Also we don't have a mechanism for switching to a different package
code base or branch on some platforms. This wouldn't be a good idea
anyway because then Windows users trying to install the source package
would get something different than what they get when installing the
binary. This would maybe be acceptable if the source and binaries had
different versions but I can't think of any versioning scheme that would
both allow you to handle this and play nice with Bioconductor versioning
scheme.

So I'm afraid the 2 only solutions for now are:

   1) Let the package fail on the Windows builder (we can mark it
      as unsupported on Windows).

   2) Use conditionals in your code (e.g. "if (platform is Windows)
      then do this else do that") to make the new functionality available
      on non Windows platforms. With this solution, Windows users
      will be able to use everything in the package except this new
      functionality.

HTH,

H.
On 6/4/19 04:13, Ramon Diaz-Uriarte wrote: