[rkward-cvs] SF.net SVN: rkward:[4423] trunk/rkward/packages/rkwarddev
m-eik at users.sourceforge.net
m-eik at users.sourceforge.net
Thu Nov 8 17:49:56 UTC 2012
Revision: 4423
http://rkward.svn.sourceforge.net/rkward/?rev=4423&view=rev
Author: m-eik
Date: 2012-11-08 17:49:56 +0000 (Thu, 08 Nov 2012)
Log Message:
-----------
rkwarddev: don't overwrite testsuite files *ever*
Modified Paths:
--------------
trunk/rkward/packages/rkwarddev/ChangeLog
trunk/rkward/packages/rkwarddev/DESCRIPTION
trunk/rkward/packages/rkwarddev/R/rk.plugin.skeleton.R
trunk/rkward/packages/rkwarddev/R/rkwarddev-package.R
trunk/rkward/packages/rkwarddev/inst/CITATION
trunk/rkward/packages/rkwarddev/inst/doc/rkwarddev_vignette.pdf
trunk/rkward/packages/rkwarddev/man/rk.build.plugin.Rd
trunk/rkward/packages/rkwarddev/man/rk.plugin.skeleton.Rd
trunk/rkward/packages/rkwarddev/man/rkwarddev-package.Rd
Modified: trunk/rkward/packages/rkwarddev/ChangeLog
===================================================================
--- trunk/rkward/packages/rkwarddev/ChangeLog 2012-11-08 17:44:53 UTC (rev 4422)
+++ trunk/rkward/packages/rkwarddev/ChangeLog 2012-11-08 17:49:56 UTC (rev 4423)
@@ -1,5 +1,9 @@
ChangeLog for package rkwarddev
+changes in version 0.06-1 (2012-11-08)
+changed:
+ - rk.plugin.skeleton(): "tests" will now ignore "overwrite" and not replace existing testsuite files
+
changes in version 0.05-8 (2012-09-30)
added:
- new function rk.plotOptions() and class "rk.plot.opts" to simplify code generation for plots;
Modified: trunk/rkward/packages/rkwarddev/DESCRIPTION
===================================================================
--- trunk/rkward/packages/rkwarddev/DESCRIPTION 2012-11-08 17:44:53 UTC (rev 4422)
+++ trunk/rkward/packages/rkwarddev/DESCRIPTION 2012-11-08 17:49:56 UTC (rev 4423)
@@ -6,16 +6,16 @@
Depends:
R (>= 2.9.0),methods,XiMpLe (>= 0.03-12),rkward (>= 0.5.6)
Enhances: rkward
-Description: Provides functions to create plugin skeletons and XML structures
- for RKWard.
+Description: Provides functions to create plugin skeletons and XML
+ structures for RKWard.
License: GPL (>= 3)
Encoding: UTF-8
LazyLoad: yes
URL: http://rkward.sourceforge.net
Authors at R: c(person(given="Meik", family="Michalke",
email="meik.michalke at hhu.de", role=c("aut", "cre")))
-Version: 0.05-8
-Date: 2012-09-30
+Version: 0.06-1
+Date: 2012-11-08
Collate:
'echo.R'
'id.R'
Modified: trunk/rkward/packages/rkwarddev/R/rk.plugin.skeleton.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rk.plugin.skeleton.R 2012-11-08 17:44:53 UTC (rev 4422)
+++ trunk/rkward/packages/rkwarddev/R/rk.plugin.skeleton.R 2012-11-08 17:49:56 UTC (rev 4423)
@@ -40,7 +40,8 @@
#' If not set, their default values are used. See \code{\link[rkwarddev:rk.rkh.doc]{rk.rkh.doc}} for details.
#' @param overwrite Logical, whether existing files should be replaced. Defaults to \code{FALSE}.
#' @param tests Logical, whether directories and files for plugin tests should be created.
-#' Defaults to \code{TRUE}.
+#' Defaults to \code{TRUE}. A new testsuite file will only be generated if none is present
+#' (\code{overwrite} is ignored).
#' @param lazyLoad Logical, whether the package should be prepared for lazy loading or not. Should be left \code{TRUE},
#' unless you have very good reasons not to.
#' @param create A character vector with one or more of these possible entries:
@@ -322,9 +323,11 @@
} else {}
## create testsuite.R
- if(isTRUE(tests) & isTRUE(checkCreateFiles(testsuite.file, ow=overwrite, action="tests"))){
- testsuite.doc <- rk.testsuite.doc(name=name)
- cat(testsuite.doc, file=testsuite.file)
+ if(isTRUE(tests)){
+ if(isTRUE(checkCreateFiles(testsuite.file, ow=FALSE, action="tests"))){
+ testsuite.doc <- rk.testsuite.doc(name=name)
+ cat(testsuite.doc, file=testsuite.file)
+ } else {}
} else {}
## create DESCRIPTION file
Modified: trunk/rkward/packages/rkwarddev/R/rkwarddev-package.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rkwarddev-package.R 2012-11-08 17:44:53 UTC (rev 4422)
+++ trunk/rkward/packages/rkwarddev/R/rkwarddev-package.R 2012-11-08 17:49:56 UTC (rev 4423)
@@ -3,8 +3,8 @@
#' \tabular{ll}{
#' Package: \tab rkwarddev\cr
#' Type: \tab Package\cr
-#' Version: \tab 0.05-8\cr
-#' Date: \tab 2012-09-30\cr
+#' Version: \tab 0.06-1\cr
+#' Date: \tab 2012-11-08\cr
#' Depends: \tab R (>= 2.9.0),methods,XiMpLe (>= 0.03-12),rkward (>= 0.5.6)\cr
#' Enhances: \tab rkward\cr
#' Encoding: \tab UTF-8\cr
@@ -18,7 +18,7 @@
#' @aliases rkwarddev-package rkwarddev
#' @name rkwarddev-package
#' @docType package
-#' @title A collection of tools for RKWard plugin development.
+#' @title The rkwarddev Package
#' @author Meik Michalke \email{meik.michalke@@hhu.de}
#' @keywords package
NULL
Modified: trunk/rkward/packages/rkwarddev/inst/CITATION
===================================================================
--- trunk/rkward/packages/rkwarddev/inst/CITATION 2012-11-08 17:44:53 UTC (rev 4422)
+++ trunk/rkward/packages/rkwarddev/inst/CITATION 2012-11-08 17:49:56 UTC (rev 4423)
@@ -2,12 +2,12 @@
title="rkwarddev: A collection of tools for RKWard plugin development",
author="Meik Michalke",
year="2012",
- note="(Version 0.05-8)",
+ note="(Version 0.06-1)",
url="http://rkward.sourceforge.net",
textVersion =
paste("Michalke, M. (2012). ",
- "rkwarddev: A collection of tools for RKWard plugin development (Version 0.05-8). ",
+ "rkwarddev: A collection of tools for RKWard plugin development (Version 0.06-1). ",
"Available from http://rkward.sourceforge.net",
sep=""),
Modified: trunk/rkward/packages/rkwarddev/inst/doc/rkwarddev_vignette.pdf
===================================================================
(Binary files differ)
Modified: trunk/rkward/packages/rkwarddev/man/rk.build.plugin.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.build.plugin.Rd 2012-11-08 17:44:53 UTC (rev 4422)
+++ trunk/rkward/packages/rkwarddev/man/rk.build.plugin.Rd 2012-11-08 17:49:56 UTC (rev 4423)
@@ -11,7 +11,7 @@
DESCRIPTION file in it).}
\item{check}{Logical, whether the package should be
- checked for errors. Always do this before you publick a
+ checked for errors. Always do this before you publish a
package!}
\item{install}{Logical, whether the built package should
Modified: trunk/rkward/packages/rkwarddev/man/rk.plugin.skeleton.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.plugin.skeleton.Rd 2012-11-08 17:44:53 UTC (rev 4422)
+++ trunk/rkward/packages/rkwarddev/man/rk.plugin.skeleton.Rd 2012-11-08 17:49:56 UTC (rev 4423)
@@ -99,8 +99,9 @@
be replaced. Defaults to \code{FALSE}.}
\item{tests}{Logical, whether directories and files for
- plugin tests should be created. Defaults to
- \code{TRUE}.}
+ plugin tests should be created. Defaults to \code{TRUE}.
+ A new testsuite file will only be generated if none is
+ present (\code{overwrite} is ignored).}
\item{lazyLoad}{Logical, whether the package should be
prepared for lazy loading or not. Should be left
Modified: trunk/rkward/packages/rkwarddev/man/rkwarddev-package.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rkwarddev-package.Rd 2012-11-08 17:44:53 UTC (rev 4422)
+++ trunk/rkward/packages/rkwarddev/man/rkwarddev-package.Rd 2012-11-08 17:49:56 UTC (rev 4423)
@@ -2,14 +2,14 @@
\name{rkwarddev-package}
\alias{rkwarddev}
\alias{rkwarddev-package}
-\title{A collection of tools for RKWard plugin development.}
+\title{The rkwarddev Package}
\description{
A collection of tools for RKWard plugin development.
}
\details{
\tabular{ll}{ Package: \tab rkwarddev\cr Type: \tab
- Package\cr Version: \tab 0.05-8\cr Date: \tab
- 2012-09-30\cr Depends: \tab R (>= 2.9.0),methods,XiMpLe
+ Package\cr Version: \tab 0.06-1\cr Date: \tab
+ 2012-11-08\cr Depends: \tab R (>= 2.9.0),methods,XiMpLe
(>= 0.03-12),rkward (>= 0.5.6)\cr Enhances: \tab
rkward\cr Encoding: \tab UTF-8\cr License: \tab GPL (>=
3)\cr LazyLoad: \tab yes\cr URL: \tab
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list