[Rd] tools::parseLatex() crashes on "\\verb{}"

Antoine Fabri @nto|ne@|@br| @end|ng |rom gm@||@com
Thu Jul 20 21:41:44 CEST 2023


Dear r-devel,

I've tried tools::parseLatex() to parse some documentation files, it works
generally well but it  it has some issues when "\\verb{}" is used.

```
tools::parseLatex("\\code{hello}")
# \code{hello}
tools::parseLatex("\\anything{hello}")
# \anything{hello}
tools::parseLatex("\\verb{hello}")
# crashes the session
```

Thanks,

Antoine

	[[alternative HTML version deleted]]



More information about the R-devel mailing list