[Bioc-devel] Package "not supported" on some platforms, and dependent packages
Dan Tenenbaum
dtenenba at fredhutch.org
Wed Oct 19 00:44:19 CEST 2016
----- Original Message -----
> From: "Kevin RUE" <kevinrue67 at gmail.com>
> To: "bioc-devel" <bioc-devel at r-project.org>
> Sent: Tuesday, October 18, 2016 3:28:23 PM
> Subject: [Bioc-devel] Package "not supported" on some platforms, and dependent packages
> Hi all,
>
> Heartless logic works as follows:
>
> - ensemblVEP is "not supported" on Windows (build report
> <http://bioconductor.org/checkResults/devel/bioc-LATEST/ensemblVEP/>).
> Completely understandable.
> - My package depends on ensemblVEP.
> - The build system reports an error on Windows for my package
> because "dependency
> 'ensemblVEP' is not available for package 'TVTB'" (build report
> <http://bioconductor.org/checkResults/devel/bioc-LATEST/TVTB/tokay2-buildsrc.html>
> )
> - As a result, the landing page for my package reports "build error" (
> page <https://www.bioconductor.org/packages/release/bioc/html/TVTB.html>)
>
> I was hoping to benefit of the same treatment as the ensemblVEP package,
> that is, skipping the nightly build on the Windows machine, to get the nice
> green light "build OK" on the landing page.
>
> I suppose this is something to control in the build system, right? Or do I
> have to put any kind of keyword in one of my package files?
> Thanks!
>
The build system is heartless. ;)
ensemblVEP is marked as unsupported on Windows by virtue of a .BBSoptions file in the top level (at the same level as DESCRIPTION) containing one line:
UnsupportedPlatforms: win
If you add that to your package it will stop building (and failing) on windows.
If ensemblVEP is ever again supported on windows (I don't know if this is planned) you'll need to remove that file.
Dan
> All the best,
> Kevin
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
More information about the Bioc-devel
mailing list