Skip to content
Prev 5600 / 21312 Next

[Bioc-devel] BiocUpgrades updates to devel instead of stable

Hi,

Alejandro and I digged deeper into this:

The bug I described before as caused by 'BiocInstaller:::.onLoad' which 
sets 'BiocInstaller:::IS_UPGRADEABLE' to TRUE for every bioc release 
with an even minor (e.g. 2.12, 2.14).  Within the load function,

   (BIOC_VERSION$minor %% 2L) == 0L

checks against the minor of the bioc number, which looks 
non-informative.  Rather, checking if the minor of the 'BiocInstaller' 
package is even or odd could be more useful here

   (packageVersion("BiocInstaller")$minor %% 2L) == 0L

which is TRUE for stable and FALSE for devel.

Best wishes
Julian
On 17.04.2014 18:50, Steve Lianoglou wrote: