[R-gregmisc-commits] r2178 - in pkg/gtools: R man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jun 20 17:29:34 CEST 2018


Author: warnes
Date: 2018-06-20 17:29:34 +0200 (Wed, 20 Jun 2018)
New Revision: 2178

Modified:
   pkg/gtools/R/split_path.R
   pkg/gtools/man/split_path.Rd
Log:
Fix function argument documenation for 'split_path()'

Modified: pkg/gtools/R/split_path.R
===================================================================
--- pkg/gtools/R/split_path.R	2018-06-20 15:28:48 UTC (rev 2177)
+++ pkg/gtools/R/split_path.R	2018-06-20 15:29:34 UTC (rev 2178)
@@ -4,8 +4,8 @@
 #'  \emph{valid} file path into a character vector of path components
 #'  (e.g. directories).
 #'
-#' @param character scalar.  Path to be processed.
-#' @param depth_firs  logical.  Should path be returned depth first?  Defaults
+#' @param x            character scalar.  Path to be processed.
+#' @param depth_first  logical.  Should path be returned depth first?  Defaults
 #'   to \code{TRUE}.
 #'
 #' @return Character vector of path components, depth first.

Modified: pkg/gtools/man/split_path.Rd
===================================================================
--- pkg/gtools/man/split_path.Rd	2018-06-20 15:28:48 UTC (rev 2177)
+++ pkg/gtools/man/split_path.Rd	2018-06-20 15:29:34 UTC (rev 2178)
@@ -7,9 +7,9 @@
 split_path(x, depth_first = TRUE)
 }
 \arguments{
-\item{character}{scalar.  Path to be processed.}
+\item{x}{character scalar.  Path to be processed.}
 
-\item{depth_firs}{logical.  Should path be returned depth first?  Defaults
+\item{depth_first}{logical.  Should path be returned depth first?  Defaults
 to \code{TRUE}.}
 }
 \value{



More information about the R-gregmisc-commits mailing list