is_shebang {styler} | R Documentation |
Shebangs should be preserved and no space should be inserted between
#
and !
. A comment is a shebang if it is the first top-level token
(identified with pos_id
) and if it starts with #!
.
is_shebang(pd)
pd |
A parse table. |
style_text("#!/usr/bin/env Rscript")