[GenABEL-dev] GenABEL: Installation/load error on Unix, MAC and Windows...
Nicola Pirastu
pirastu at burlo.trieste.it
Thu Jan 10 16:06:05 CET 2013
Hi Maria,
the problem was addressed a few days ago and I think it will be fixed permanently in the next release.
Meanwhile it is possible to go around it by adding a few lines in the file /GenABEL/R/checkPackageVersionOnCRAN.R
this is how it looks like now:
stringSplit <- strsplit(targetLine,splitPattern)
cranVersion <- stringSplit[[1]][length(stringSplit[[1]])-1]
and this is the how I personally fixed it:
stringSplit <- strsplit(targetLine,splitPattern)
if(length(stringSplit)>0){
cranVersion <- stringSplit[[1]][length(stringSplit[[1]])-1]
}else{
cranVersion <- "1.7-2"
}
Basically for some reason it does not catch the version number from CRAN which was not supposed to happen, so I just added a check.
What you have to do is:
1) uncompress the GenABEL tar
2) open the /GenABEL/R/checkPackageVersionOnCRAN.R file
3) add the two lines
4) save and reinstall the GenABEL package.
This worked at least for me. I'm sure someone figured out something more elegant, but this is an easy work around.
Hope it helps.
Nicola
Il giorno 10/gen/2013, alle ore 15:56, Maria G <mgmaria at yandex.ru> ha scritto:
> Dear maintainers,
>
>
> I would like to attract your attention to recently arised problem with loading GenABEL under any version of OS.
>
> Please, have a look at the Forum here:
>
> http://forum.genabel.org/viewtopic.php?f=6&t=733&p=1332#p1332
>
> Hope to get good news from you soon
>
>
>
> best
>
> Maria
>
> _______________________________________________
> genabel-devel mailing list
> genabel-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel
More information about the genabel-devel
mailing list