r-lib / downlit

Syntax Highlighting and Automatic Linking
https://downlit.r-lib.org
Other
90 stars 22 forks source link

help autolinking fails if first argument is a call #77

Closed hadley closed 3 years ago

hadley commented 3 years ago
downlit::autolink("help(a$b)")
#> Error in if (has_name(index, topic)) {: the condition has length > 1

Created on 2021-02-19 by the reprex package (v1.0.0)

hadley commented 3 years ago

Fixed in bc951f39f007678cdbaf3880f02d362792fa59b0