[GenABEL-dev] ld-based pruning
Yurii Aulchenko
yurii.aulchenko at gmail.com
Wed Mar 20 12:00:16 CET 2013
> Technically, if we make it part of GenABEL would that mean that GenABEL
> depends on DatABEL (now it is only a suggested dependency) since Paul's
> function 'require()'s DatABEL? Are there any other R packages that have
> functionality that only works if a given package is installed (that is
> not in the dependency list but only in the suggested list)?
>
>
I do not see a big problem with above - e.g. there are functions like
minimac2databel in the GenA. They start with (
https://r-forge.r-project.org/scm/viewvc.php/pkg/GenABEL/R/minimac2databel.R?view=markup&root=genabel
)
minimac2databel <- function(imputedgenofile, infofile, outfile, cachesizeMb=64)
{
if (!require(DatABEL))
stop("This function requires DatABEL package to be installed")
This seems to be accepted practice
Yurii
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/genabel-devel/attachments/20130320/e4cbdb79/attachment.html>
More information about the genabel-devel
mailing list