[GenABEL-dev] [Genabel-commits] r716 - in pkg: DatABEL/R GenABEL/R

Yurii Aulchenko yurii.aulchenko at gmail.com
Mon May 16 16:13:32 CEST 2011


Thank, Lennart, for addressing this bug.

To keep others informed: in GenABEL and DatABEL, at load time, R
contacts web-located file to check if the version is 'current'. If it
is 'current' only message saying version is produced; if not, warning
message is issued. Also there is a mechanism coded allowing us to send
advertisements at load time :) This web-info file is present in two
versions, main on RForge and fall-back on Amazon server hosting
www.genabel.org.

For the future, we should probably think how we can arrange this
across the packages; also version number comparison directly with CRAN
(feature request?). What I can also think of is making a separate
package / function which cross checks version in DESCRIPTION with
CRAN, and also allows 'advertisements'. This probably can be done
joining efforts with others, I remember there is a package addressing
somewhat similar issues... Would be fun to do, and really useful for
many other people!

Bw,
Yurii

On 5/16/11, noreply at r-forge.wu-wien.ac.at <noreply at r-forge.wu-wien.ac.at> wrote:
> Author: lckarssen
> Date: 2011-05-16 00:10:49 +0200 (Mon, 16 May 2011)
> New Revision: 716
>
> Modified:
>    pkg/DatABEL/R/zzz.R
>    pkg/GenABEL/R/zzz.R
> Log:
> Remved reference to the mga server in the zzz.R files of GenABEL and
> DatABEL. The URL now points to the www.genabel.org server.
> This fixes bug #1275.
>
>
>
> Modified: pkg/DatABEL/R/zzz.R
> ===================================================================
> --- pkg/DatABEL/R/zzz.R	2011-05-15 20:47:37 UTC (rev 715)
> +++ pkg/DatABEL/R/zzz.R	2011-05-15 22:10:49 UTC (rev 716)
> @@ -5,7 +5,7 @@
>  	# check for updates and news
>  	address <- c(
>  			"http://genabel.r-forge.r-project.org/version_and_news.html",
> -			"http://mga.bionet.nsc.ru/~yurii/ABEL/version_and_news.html"
> +			"http://www.genabel.org/sites/default/files/version_and_news.html"
>  	)
>  	svtmo <- options("timeout")
>  	options("timeout"=10)
> @@ -59,4 +59,4 @@
>  	options("timeout"=svtmo)	
>  	
>  	.Call("checkNumBits");	
> -}
> \ No newline at end of file
> +}
>
> Modified: pkg/GenABEL/R/zzz.R
> ===================================================================
> --- pkg/GenABEL/R/zzz.R	2011-05-15 20:47:37 UTC (rev 715)
> +++ pkg/GenABEL/R/zzz.R	2011-05-15 22:10:49 UTC (rev 716)
> @@ -5,7 +5,7 @@
>  	# check for updates and news
>  	address <- c(
>  			"http://genabel.r-forge.r-project.org/version_and_news.html",
> -			"http://mga.bionet.nsc.ru/~yurii/ABEL/version_and_news.html"
> +			"http://www.genabel.org/sites/default/files/version_and_news.html"
>  	)
>  	svtmo <- options("timeout")
>  	options("timeout"=10)
> @@ -58,4 +58,4 @@
>  	}
>  	options("timeout"=svtmo)
>  	#rm(tryRes0,tryRes1,conn,svtmo)
> -}
> \ No newline at end of file
> +}
>
> _______________________________________________
> Genabel-commits mailing list
> Genabel-commits at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/genabel-commits
>

-- 
Sent from my mobile device


More information about the genabel-devel mailing list