Skip to content
Prev 8997 / 12125 Next

[R-pkg-devel] How to declare Bioconductor Dependencies in the Description File of my R Package

Packages can only be installed from the repositories listed and only CRAN is the default so only CRAN package are guaranteed to work. I'd like to add that the issue below is exactly why, personally, I would not recommend using Bioconductor package as strong dependency (imports/depends), because that makes the package unusable for most users, as it cannot be installed (without extra steps they don't know about) since the dependency doesn't exist on CRAN.

If your users are already Bioconductor users by the virtue of the package application then they already know so it's fine, but then you are probably better off to have your package on Bioconductor as part of the ecosystem which is much more streamlined and coordinated.

If it is only suggested (weak dependency) for some optional functionality, then your package will work even if the dependency is not installed so all is well. And if the optional Bioconductor functionality is used you can direct the user to instructions explaining that Bioconductor is required for that - but the package has to do that, it is not anything automatic in R.

Cheers,
Simon

Thread (32 messages)

Ruff, Sergej How to declare Bioconductor Dependencies in the Description File of my R Package Mar 16 Ivan Krylov How to declare Bioconductor Dependencies in the Description File of my R Package Mar 16 Tiago Olivoto How to declare Bioconductor Dependencies in the Description File of my R Package Mar 16 Ruff, Sergej How to declare Bioconductor Dependencies in the Description File of my R Package Mar 16 Duncan Murdoch How to declare Bioconductor Dependencies in the Description File of my R Package Mar 16 Tiago Olivoto How to declare Bioconductor Dependencies in the Description File of my R Package Mar 16 Tiago Olivoto How to declare Bioconductor Dependencies in the Description File of my R Package Mar 16 Ivan Krylov How to declare Bioconductor Dependencies in the Description File of my R Package Mar 16 Martin Morgan How to declare Bioconductor Dependencies in the Description File of my R Package Mar 16 Ruff, Sergej How to declare Bioconductor Dependencies in the Description File of my R Package Mar 17 Duncan Murdoch How to declare Bioconductor Dependencies in the Description File of my R Package Mar 17 Ruff, Sergej How to declare Bioconductor Dependencies in the Description File of my R Package Mar 17 Ivan Krylov How to declare Bioconductor Dependencies in the Description File of my R Package Mar 17 Ruff, Sergej How to declare Bioconductor Dependencies in the Description File of my R Package Mar 17 Ivan Krylov How to declare Bioconductor Dependencies in the Description File of my R Package Mar 17 Ruff, Sergej How to declare Bioconductor Dependencies in the Description File of my R Package Mar 17 Duncan Murdoch How to declare Bioconductor Dependencies in the Description File of my R Package Mar 17 Uwe Ligges How to declare Bioconductor Dependencies in the Description File of my R Package Mar 17 Ruff, Sergej How to declare Bioconductor Dependencies in the Description File of my R Package Mar 17 Uwe Ligges How to declare Bioconductor Dependencies in the Description File of my R Package Mar 17 Ivan Krylov How to declare Bioconductor Dependencies in the Description File of my R Package Mar 17 Duncan Murdoch How to declare Bioconductor Dependencies in the Description File of my R Package Mar 17 Ruff, Sergej How to declare Bioconductor Dependencies in the Description File of my R Package Mar 17 Simon Urbanek How to declare Bioconductor Dependencies in the Description File of my R Package Mar 17 Ruff, Sergej How to declare Bioconductor Dependencies in the Description File of my R Package Mar 17 Berry Boessenkool How to declare Bioconductor Dependencies in the Description File of my R Package Mar 18 Ruff, Sergej How to declare Bioconductor Dependencies in the Description File of my R Package Mar 18 Ruff, Sergej How to declare Bioconductor Dependencies in the Description File of my R Package Mar 20 Ruff, Sergej How to declare Bioconductor Dependencies in the Description File of my R Package Mar 20 Ivan Krylov How to declare Bioconductor Dependencies in the Description File of my R Package Mar 20 Ruff, Sergej How to declare Bioconductor Dependencies in the Description File of my R Package Mar 20 Ivan Krylov How to declare Bioconductor Dependencies in the Description File of my R Package Mar 20