[rkward-cvs] SF.net SVN: rkward:[4245] trunk/rkward/packages/rkwarddev
m-eik at users.sourceforge.net
m-eik at users.sourceforge.net
Tue May 8 20:23:26 UTC 2012
Revision: 4245
http://rkward.svn.sourceforge.net/rkward/?rev=4245&view=rev
Author: m-eik
Date: 2012-05-08 20:23:26 +0000 (Tue, 08 May 2012)
Log Message:
-----------
rkwarddev: adding "recommended" attribute to wizard function, and debian compat file
Modified Paths:
--------------
trunk/rkward/packages/rkwarddev/ChangeLog
trunk/rkward/packages/rkwarddev/DESCRIPTION
trunk/rkward/packages/rkwarddev/R/rk.XML.wizard.R
trunk/rkward/packages/rkwarddev/R/rkwarddev-package.R
trunk/rkward/packages/rkwarddev/debian/changelog
trunk/rkward/packages/rkwarddev/inst/CITATION
trunk/rkward/packages/rkwarddev/inst/NEWS.Rd
trunk/rkward/packages/rkwarddev/inst/doc/rkwarddev_vignette.pdf
trunk/rkward/packages/rkwarddev/man/rk.XML.wizard.Rd
trunk/rkward/packages/rkwarddev/man/rkwarddev-package.Rd
Added Paths:
-----------
trunk/rkward/packages/rkwarddev/debian/compat
Modified: trunk/rkward/packages/rkwarddev/ChangeLog
===================================================================
--- trunk/rkward/packages/rkwarddev/ChangeLog 2012-05-08 18:13:22 UTC (rev 4244)
+++ trunk/rkward/packages/rkwarddev/ChangeLog 2012-05-08 20:23:26 UTC (rev 4245)
@@ -1,5 +1,9 @@
ChangeLog for package rkwarddev
+changes in version 0.05-6 (2012-05-08)
+added:
+ - rk.XML.wizard() can now set the "recommended" attribute
+
changes in version 0.05-5 (2012-04-19)
added:
- rk.plugin.skeleton() can now also generate initial ChangeLog files (but won't overwrite existing ones)
Modified: trunk/rkward/packages/rkwarddev/DESCRIPTION
===================================================================
--- trunk/rkward/packages/rkwarddev/DESCRIPTION 2012-05-08 18:13:22 UTC (rev 4244)
+++ trunk/rkward/packages/rkwarddev/DESCRIPTION 2012-05-08 20:23:26 UTC (rev 4245)
@@ -14,8 +14,8 @@
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-5
-Date: 2012-04-19
+Version: 0.05-6
+Date: 2012-05-08
Collate:
'echo.R'
'id.R'
Modified: trunk/rkward/packages/rkwarddev/R/rk.XML.wizard.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rk.XML.wizard.R 2012-05-08 18:13:22 UTC (rev 4244)
+++ trunk/rkward/packages/rkwarddev/R/rk.XML.wizard.R 2012-05-08 20:23:26 UTC (rev 4245)
@@ -6,6 +6,7 @@
#'
#' @param ... Objects of class \code{XiMpLe.node}
#' @param label Character string, a text label for this plugin element.
+#' @param recommended Logical, whether the wizard should be the recommended appearance of the dialog.
#' @return An object of class \code{XiMpLe.node}.
#' @export
#' @seealso
@@ -21,7 +22,7 @@
#' test.wizard <- rk.XML.wizard(rk.XML.page(list(test.text, test.copy)))
#' cat(pasteXML(test.wizard))
-rk.XML.wizard <- function(..., label=NULL){
+rk.XML.wizard <- function(..., label=NULL, recommended=FALSE){
nodes <- list(...)
# check the node names and allow only valid ones
@@ -33,6 +34,10 @@
attr.list <- list()
}
+ if(isTRUE(recommended)){
+ attr.list[["recommended"]] <- "true"
+ } else {}
+
node <- XMLNode("wizard",
attrs=attr.list,
.children=child.list(nodes, empty=FALSE)
Modified: trunk/rkward/packages/rkwarddev/R/rkwarddev-package.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rkwarddev-package.R 2012-05-08 18:13:22 UTC (rev 4244)
+++ trunk/rkward/packages/rkwarddev/R/rkwarddev-package.R 2012-05-08 20:23:26 UTC (rev 4245)
@@ -3,8 +3,8 @@
#' \tabular{ll}{
#' Package: \tab rkwarddev\cr
#' Type: \tab Package\cr
-#' Version: \tab 0.05-5\cr
-#' Date: \tab 2012-04-19\cr
+#' Version: \tab 0.05-6\cr
+#' Date: \tab 2012-05-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
Modified: trunk/rkward/packages/rkwarddev/debian/changelog
===================================================================
--- trunk/rkward/packages/rkwarddev/debian/changelog 2012-05-08 18:13:22 UTC (rev 4244)
+++ trunk/rkward/packages/rkwarddev/debian/changelog 2012-05-08 20:23:26 UTC (rev 4245)
@@ -1,3 +1,9 @@
+r-other-rkward-rkwarddev (0.05-6-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- m.eik michalke <meik.michalke at hhu.de> Tue, 08 May 2012 22:19:17 +0000
+
r-other-rkward-rkwarddev (0.05-5-1) unstable; urgency=low
* new upstream release
Added: trunk/rkward/packages/rkwarddev/debian/compat
===================================================================
--- trunk/rkward/packages/rkwarddev/debian/compat (rev 0)
+++ trunk/rkward/packages/rkwarddev/debian/compat 2012-05-08 20:23:26 UTC (rev 4245)
@@ -0,0 +1 @@
+7
Modified: trunk/rkward/packages/rkwarddev/inst/CITATION
===================================================================
--- trunk/rkward/packages/rkwarddev/inst/CITATION 2012-05-08 18:13:22 UTC (rev 4244)
+++ trunk/rkward/packages/rkwarddev/inst/CITATION 2012-05-08 20:23:26 UTC (rev 4245)
@@ -2,12 +2,12 @@
title="rkwarddev: A collection of tools for RKWard plugin development",
author="Meik Michalke",
year="2012",
- note="(Version 0.05-5)",
+ note="(Version 0.05-6)",
url="http://rkward.sourceforge.net",
textVersion =
paste("Michalke, M. (2012). ",
- "rkwarddev: A collection of tools for RKWard plugin development (Version 0.05-5). ",
+ "rkwarddev: A collection of tools for RKWard plugin development (Version 0.05-6). ",
"Available from http://rkward.sourceforge.net",
sep=""),
Modified: trunk/rkward/packages/rkwarddev/inst/NEWS.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/inst/NEWS.Rd 2012-05-08 18:13:22 UTC (rev 4244)
+++ trunk/rkward/packages/rkwarddev/inst/NEWS.Rd 2012-05-08 20:23:26 UTC (rev 4245)
@@ -1,6 +1,13 @@
\name{NEWS}
\title{News for Package 'rkwarddev'}
\encoding{UTF-8}
+\section{Changes in rkwarddev version 0.05-6 (2012-05-08)}{
+ \subsection{added}{
+ \itemize{
+ \item \code{rk.XML.wizard()} can now set the \code{"recommended"} attribute
+ }
+ }
+}
\section{Changes in rkwarddev version 0.05-5 (2012-04-19)}{
\subsection{added}{
\itemize{
Modified: trunk/rkward/packages/rkwarddev/inst/doc/rkwarddev_vignette.pdf
===================================================================
(Binary files differ)
Modified: trunk/rkward/packages/rkwarddev/man/rk.XML.wizard.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rk.XML.wizard.Rd 2012-05-08 18:13:22 UTC (rev 4244)
+++ trunk/rkward/packages/rkwarddev/man/rk.XML.wizard.Rd 2012-05-08 20:23:26 UTC (rev 4245)
@@ -2,13 +2,16 @@
\alias{rk.XML.wizard}
\title{Create XML wizard section for RKWard plugins}
\usage{
- rk.XML.wizard(..., label = NULL)
+ rk.XML.wizard(..., label = NULL, recommended = FALSE)
}
\arguments{
\item{...}{Objects of class \code{XiMpLe.node}}
\item{label}{Character string, a text label for this
plugin element.}
+
+ \item{recommended}{Logical, whether the wizard should be
+ the recommended appearance of the dialog.}
}
\value{
An object of class \code{XiMpLe.node}.
Modified: trunk/rkward/packages/rkwarddev/man/rkwarddev-package.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rkwarddev-package.Rd 2012-05-08 18:13:22 UTC (rev 4244)
+++ trunk/rkward/packages/rkwarddev/man/rkwarddev-package.Rd 2012-05-08 20:23:26 UTC (rev 4245)
@@ -8,8 +8,8 @@
}
\details{
\tabular{ll}{ Package: \tab rkwarddev\cr Type: \tab
- Package\cr Version: \tab 0.05-5\cr Date: \tab
- 2012-04-19\cr Depends: \tab R (>= 2.9.0),methods,XiMpLe
+ Package\cr Version: \tab 0.05-6\cr Date: \tab
+ 2012-05-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