[rkward-cvs] SF.net SVN: rkward-code:[4872] trunk/rkward/packages/rkwarddev

m-eik at users.sf.net m-eik at users.sf.net
Sat Oct 4 16:11:11 UTC 2014


Revision: 4872
          http://sourceforge.net/p/rkward/code/4872
Author:   m-eik
Date:     2014-10-04 16:11:10 +0000 (Sat, 04 Oct 2014)
Log Message:
-----------
rkwarddev: fixed bug in "show" feature

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/NEWS.Rd
    trunk/rkward/packages/rkwarddev/inst/doc/rkwarddev_vignette.pdf
    trunk/rkward/packages/rkwarddev/man/rkwarddev-package.Rd

Modified: trunk/rkward/packages/rkwarddev/ChangeLog
===================================================================
--- trunk/rkward/packages/rkwarddev/ChangeLog	2014-10-04 11:43:04 UTC (rev 4871)
+++ trunk/rkward/packages/rkwarddev/ChangeLog	2014-10-04 16:11:10 UTC (rev 4872)
@@ -1,5 +1,9 @@
 ChangeLog for package rkwarddev
 
+changes in version 0.06-5 (2014-10-04)
+fixed:
+  - the "show" feature in rk.plugin.skeleton() was broken due to changes in the namespace defaults
+
 changes in version 0.06-4 (2014-09-14)
 added:
   - new functions rk.set.language(), rk.get.language() and i18n() to

Modified: trunk/rkward/packages/rkwarddev/DESCRIPTION
===================================================================
--- trunk/rkward/packages/rkwarddev/DESCRIPTION	2014-10-04 11:43:04 UTC (rev 4871)
+++ trunk/rkward/packages/rkwarddev/DESCRIPTION	2014-10-04 16:11:10 UTC (rev 4872)
@@ -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.06-4
-Date: 2014-09-14
+Version: 0.06-5
+Date: 2014-10-04
 Collate:
     'echo.R'
     'i18n.R'

Modified: trunk/rkward/packages/rkwarddev/R/rk.plugin.skeleton.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rk.plugin.skeleton.R	2014-10-04 11:43:04 UTC (rev 4871)
+++ trunk/rkward/packages/rkwarddev/R/rk.plugin.skeleton.R	2014-10-04 16:11:10 UTC (rev 4872)
@@ -362,10 +362,10 @@
         hints=hints,
         gen.info=gen.info,
         dependencies=dependencies.node,
-        id.name=paste(gsub("[.]*", "", pluginmap[["name"]]), lang, "rkward", sep="_"))
+        id.name=paste(gsub("[.]*|[[:space:]]*", "", pluginmap[["name"]]), lang, "rkward", sep="_"))
       cat(pasteXML(XML.pluginmap, shine=2, indent.by=indent.by), file=plugin.pluginmap)
       # needed for "show"
-      pm.id.name <- pluginmap[["name"]]
+      pm.id.name <- gsub("[.]*|[[:space:]]*", "", pluginmap[["name"]])
     } else {
       pm.id.name <- name
     }
@@ -380,7 +380,7 @@
         require=XML.i18n.require,
         hints=FALSE,
         gen.info=gen.info,
-        id.name=paste0(gsub("[.]*", "", pluginmap[["name"]]), "_main_rkward"),
+        id.name=paste0(gsub("[.]*|[[:space:]]*", "", pluginmap[["name"]]), "_main_rkward"),
         lang="en")
       cat(pasteXML(XML.i18n.pluginmap, shine=2, indent.by=indent.by), file=toplevel.pluginmap)
     } else {}
@@ -393,7 +393,8 @@
       if(isTRUE(show)){
         # call the plugin; reconstructed the ID generation from rk.XML.pluginmap()
         plugin.ID <- auto.ids(paste0(pm.id.name, pm.id.name), prefix=ID.prefix("component"), chars=25)
-        rk.call.plugin(paste0("rkward::", plugin.ID))
+        # namespace should be the plugin name
+        rk.call.plugin(paste0(pm.id.name, "::", plugin.ID))
       } else {}
     } else {}
   } else {}

Modified: trunk/rkward/packages/rkwarddev/R/rkwarddev-package.R
===================================================================
--- trunk/rkward/packages/rkwarddev/R/rkwarddev-package.R	2014-10-04 11:43:04 UTC (rev 4871)
+++ trunk/rkward/packages/rkwarddev/R/rkwarddev-package.R	2014-10-04 16:11:10 UTC (rev 4872)
@@ -3,8 +3,8 @@
 #' \tabular{ll}{
 #' Package: \tab rkwarddev\cr
 #' Type: \tab Package\cr
-#' Version: \tab 0.06-4\cr
-#' Date: \tab 2014-09-14\cr
+#' Version: \tab 0.06-5\cr
+#' Date: \tab 2014-10-04\cr
 #' Depends: \tab R (>= 2.9.0),methods,XiMpLe (>= 0.03-21),rkward (>= 0.5.7)\cr
 #' Enhances: \tab rkward\cr
 #' Encoding: \tab UTF-8\cr

Modified: trunk/rkward/packages/rkwarddev/inst/CITATION
===================================================================
--- trunk/rkward/packages/rkwarddev/inst/CITATION	2014-10-04 11:43:04 UTC (rev 4871)
+++ trunk/rkward/packages/rkwarddev/inst/CITATION	2014-10-04 16:11:10 UTC (rev 4872)
@@ -2,12 +2,12 @@
     title="rkwarddev: A collection of tools for RKWard plugin development",
     author="Meik Michalke",
     year="2014",
-    note="(Version 0.06-4)",
+    note="(Version 0.06-5)",
     url="http://rkward.sourceforge.net",
 
     textVersion =
     paste("Michalke, M. (2014). ",
-        "rkwarddev: A collection of tools for RKWard plugin development (Version 0.06-4). ",
+        "rkwarddev: A collection of tools for RKWard plugin development (Version 0.06-5). ",
         "Available from http://rkward.sourceforge.net",
         sep=""),
 

Modified: trunk/rkward/packages/rkwarddev/inst/NEWS.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/inst/NEWS.Rd	2014-10-04 11:43:04 UTC (rev 4871)
+++ trunk/rkward/packages/rkwarddev/inst/NEWS.Rd	2014-10-04 16:11:10 UTC (rev 4872)
@@ -1,6 +1,13 @@
 \name{NEWS}
 \title{News for Package 'rkwarddev'}
 \encoding{UTF-8}
+\section{Changes in rkwarddev version 0.06-5 (2014-10-04)}{
+  \subsection{fixed}{
+    \itemize{
+      \item the \code{"show"} feature in \code{rk.plugin.skeleton()} was broken due to changes in the namespace defaults
+    }
+  }
+}
 \section{Changes in rkwarddev version 0.06-4 (2014-09-14)}{
   \subsection{added}{
     \itemize{

Modified: trunk/rkward/packages/rkwarddev/inst/doc/rkwarddev_vignette.pdf
===================================================================
(Binary files differ)

Modified: trunk/rkward/packages/rkwarddev/man/rkwarddev-package.Rd
===================================================================
--- trunk/rkward/packages/rkwarddev/man/rkwarddev-package.Rd	2014-10-04 11:43:04 UTC (rev 4871)
+++ trunk/rkward/packages/rkwarddev/man/rkwarddev-package.Rd	2014-10-04 16:11:10 UTC (rev 4872)
@@ -10,8 +10,8 @@
 \tabular{ll}{
 Package: \tab rkwarddev\cr
 Type: \tab Package\cr
-Version: \tab 0.06-4\cr
-Date: \tab 2014-09-14\cr
+Version: \tab 0.06-5\cr
+Date: \tab 2014-10-04\cr
 Depends: \tab R (>= 2.9.0),methods,XiMpLe (>= 0.03-21),rkward (>= 0.5.7)\cr
 Enhances: \tab rkward\cr
 Encoding: \tab UTF-8\cr





More information about the rkward-tracker mailing list