We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e428d03 commit 7bc52adCopy full SHA for 7bc52ad
R/utils.R
@@ -86,8 +86,11 @@ git_init <- function(path = ".") {
86
#' Provide a singular interface for hook calls to docopt
87
#'
88
#' docopt provides different processing for a single string
89
-#' than an array/vector, and so this function wraps docopt
90
-#' to
+#' than an array/vector. As `"string"`` and `c("string")`
+#' are semantically equivalent in R, this can create problems
91
+#' when a single parameter is provided. Thus, this function
92
+#' wraps docopt to ensure that the args will always be
93
+#' interpretted as a vector.
94
95
#' @param doc `character` vector with command line specification
96
#' @param args `character` vector of commandline arguments.
0 commit comments