[Patchwork-commits] r160 - .git pkg/patchwork/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Jan 31 12:22:11 CET 2013


Author: sebastian_d
Date: 2013-01-31 12:22:11 +0100 (Thu, 31 Jan 2013)
New Revision: 160

Modified:
   .git/index
   pkg/patchwork/R/zzz.R
Log:
removed vercheck as it caused package to fail to build at R-forge

Modified: .git/index
===================================================================
(Binary files differ)

Modified: pkg/patchwork/R/zzz.R
===================================================================
--- pkg/patchwork/R/zzz.R	2013-01-24 14:34:48 UTC (rev 159)
+++ pkg/patchwork/R/zzz.R	2013-01-31 11:22:11 UTC (rev 160)
@@ -4,15 +4,15 @@
 	packageStartupMessage("Welcome to patchwork.")
 	packageStartupMessage("\n")
 	# This was an attempt to check if patchwork needed updating. It failed. Running python in onLoad is not trivial.
-	if(system(paste("python ",system.file(package="patchwork"),"/python/vercheck.py",sep=""),intern=T) != utils::packageDescription('patchwork')$Version)
-		{
-		packageStartupMessage("Patchwork is not up to date, please update at:")
-		packageStartupMessage("http://patchwork.r-forge.r-project.org/")
-	  packageStartupMessage("or using: update.packages(repos=\"http://R-Forge.R-project.org\")")
-		packageStartupMessage("\n")
-		}
-	else
-		{
+	#if(system(paste("python ",system.file(package="patchwork"),"/python/vercheck.py",sep=""),intern=T) != utils::packageDescription('patchwork')$Version)
+	#	{
+	#	packageStartupMessage("Patchwork is not up to date, please update at:")
+	#	packageStartupMessage("http://patchwork.r-forge.r-project.org/")
+	#   packageStartupMessage("or using: update.packages(repos=\"http://R-Forge.R-project.org\")")
+	#	packageStartupMessage("\n")
+	#	}
+	#else
+	#	{
 		packageStartupMessage("Version: ",utils::packageDescription('patchwork')$Version)
 		packageStartupMessage("\n")
 		packageStartupMessage("If this is your first time running patchwork you should visit the")
@@ -20,5 +20,5 @@
 		packageStartupMessage("or the README file found at the install location of patchwork/inst/README")
 		packageStartupMessage("\n")
 		packageStartupMessage("Remember to keep patchwork up to date: update.packages(repos=\"http://R-Forge.R-project.org\")")
-		}
+	#	}
 	}



More information about the Patchwork-commits mailing list