[rkward] packages/rkwarddev: typo

m.eik michalke meik.michalke at uni-duesseldorf.de
Mon Nov 30 10:01:45 UTC 2015


Git commit c557df10df4bfea434c55aafee3100fcad5f1112 by m.eik michalke.
Committed on 30/11/2015 at 10:01.
Pushed by meikm into branch 'master'.

typo

M  +1    -1    packages/rkwarddev/R/rk.JS.options.R
M  +12   -6    packages/rkwarddev/man/rk.JS.options.Rd

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

diff --git a/packages/rkwarddev/R/rk.JS.options.R b/packages/rkwarddev/R/rk.JS.options.R
index b741640..1fbe15a 100644
--- a/packages/rkwarddev/R/rk.JS.options.R
+++ b/packages/rkwarddev/R/rk.JS.options.R
@@ -24,7 +24,7 @@
 #'    (e.g., \code{"paired=TRUE"} or \code{qp("conf.level=\"", conflevel, "\"")}.
 #' @param collapse Character string, how all options should be concatenated on the R code level
 #'    (if \code{array=FALSE}), or how \code{option} should be added to the generated R code. Hint:
-#'    To place each option in a new line with tab indentation, set \code{collapse=",\\n\\t"}.
+#'    To place each option in a new line with tab indentation, set \code{collapse=",\\\\n\\\\t"}.
 #' @param option A character string, naming, e.g., an option of an R function which should be
 #'    constructed from several variables. Only used if \code{array=TRUE}.
 #' @param funct Character string, name of the R function to be called to combine the options,
diff --git a/packages/rkwarddev/man/rk.JS.options.Rd b/packages/rkwarddev/man/rk.JS.options.Rd
index e57b630..b510140 100644
--- a/packages/rkwarddev/man/rk.JS.options.Rd
+++ b/packages/rkwarddev/man/rk.JS.options.Rd
@@ -11,12 +11,16 @@ rk.JS.options(var, ..., collapse = ", ", option = NULL, funct = NULL,
 \item{var}{Character string, name of the JavaScript variable to use in the script code.}
 
 \item{...}{A list of objects of class \code{rk.JS.ite} (see \code{\link[rkwarddev:ite]{ite}}).
-Use the \code{thenjs} element to define only the value to add to the option, without commas
+Use the \code{thenjs} element to define only the value to add to the option,
+      without commas
 (e.g., \code{"paired=TRUE"} or \code{qp("conf.level=\"", conflevel, "\"")}.}
 
-\item{collapse}{Character string, how all options should be concatenated on the R code level
-(if \code{array=FALSE}), or how \code{option} should be added to the generated R code. Hint:
-To place each option in a new line with tab indentation, set \code{collapse=",\\n\\t"}.}
+\item{collapse}{Character string,
+      how all options should be concatenated on the R code level
+(if \code{array=FALSE}),
+      or how \code{option} should be added to the generated R code. Hint:
+To place each option in a new line with tab indentation, set \code{collapse=",
+     \\\\n\\\\t"}.}
 
 \item{option}{A character string, naming, e.g., an option of an R function which should be
 constructed from several variables. Only used if \code{array=TRUE}.}
@@ -25,10 +29,12 @@ constructed from several variables. Only used if \code{array=TRUE}.}
 e.g. "list" for \code{list()}, or "c" for \code{c()}. Set to \code{NULL} to drop.
 Only used if \code{array=TRUE}.}
 
-\item{array}{Logical, if \code{TRUE} will generate the options as an array, otherwise in one
+\item{array}{Logical, if \code{TRUE} will generate the options as an array,
+      otherwise in one
 concatenated character string (probably only useful for mandatory options).}
 
-\item{opt.sep}{Character string, will be printed in the resulting R code before the option name.}
+\item{opt.sep}{Character string,
+      will be printed in the resulting R code before the option name.}
 
 \item{.ite}{Like \code{...}, if you have all objects in a list already.}
 }



More information about the rkward-tracker mailing list