[GenABEL-dev] GenABEL: Installation/load error on Unix, MAC and Windows...
L.C. Karssen
lennart at karssen.org
Thu Jan 10 16:37:33 CET 2013
Dear both,
Yesterday evening Yurii uploaded GenABEL v1.7-3 to CRAN. I installed it
on our servers this morning but be careful with your choice of download
mirror. I used the Dutch one at first, but that one still had the older
version. The US mirror had the latest version.
Lennart.
On 01/10/2013 04:08 PM, Maria G wrote:
> Thanks a lot, Nicola!!
>
> Don't you mind if I copy your answer to the Forum?
> or may be you would like to publish the answer there from your personal name?
>
> best
> Maria
>
> 10.01.2013, 19:06, "Nicola Pirastu" <pirastu at burlo.trieste.it>:
>> 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
--
-----------------------------------------------------------------
L.C. Karssen
Utrecht
The Netherlands
lennart at karssen.org
http://blog.karssen.org
Stuur mij aub geen Word of Powerpoint bestanden!
Zie http://www.gnu.org/philosophy/no-word-attachments.nl.html
------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: OpenPGP digital signature
URL: <http://lists.r-forge.r-project.org/pipermail/genabel-devel/attachments/20130110/10ef9b2b/attachment.sig>
More information about the genabel-devel
mailing list