[GenABEL-dev] extremely long package load time due to checkPackageVersionOnCRAN() call on package load

L.C. Karssen lennart at karssen.org
Thu Aug 30 12:01:42 CEST 2012



On 30/08/12 11:35, Yurii Aulchenko wrote:
> I think this is very reasonable request.
> 
> How do you think it should look like - something like an extra argument
> to "library", e.g. 
> 
> library(GenABEL) does version checks, but something like
> 
> library(GenABEL,versionCheck=FALSE) does not?

Sounds like a good plan. Is this possible?

> 
> We should also probably change the "timeout = 10" default value to say 3
> or 5 - if everybody agrees I can do that (actually I am in the process
> of preparing new release, 1.7-1 - will be out in a couple of days).

I agree. 5 seconds is more reasonable.


Lennart.

> 
> Yurii
> 
> On Tue, Mar 6, 2012 at 2:10 PM, Karl Forner <karl.forner at gmail.com
> <mailto:karl.forner at gmail.com>> wrote:
> 
>     Hello,
> 
>     We use a lot GenABEL, and we have a very annoying issue with very
>     long package load time.
>     We figured out it was due to the checkPackageVersionOnCRAN() on
>     package load.
>     If the website is down, or if our own network or http proxy has
>     issues, we have to wait until the timeout expires.
> 
>     We are not a big fan anyway of this update feature, at least not by
>     default: suppose that we run thousands of batch jobs a on cluster
>     that does not have internet acces, it does not seem reasonalble to
>     spends minutes for each jobs trying to connect without any hope of
>     success
>     just to knwo if we have the latest version.
> 
>     So we would like that either you disable this feature, or you make
>     it optional, or you provide a mechanism to disable it.
> 
>     Do you think this is a reasonable request ?
>     If you agree, we could even try to help you implement it.
> 
>     Best regards,
> 
>     Karl Forner
> 
> 
>     _______________________________________________
>     genabel-devel mailing list
>     genabel-devel at lists.r-forge.r-project.org
>     <mailto:genabel-devel at lists.r-forge.r-project.org>
>     https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-devel
> 
> 
> 
> 
> -- 
> -----------------------------------------------------
> Yurii S. Aulchenko
> Director, YuriiA consulting,
> Rotterdam, The Netherlands
> yurii [dot] aulchenko [monkey] gmail [dot] com
> 
> [ Publications <http://scholar.google.nl/citations?user=wdqXTTEAAAAJ> ]
> [ Twitter <http://twitter.com/YuriiAulchenko> ] [ LinkedIn
> <http://nl.linkedin.com/in/yuriiaulchenko> ] 
> 
> 
> 
> _______________________________________________
> 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: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.r-forge.r-project.org/pipermail/genabel-devel/attachments/20120830/c360ec9e/attachment.sig>


More information about the genabel-devel mailing list