I get a false positive error for mismatched braces when a string assignment in an example contains a brace:
#' @title some title
#' @examples
#' library(magrittr)
#' "\\rtlch\\fcs1 \\af1\\afs20\\alang1025 \\ltrch\\fcs0 \\fs20\\cf1\\lang1033\\langfe1033\\loch\\af1\\hich\\af1\\dbch\\af31505\\cgrid\\langnp1033\\langfenp1033 {\\rtlch\\fcs1 \\ab\\af1 \\ltrch\\fcs0 \\b\\insrsid2429293 0\\tab \\hich\\af1\\dbch\\af31505\\loch\\f1 unspecified" %>% parseFifthDigitDef
parseFifthDigitDef <- function(x) x
Escaping the brace makes it work, but at the expense of changing my string.
I get a false positive error for mismatched braces when a string assignment in an example contains a brace:
Escaping the brace makes it work, but at the expense of changing my string.