[rkward] packages/rkwarddev: made linebreaks the default for js()

m.eik michalke meik.michalke at uni-duesseldorf.de
Sat Nov 14 23:43:05 UTC 2015


Git commit be1996d13b625f22f0cc9c2e33d556a7582569c2 by m.eik michalke.
Committed on 14/11/2015 at 23:41.
Pushed by meikm into branch 'master'.

made linebreaks the default for js()

  - working with js() for a while i figured you usually want the default to be "linebreaks=TRUE"

M  +1    -1    packages/rkwarddev/ChangeLog
M  +1    -1    packages/rkwarddev/DESCRIPTION
M  +1    -1    packages/rkwarddev/R/js.R
M  +1    -1    packages/rkwarddev/R/rkwarddev-package.R
M  +1    -1    packages/rkwarddev/inst/NEWS.Rd
M  +1    -1    packages/rkwarddev/man/js.Rd
M  +1    -1    packages/rkwarddev/man/rkwarddev-package.Rd

http://commits.kde.org/rkward/be1996d13b625f22f0cc9c2e33d556a7582569c2

diff --git a/packages/rkwarddev/ChangeLog b/packages/rkwarddev/ChangeLog
index 22a5353..825ca4f 100644
--- a/packages/rkwarddev/ChangeLog
+++ b/packages/rkwarddev/ChangeLog
@@ -1,6 +1,6 @@
 ChangeLog for package rkwarddev
 
-changes in version 0.07-4 (2015-11-11)
+changes in version 0.07-4 (2015-11-14)
 unreleased:
   - this version is under development
 fixed:
diff --git a/packages/rkwarddev/DESCRIPTION b/packages/rkwarddev/DESCRIPTION
index b7e52b8..21b3ea9 100644
--- a/packages/rkwarddev/DESCRIPTION
+++ b/packages/rkwarddev/DESCRIPTION
@@ -16,7 +16,7 @@ LazyLoad: yes
 URL: https://rkward.kde.org
 Authors at R: c(person(given="m.eik", family="michalke", email="meik.michalke at hhu.de", role=c("aut", "cre")))
 Version: 0.07-4
-Date: 2015-11-11
+Date: 2015-11-14
 RoxygenNote: 5.0.0
 Collate:
     '00_class_01_rk.JS.arr.R'
diff --git a/packages/rkwarddev/R/js.R b/packages/rkwarddev/R/js.R
index 97738c2..741a07b 100644
--- a/packages/rkwarddev/R/js.R
+++ b/packages/rkwarddev/R/js.R
@@ -58,7 +58,7 @@
 #'   }
 #' )))
 
-js <- function(..., level=2, indent.by=rk.get.indent(), linebreaks=FALSE, empty.e=FALSE){
+js <- function(..., level=2, indent.by=rk.get.indent(), linebreaks=TRUE, empty.e=FALSE){
   full.content <- eval(substitute(alist(...)))
 
   if(isTRUE(linebreaks)){
diff --git a/packages/rkwarddev/R/rkwarddev-package.R b/packages/rkwarddev/R/rkwarddev-package.R
index fc0e2b2..2c80923 100644
--- a/packages/rkwarddev/R/rkwarddev-package.R
+++ b/packages/rkwarddev/R/rkwarddev-package.R
@@ -4,7 +4,7 @@
 #' Package: \tab rkwarddev\cr
 #' Type: \tab Package\cr
 #' Version: \tab 0.07-4\cr
-#' Date: \tab 2015-11-11\cr
+#' Date: \tab 2015-11-14\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
diff --git a/packages/rkwarddev/inst/NEWS.Rd b/packages/rkwarddev/inst/NEWS.Rd
index 4ab2c24..363b4f0 100644
--- a/packages/rkwarddev/inst/NEWS.Rd
+++ b/packages/rkwarddev/inst/NEWS.Rd
@@ -1,7 +1,7 @@
 \name{NEWS}
 \title{News for Package 'rkwarddev'}
 \encoding{UTF-8}
-\section{Changes in rkwarddev version 0.07-4 (2015-11-11)}{
+\section{Changes in rkwarddev version 0.07-4 (2015-11-14)}{
   \subsection{unreleased}{
     \itemize{
       \item this version is under development
diff --git a/packages/rkwarddev/man/js.Rd b/packages/rkwarddev/man/js.Rd
index 3301fbf..99f9453 100644
--- a/packages/rkwarddev/man/js.Rd
+++ b/packages/rkwarddev/man/js.Rd
@@ -4,7 +4,7 @@
 \alias{js}
 \title{R to JavaScript translation}
 \usage{
-js(..., level = 2, indent.by = rk.get.indent(), linebreaks = FALSE,
+js(..., level = 2, indent.by = rk.get.indent(), linebreaks = TRUE,
   empty.e = FALSE)
 }
 \arguments{
diff --git a/packages/rkwarddev/man/rkwarddev-package.Rd b/packages/rkwarddev/man/rkwarddev-package.Rd
index 91e4747..fec5bae 100644
--- a/packages/rkwarddev/man/rkwarddev-package.Rd
+++ b/packages/rkwarddev/man/rkwarddev-package.Rd
@@ -12,7 +12,7 @@ A Collection of Tools for RKWard Plugin Development.
 Package: \tab rkwarddev\cr
 Type: \tab Package\cr
 Version: \tab 0.07-4\cr
-Date: \tab 2015-11-11\cr
+Date: \tab 2015-11-14\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