Restore one \code{} block that contains inner backticks

This commit is contained in:
trestletech
2019-06-19 15:38:47 -05:00
parent 4e57bc2161
commit 631debbec4
2 changed files with 3 additions and 5 deletions

View File

@@ -521,8 +521,8 @@ installExprFunction <- function(expr, name, eval.env = parent.frame(2),
#' contains pairs of square brackets `[]`. For example, the query
#' \samp{a[i1][j1]=x&b[i1][j1]=y&b[i2][j1]=z} will be parsed as `list(a =
#' list(i1 = list(j1 = 'x')), b = list(i1 = list(j1 = 'y'), i2 = list(j1 =
#' 'z')))` when `nested = TRUE`, and `list(`a[i1][j1]` = 'x',
#' `b[i1][j1]` = 'y', `b[i2][j1]` = 'z')` when `nested = FALSE`.
#' 'z')))` when `nested = TRUE`, and \code{list(`a[i1][j1]` = 'x',
#' `b[i1][j1]` = 'y', `b[i2][j1]` = 'z')} when `nested = FALSE`.
#' @export
#' @examples
#' parseQueryString("?foo=1&bar=b%20a%20r")

View File

@@ -11,9 +11,7 @@ parseQueryString(str, nested = FALSE)
\item{nested}{Whether to parse the query string of as a nested list when it
contains pairs of square brackets \code{[]}. For example, the query
\samp{a[i1][j1]=x&b[i1][j1]=y&b[i2][j1]=z} will be parsed as \code{list(a =
list(i1 = list(j1 = 'x')), b = list(i1 = list(j1 = 'y'), i2 = list(j1 =
'z')))} when \code{nested = TRUE}, and \code{list(`a[i1][j1]` = 'x',
\samp{a[i1][j1]=x&b[i1][j1]=y&b[i2][j1]=z} will be parsed as \code{list(a = list(i1 = list(j1 = 'x')), b = list(i1 = list(j1 = 'y'), i2 = list(j1 = 'z')))} when \code{nested = TRUE}, and \code{list(`a[i1][j1]` = 'x',
`b[i1][j1]` = 'y', `b[i2][j1]` = 'z')} when \code{nested = FALSE}.}
}
\description{