[Distr-commits] r880 - in pkg: SweaveListingUtils SweaveListingUtils/man distr distr/man distrDoc distrDoc/man distrEllipse distrEllipse/man distrEx distrEx/man distrMod distrMod/man distrRmetrics distrRmetrics/man distrSim distrSim/man distrTEst distrTEst/man distrTeach distrTeach/man startupmsg utils

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Feb 8 11:40:36 CET 2013


Author: ruckdeschel
Date: 2013-02-08 11:40:36 +0100 (Fri, 08 Feb 2013)
New Revision: 880

Modified:
   pkg/SweaveListingUtils/DESCRIPTION
   pkg/SweaveListingUtils/man/0SweaveListingUtils-package.Rd
   pkg/distr/DESCRIPTION
   pkg/distr/man/0distr-package.Rd
   pkg/distrDoc/DESCRIPTION
   pkg/distrDoc/man/0distrDoc-package.Rd
   pkg/distrEllipse/DESCRIPTION
   pkg/distrEllipse/man/0distrEllipse-package.Rd
   pkg/distrEx/DESCRIPTION
   pkg/distrEx/man/0distrEx-package.Rd
   pkg/distrMod/DESCRIPTION
   pkg/distrMod/man/0distrMod-package.Rd
   pkg/distrRmetrics/DESCRIPTION
   pkg/distrRmetrics/man/0distrRmetrics-package.Rd
   pkg/distrSim/DESCRIPTION
   pkg/distrSim/man/0distrSim-package.Rd
   pkg/distrTEst/DESCRIPTION
   pkg/distrTEst/man/0distrTEst-package.Rd
   pkg/distrTeach/DESCRIPTION
   pkg/distrTeach/man/0distrTeach-package.Rd
   pkg/startupmsg/DESCRIPTION
   pkg/utils/DESCRIPTIONutils.R
   pkg/utils/showsvnlog.R
Log:
created new versions 2.4.1 (resp. 0.8.1,0.6.1) [for patches] in trunc 
enhanced DESCRIPTIONutils.R 

Modified: pkg/SweaveListingUtils/DESCRIPTION
===================================================================
--- pkg/SweaveListingUtils/DESCRIPTION	2013-02-07 20:54:47 UTC (rev 879)
+++ pkg/SweaveListingUtils/DESCRIPTION	2013-02-08 10:40:36 UTC (rev 880)
@@ -1,7 +1,7 @@
 Package: SweaveListingUtils
 Title: Utilities for Sweave together with TeX listings package
 Encoding: latin1
-Version: 0.6
+Version: 0.6.1
 Depends: R(>= 2.10.0), startupmsg
 Suggests: distr, MASS, survival, distrEx, Matrix, splines
 Imports: stats
@@ -13,7 +13,7 @@
         source code
 Maintainer: Peter Ruckdeschel <Peter.Ruckdeschel at itwm.fraunhofer.de>
 License: LGPL-3
-Date: 2013-02-05
+Date: 2013-02-08
 LastChangedDate: {$LastChangedDate$}
 LastChangedRevision: {$LastChangedRevision$}
-SVNRevision: 834
+SVNRevision: 879

Modified: pkg/SweaveListingUtils/man/0SweaveListingUtils-package.Rd
===================================================================
--- pkg/SweaveListingUtils/man/0SweaveListingUtils-package.Rd	2013-02-07 20:54:47 UTC (rev 879)
+++ pkg/SweaveListingUtils/man/0SweaveListingUtils-package.Rd	2013-02-08 10:40:36 UTC (rev 880)
@@ -15,12 +15,12 @@
 \details{
 \tabular{ll}{
 Package: \tab SweaveListingUtils \cr
-Version: \tab 0.6 \cr
-Date: \tab 2013-02-05 \cr
+Version: \tab 0.6.1 \cr
+Date: \tab 2013-02-08 \cr
 Depends: \tab R(>= 2.10.0), startupmsg \cr
 LazyLoad: \tab yes \cr
 License: \tab LGPL-3 \cr
-SVNRevision: \tab 834 \cr
+SVNRevision: \tab 879 \cr
 }
 
 TeX-package \file{listings}, confer \url{http://www.ctan.org/tex-archive/macros/latex/contrib/listings/},

Modified: pkg/distr/DESCRIPTION
===================================================================
--- pkg/distr/DESCRIPTION	2013-02-07 20:54:47 UTC (rev 879)
+++ pkg/distr/DESCRIPTION	2013-02-08 10:40:36 UTC (rev 880)
@@ -1,6 +1,6 @@
 Package: distr
-Version: 2.4
-Date: 2013-02-05
+Version: 2.4.1
+Date: 2013-02-08
 Title: Object oriented implementation of distributions
 Description: S4 Classes and Methods for distributions
 Author: Florian Camphausen, Matthias Kohl, Peter Ruckdeschel, Thomas Stabla
@@ -14,4 +14,4 @@
 URL: http://distr.r-forge.r-project.org/
 LastChangedDate: {$LastChangedDate$}
 LastChangedRevision: {$LastChangedRevision$}
-SVNRevision: 834
+SVNRevision: 879

Modified: pkg/distr/man/0distr-package.Rd
===================================================================
--- pkg/distr/man/0distr-package.Rd	2013-02-07 20:54:47 UTC (rev 879)
+++ pkg/distr/man/0distr-package.Rd	2013-02-08 10:40:36 UTC (rev 880)
@@ -43,14 +43,14 @@
 \details{
 \tabular{ll}{
 Package: \tab distr \cr
-Version: \tab 2.4 \cr
-Date: \tab 2013-02-05 \cr
+Version: \tab 2.4.1 \cr
+Date: \tab 2013-02-08 \cr
 Depends: \tab R(>= 2.2.0), methods, graphics, startupmsg, sfsmisc,
 SweaveListingUtils\cr
 LazyLoad: \tab yes \cr
 License: \tab LGPL-3 \cr
 URL: \tab http://distr.r-forge.r-project.org/\cr
-SVNRevision: \tab 834 \cr
+SVNRevision: \tab 879 \cr
 }}
 
 

Modified: pkg/distrDoc/DESCRIPTION
===================================================================
--- pkg/distrDoc/DESCRIPTION	2013-02-07 20:54:47 UTC (rev 879)
+++ pkg/distrDoc/DESCRIPTION	2013-02-08 10:40:36 UTC (rev 880)
@@ -1,6 +1,6 @@
 Package: distrDoc
-Version: 2.4
-Date: 2013-02-05
+Version: 2.4.1
+Date: 2013-02-08
 Title: Documentation for packages distr, distrEx, distrSim, distrTEst, distrTeach, distrMod,
         and distrEllipse
 Description: provides documentation in form of a common vignette to packages distr, distrEx,
@@ -17,4 +17,4 @@
 URL: http://distr.r-forge.r-project.org/
 LastChangedDate: {$LastChangedDate$}
 LastChangedRevision: {$LastChangedRevision$}
-SVNRevision: 834
+SVNRevision: 879

Modified: pkg/distrDoc/man/0distrDoc-package.Rd
===================================================================
--- pkg/distrDoc/man/0distrDoc-package.Rd	2013-02-07 20:54:47 UTC (rev 879)
+++ pkg/distrDoc/man/0distrDoc-package.Rd	2013-02-08 10:40:36 UTC (rev 880)
@@ -14,14 +14,14 @@
 \details{
 \tabular{ll}{
 Package: \tab distrDoc \cr
-Version: \tab 2.4 \cr
-Date: \tab 2013-02-05 \cr
+Version: \tab 2.4.1 \cr
+Date: \tab 2013-02-08 \cr
 Depends: \tab R(>= 2.6.0), tools, distr(>= 2.2.0), startupmsg, distrEx(>= 2.2.0), distrSim(>= 2.2.0), distrTEst(>= 2.2.0), distrTeach(>=
 2.2.0), RandVar(>= 0.7), distrMod(>= 2.2.0), MASS, methods \cr
 LazyLoad: \tab yes \cr
 License: \tab LGPL-3 \cr
 URL: \tab http://distr.r-forge.r-project.org/\cr
-SVNRevision: \tab 834 \cr
+SVNRevision: \tab 879 \cr
 }}
 
 

Modified: pkg/distrEllipse/DESCRIPTION
===================================================================
--- pkg/distrEllipse/DESCRIPTION	2013-02-07 20:54:47 UTC (rev 879)
+++ pkg/distrEllipse/DESCRIPTION	2013-02-08 10:40:36 UTC (rev 880)
@@ -1,6 +1,6 @@
 Package: distrEllipse
-Version: 2.4
-Date: 2013-02-05
+Version: 2.4.1
+Date: 2013-02-08
 Title: S4 classes for elliptically contoured distributions
 Depends: R(>= 2.8.0), methods, graphics, mvtnorm, setRNG(>= 2006.2-1), distr(>= 2.2),
         distrEx(>= 2.2), distrSim(>= 2.2), startupmsg
@@ -15,4 +15,4 @@
 Encoding: latin1
 LastChangedDate: {$LastChangedDate: 2009-03-31 15:31:30 +0200 (Di, 31 Mrz 2009) $}
 LastChangedRevision: {$LastChangedRevision: 447 $}
-SVNRevision: 834
+SVNRevision: 879

Modified: pkg/distrEllipse/man/0distrEllipse-package.Rd
===================================================================
--- pkg/distrEllipse/man/0distrEllipse-package.Rd	2013-02-07 20:54:47 UTC (rev 879)
+++ pkg/distrEllipse/man/0distrEllipse-package.Rd	2013-02-08 10:40:36 UTC (rev 880)
@@ -12,14 +12,14 @@
 \details{
 \tabular{ll}{
 Package: \tab distrEllipse \cr
-Version: \tab 2.4 \cr
-Date: \tab 2013-02-05 \cr
+Version: \tab 2.4.1 \cr
+Date: \tab 2013-02-08 \cr
 Depends: \tab R(>= 2.8.0), methods, graphics, mvtnorm, setRNG(>= 2006.2-1),
               distr(>= 2.2), distrEx(>= 2.2), distrSim(>= 2.2), startupmsg\cr
 LazyLoad: \tab yes \cr
 License: \tab LGPL-3 \cr
 URL: \tab http://distr.r-forge.r-project.org/\cr
-SVNRevision: \tab 834 \cr
+SVNRevision: \tab 879 \cr
 }
 }
 \section{Classes}{

Modified: pkg/distrEx/DESCRIPTION
===================================================================
--- pkg/distrEx/DESCRIPTION	2013-02-07 20:54:47 UTC (rev 879)
+++ pkg/distrEx/DESCRIPTION	2013-02-08 10:40:36 UTC (rev 880)
@@ -1,6 +1,6 @@
 Package: distrEx
-Version: 2.4
-Date: 2013-02-05
+Version: 2.4.1
+Date: 2013-02-08
 Title: Extensions of package distr
 Description: Extensions of package distr and some additional functionality
 Depends: R(>= 2.6.0), methods, distr(>= 2.2), startupmsg
@@ -13,4 +13,4 @@
 URL: http://distr.r-forge.r-project.org/
 LastChangedDate: {$LastChangedDate$}
 LastChangedRevision: {$LastChangedRevision$}
-SVNRevision: 834
+SVNRevision: 879

Modified: pkg/distrEx/man/0distrEx-package.Rd
===================================================================
--- pkg/distrEx/man/0distrEx-package.Rd	2013-02-07 20:54:47 UTC (rev 879)
+++ pkg/distrEx/man/0distrEx-package.Rd	2013-02-08 10:40:36 UTC (rev 880)
@@ -27,13 +27,13 @@
 \details{
 \tabular{ll}{
 Package: \tab distrEx \cr
-Version: \tab 2.4 \cr
-Date: \tab 2013-02-05 \cr
+Version: \tab 2.4.1 \cr
+Date: \tab 2013-02-08 \cr
 Depends: \tab R(>= 2.6.0), methods, distr(>= 2.2), startupmsg \cr
 LazyLoad: \tab yes \cr
 License: \tab LGPL-3 \cr
 URL: \tab http://distr.r-forge.r-project.org/\cr
-SVNRevision: \tab 834 \cr
+SVNRevision: \tab 879 \cr
 }
 }
 \section{Classes}{

Modified: pkg/distrMod/DESCRIPTION
===================================================================
--- pkg/distrMod/DESCRIPTION	2013-02-07 20:54:47 UTC (rev 879)
+++ pkg/distrMod/DESCRIPTION	2013-02-08 10:40:36 UTC (rev 880)
@@ -1,6 +1,6 @@
 Package: distrMod
-Version: 2.4
-Date: 2013-02-05
+Version: 2.4.1
+Date: 2013-02-08
 Title: Object oriented implementation of probability models
 Description: Object oriented implementation of probability models based on packages 'distr' and
         'distrEx'
@@ -14,4 +14,4 @@
 URL: http://distr.r-forge.r-project.org/
 LastChangedDate: {$LastChangedDate$}
 LastChangedRevision: {$LastChangedRevision$}
-SVNRevision: 834
+SVNRevision: 879

Modified: pkg/distrMod/man/0distrMod-package.Rd
===================================================================
--- pkg/distrMod/man/0distrMod-package.Rd	2013-02-07 20:54:47 UTC (rev 879)
+++ pkg/distrMod/man/0distrMod-package.Rd	2013-02-08 10:40:36 UTC (rev 880)
@@ -15,14 +15,14 @@
 \details{
 \tabular{ll}{
 Package: \tab distrMod \cr
-Version: \tab 2.4 \cr
-Date: \tab 2013-02-05 \cr
+Version: \tab 2.4.1 \cr
+Date: \tab 2013-02-08 \cr
 Depends: \tab R(>= 2.6.0), methods, startupmsg, distr(>= 2.2), distrEx(>=
 2.2), RandVar(>= 0.6.3), MASS, stats4 \cr
 LazyLoad: \tab yes \cr
 License: \tab LGPL-3 \cr
 URL: \tab http://distr.r-forge.r-project.org/\cr
-SVNRevision: \tab 834 \cr
+SVNRevision: \tab 879 \cr
 }}
 
 \section{Classes}{

Modified: pkg/distrRmetrics/DESCRIPTION
===================================================================
--- pkg/distrRmetrics/DESCRIPTION	2013-02-07 20:54:47 UTC (rev 879)
+++ pkg/distrRmetrics/DESCRIPTION	2013-02-08 10:40:36 UTC (rev 880)
@@ -1,6 +1,6 @@
 Package: distrRmetrics
-Version: 2.4
-Date: 2013-02-05
+Version: 2.4.1
+Date: 2013-02-08
 Title: Package distr classes for distributions from Rmetrics
 Depends: R(>= 2.6.0), methods, startupmsg, distr(>= 2.4), fBasics(>= 270.73), fGarch(>= 270.73)
 Suggests: distrEx(>= 2.4), distrMod(>= 2.4)
@@ -15,4 +15,4 @@
 URL: http://distr.r-forge.r-project.org/
 LastChangedDate: {$LastChangedDate: 2011-11-18 13:15:04 +0100 (Fr, 18 Nov 2011) $}
 LastChangedRevision: {$LastChangedRevision: 758 $}
-SVNRevision: 756
+SVNRevision: 879

Modified: pkg/distrRmetrics/man/0distrRmetrics-package.Rd
===================================================================
--- pkg/distrRmetrics/man/0distrRmetrics-package.Rd	2013-02-07 20:54:47 UTC (rev 879)
+++ pkg/distrRmetrics/man/0distrRmetrics-package.Rd	2013-02-08 10:40:36 UTC (rev 880)
@@ -14,14 +14,14 @@
 \details{
 \tabular{ll}{
 Package: \tab distrRmetrics \cr
-Version: \tab 2.4 \cr
-Date: \tab 2013-02-05 \cr
+Version: \tab 2.4.1 \cr
+Date: \tab 2013-02-08 \cr
 Depends: \tab R(>= 2.6.0), methods, fBasics(>= 270.73), fGarch(>= 270.73),
               distr(>= 2.4), startupmsg\cr
 LazyLoad: \tab yes \cr
 License: \tab LGPL-3 \cr
 URL: \tab http://distr.r-forge.r-project.org/\cr
-SVNRevision: \tab 756 \cr
+SVNRevision: \tab 879 \cr
 }
 }
 \section{Classes}{

Modified: pkg/distrSim/DESCRIPTION
===================================================================
--- pkg/distrSim/DESCRIPTION	2013-02-07 20:54:47 UTC (rev 879)
+++ pkg/distrSim/DESCRIPTION	2013-02-08 10:40:36 UTC (rev 880)
@@ -1,6 +1,6 @@
 Package: distrSim
-Version: 2.4
-Date: 2013-02-05
+Version: 2.4.1
+Date: 2013-02-08
 Title: Simulation classes based on package distr
 Depends: R(>= 2.6.0), methods, graphics, setRNG(>= 2006.2-1), distr(>= 2.2), startupmsg
 Suggests: distrEx(>= 2.2)
@@ -13,4 +13,4 @@
 URL: http://distr.r-forge.r-project.org/
 LastChangedDate: {$LastChangedDate$}
 LastChangedRevision: {$LastChangedRevision$}
-SVNRevision: 834
+SVNRevision: 879

Modified: pkg/distrSim/man/0distrSim-package.Rd
===================================================================
--- pkg/distrSim/man/0distrSim-package.Rd	2013-02-07 20:54:47 UTC (rev 879)
+++ pkg/distrSim/man/0distrSim-package.Rd	2013-02-08 10:40:36 UTC (rev 880)
@@ -13,14 +13,14 @@
 \details{
 \tabular{ll}{
 Package: \tab distrSim \cr
-Version: \tab 2.4 \cr
-Date: \tab 2013-02-05 \cr
+Version: \tab 2.4.1 \cr
+Date: \tab 2013-02-08 \cr
 Depends: \tab R(>= 2.6.0), methods, graphics, setRNG(>= 2006.2-1), distr(>=
 2.0), startupmsg\cr
 LazyLoad: \tab yes \cr
 License: \tab LGPL-3 \cr
 URL: \tab http://distr.r-forge.r-project.org/\cr
-SVNRevision: \tab 834 \cr
+SVNRevision: \tab 879 \cr
 }
 }
 \section{Classes}{

Modified: pkg/distrTEst/DESCRIPTION
===================================================================
--- pkg/distrTEst/DESCRIPTION	2013-02-07 20:54:47 UTC (rev 879)
+++ pkg/distrTEst/DESCRIPTION	2013-02-08 10:40:36 UTC (rev 880)
@@ -1,6 +1,6 @@
 Package: distrTEst
-Version: 2.4
-Date: 2013-02-05
+Version: 2.4.1
+Date: 2013-02-08
 Title: Estimation and Testing classes based on package distr
 Depends: R(>= 2.6.0), methods, graphics, setRNG(>= 2006.2-1), distr(>= 2.2), distrSim(>= 2.2),
         startupmsg
@@ -16,4 +16,4 @@
 URL: http://distr.r-forge.r-project.org/
 LastChangedDate: {$LastChangedDate$}
 LastChangedRevision: {$LastChangedRevision$}
-SVNRevision: 834
+SVNRevision: 879

Modified: pkg/distrTEst/man/0distrTEst-package.Rd
===================================================================
--- pkg/distrTEst/man/0distrTEst-package.Rd	2013-02-07 20:54:47 UTC (rev 879)
+++ pkg/distrTEst/man/0distrTEst-package.Rd	2013-02-08 10:40:36 UTC (rev 880)
@@ -15,14 +15,14 @@
 \details{
 \tabular{ll}{
 Package: \tab distrTEst \cr
-Version: \tab 2.4 \cr
-Date: \tab 2013-02-05 \cr
+Version: \tab 2.4.1 \cr
+Date: \tab 2013-02-08 \cr
 Depends: \tab R(>= 2.6.0), methods, graphics, setRNG(>= 2006.2-1), distr(>=
 2.0), distrSim(>= 2.0), startupmsg\cr
 LazyLoad: \tab yes \cr
 License: \tab LGPL-3 \cr
 URL: \tab http://distr.r-forge.r-project.org/\cr
-SVNRevision: \tab 834 \cr
+SVNRevision: \tab 879 \cr
 }}
 \section{Classes}{
 \preformatted{

Modified: pkg/distrTeach/DESCRIPTION
===================================================================
--- pkg/distrTeach/DESCRIPTION	2013-02-07 20:54:47 UTC (rev 879)
+++ pkg/distrTeach/DESCRIPTION	2013-02-08 10:40:36 UTC (rev 880)
@@ -1,6 +1,6 @@
 Package: distrTeach
-Version: 2.4
-Date: 2013-02-05
+Version: 2.4.1
+Date: 2013-02-08
 Title: Extensions of package distr for teaching Stochastics/Statistics in secondary school
 Description: Extensions of package distr and some additional functionality
 Depends: R(>= 2.2.0), methods, distr(>= 2.2), distrEx(>= 2.2), startupmsg
@@ -14,4 +14,4 @@
 Packaged: Fri Jun 8 00:12:57 2007; Peter
 LastChangedDate: {$LastChangedDate$}
 LastChangedRevision: {$LastChangedRevision$}
-SVNRevision: 834
+SVNRevision: 879

Modified: pkg/distrTeach/man/0distrTeach-package.Rd
===================================================================
--- pkg/distrTeach/man/0distrTeach-package.Rd	2013-02-07 20:54:47 UTC (rev 879)
+++ pkg/distrTeach/man/0distrTeach-package.Rd	2013-02-08 10:40:36 UTC (rev 880)
@@ -20,14 +20,14 @@
 \details{
 \tabular{ll}{
 Package: \tab distrTeach \cr
-Version: \tab 2.4 \cr
-Date: \tab 2013-02-05 \cr
+Version: \tab 2.4.1 \cr
+Date: \tab 2013-02-08 \cr
 Depends: \tab R(>= 2.2.0), methods, distr(>= 2.0), distrEx(>= 2.0),
 startupmsg\cr
 LazyLoad: \tab yes \cr
 License: \tab LGPL-3 \cr
 URL: \tab http://distr.r-forge.r-project.org/\cr
-SVNRevision: \tab 834 \cr
+SVNRevision: \tab 879 \cr
 }
 }
 \section{Classes}{

Modified: pkg/startupmsg/DESCRIPTION
===================================================================
--- pkg/startupmsg/DESCRIPTION	2013-02-07 20:54:47 UTC (rev 879)
+++ pkg/startupmsg/DESCRIPTION	2013-02-08 10:40:36 UTC (rev 880)
@@ -1,7 +1,7 @@
 Package: startupmsg
 Encoding: latin1
-Version: 0.8
-Date: 2013-02-05
+Version: 0.8.1
+Date: 2013-02-08
 Title: Utilities for start-up messages
 Description: Utilities for start-up messages
 Author: Peter Ruckdeschel
@@ -11,4 +11,4 @@
 License: LGPL-3
 LastChangedDate: {$LastChangedDate$}
 LastChangedRevision: {$LastChangedRevision$}
-SVNRevision: 768
+SVNRevision: 879

Modified: pkg/utils/DESCRIPTIONutils.R
===================================================================
--- pkg/utils/DESCRIPTIONutils.R	2013-02-07 20:54:47 UTC (rev 879)
+++ pkg/utils/DESCRIPTIONutils.R	2013-02-08 10:40:36 UTC (rev 880)
@@ -29,17 +29,34 @@
 changeDescription <- function(startDir, names, values, 
                               pkgs = NULL, 
                               withSVNread = TRUE,
-                              withPackageHelpUpdate = TRUE){
+                              withPackageHelpUpdate = TRUE,
+                              pathRepo = NULL,
+                              withDate = TRUE){
   oldDir <- getwd()
   on.exit(setwd(oldDir))
   setwd(startDir)
+  if(is.null(pathRepo)) pathRepo <- gsub(".*/([^/]+)/*$","\\1", startDir)
   if(withSVNread){
-      svnrev <- getRevNr(startDir)[[1]]
+      svnrev <- getRevNr(startDir, pathRepo)[[1]]
       print(svnrev)
       if("SVNRevision" %in% names){
          values[which(names=="SVNRevision"),] <- svnrev
+      }else{
+         nr <- nrow(values)
+         names <- c(names,"SVNRevision")
+         values <- rbind(values,rep(svnrev,ncol(values)))
+         rownames(values)[nr+1] <- "SVNRevision"
       }
   }
+  if(withDate){
+     if(!"Date" %in% names){
+         nr <- nrow(values)
+         dat <- format(Sys.time(), format="%Y-%m-%d")
+         names <- c(names,"Date")
+         values <- rbind(values,rep(dat,ncol(values)))
+         rownames(values)[nr+1] <- "Date"
+     }
+  }
 #  print(names)
 #  print(values)
   
@@ -86,31 +103,59 @@
    ff[1,"Version"]}))}
 
 
+##############################################################################
+# EXAMPLES
+##############################################################################
+if(FALSE){## Example 1
 Pkgs <- c("startupmsg", "SweaveListingUtils",
                       "distr", "distrEx", "distrDoc",
                       "distrMod", "distrTeach", "distrSim", "distrTEst")
 Names <- c("Version", "License", "Date")
-Values <- matrix(c("2.0.2","LGPL-3",
-                             format(Sys.time(), format="%Y-%m-%d")),3,length(Pkgs))
+Values <- matrix(c("2.0.2","LGPL-3"),3,length(Pkgs))
 colnames(Values) <- Pkgs
 rownames(Values) <- Names
 Values["Version",] <- c("0.5.2", "0.1.1", "2.0.3", "2.0.2", "2.0.3",
                          rep("2.0.2",4))
 changeDescription(startDir = "C:/rtest/distr",names=Names,
                   pkgs=Pkgs, values=Values)
+}
 
-
+if(FALSE){## Example 2
 Pkgs <- c("SweaveListingUtils", "distr", "distrEx",
                       "distrMod", "distrTeach", "distrSim", "distrTEst")
 Names <- c("Date")
 Values <- matrix((format(Sys.time(), format="%Y-%m-%d")),1,length(Pkgs))
 colnames(Values) <- Pkgs
 rownames(Values) <- Names
+changeDescription(startDir = "C:/rtest/distr",names="Date",
+                  pkgs=Pkgs, values=format(Sys.time(), format="%Y-%m-%d"))
+}
 
+if(FALSE){### Version 2.4.1
+Pkgs <- c("startupmsg", "SweaveListingUtils",
+          "distr", "distrEx", "distrDoc",
+          "distrMod", "distrTeach", "distrSim",
+          "distrTEst", "distrEllipse", "distrRmetrics")
+Names <- c("Version")
+Values <- matrix(c("2.4.1",1,length(Pkgs))
+colnames(Values) <- Pkgs
+rownames(Values) <- Names
+Values["Version",,drop=FALSE] <- c("0.8.1", "0.6.1", rep("2.4.1",9))
+changeDescription(startDir = "C:/rtest/distr",names=Names,
+                  pkgs=Pkgs, values=Values)
+}
+if(FALSE){### Version 0.9.1
+Pkgs <- c("RandVar", "ROptEstOld")
+Names <- c("Version")
+Values <- matrix("0.9.1",1,length(Pkgs))
+colnames(Values) <- Pkgs
+rownames(Values) <- Names
+changeDescription(startDir = "C:/rtest/robast",names=Names,
+                  pkgs=Pkgs, values=Values)
+}
+##############################################################################
 
-changeDescription(startDir = "C:/rtest/distr",names="Date", 
-                  pkgs=Pkgs, values=format(Sys.time(), format="%Y-%m-%d"))
-                   
+
 copyDescription <- function(startDir){
   oldDir <- getwd()
   on.exit(setwd(oldDir))

Modified: pkg/utils/showsvnlog.R
===================================================================
--- pkg/utils/showsvnlog.R	2013-02-07 20:54:47 UTC (rev 879)
+++ pkg/utils/showsvnlog.R	2013-02-08 10:40:36 UTC (rev 880)
@@ -64,7 +64,8 @@
 ### some examples
 showsvnlog(from=500,to=520)
 showsvnlog(from=300,to=Inf,limit=1000)
-showsvnlog(from=1,to=Inf,limit=1000,con="C:/rtest/svnlog-distr.txt")
+showsvnlog(from=833,to=Inf,limit=1000,con="C:/rtest/svnlog-distr-2.4-3.txt")
+showsvnlog(from=1,to=73,limit=1000,con="C:/rtest/svnlog-distr-00.txt",withrmtmp = FALSE,tmpfile = "C:/rtest/svnlog-distr-01.txt")
 showsvnlog("robast",from=1,to=Inf,limit=1000,con="C:/rtest/svnlog-robast.txt")
 showsvnlog(from=580,to=Inf,limit=1000)
 showsvnlog("robast",from=220,to=Inf,limit=1000,con="C:/rtest/svnlog-robast-ex.txt")



More information about the Distr-commits mailing list