[R-gregmisc-users] SF.net SVN: r-gregmisc: [1087] trunk/gtools
Brought to you by:
warnes
From: <wa...@us...> - 2007-04-07 13:41:53
|
Revision: 1087 http://svn.sourceforge.net/r-gregmisc/?rev=1087&view=rev Author: warnes Date: 2007-04-07 06:41:51 -0700 (Sat, 07 Apr 2007) Log Message: ----------- Fix improper escapes in regexp detected by R 2.5.0 package check. Modified Paths: -------------- trunk/gtools/DESCRIPTION trunk/gtools/R/mixedsort.R Modified: trunk/gtools/DESCRIPTION =================================================================== --- trunk/gtools/DESCRIPTION 2007-03-24 21:31:01 UTC (rev 1086) +++ trunk/gtools/DESCRIPTION 2007-04-07 13:41:51 UTC (rev 1087) @@ -2,7 +2,7 @@ Title: Various R programming tools Description: Various R programming tools Depends: R -Version: 2.3.0 +Version: 2.3.1 Author: Gregory R. Warnes. Includes R source code and/or documentation contributed by Ben Bolker and Thomas Lumley Maintainer: Gregory R. Warnes <wa...@bs...> Modified: trunk/gtools/R/mixedsort.R =================================================================== --- trunk/gtools/R/mixedsort.R 2007-03-24 21:31:01 UTC (rev 1086) +++ trunk/gtools/R/mixedsort.R 2007-04-07 13:41:51 UTC (rev 1087) @@ -45,7 +45,7 @@ #### # find and mark numbers in the form of +1.23e+45.67 - delimited <- gsub("([+-]{0,1}[0-9\.]+([eE][\+\-]{0,1}[0-9\.]+){0,1})", + delimited <- gsub("([+-]{0,1}[0-9\\.]+([eE][\\+\\-]{0,1}[0-9\\.]+){0,1})", paste(delim,"\\1",delim,sep=""), x) # separate out numbers This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |