styler (version 1.1.1)

start_comments_with_space: Start comments with a space

Description

Forces comments to start with a space, that is, after the regular expression "^#+'*", at least one space must follow if the comment is non-empty, i.e there is not just spaces within the comment. Multiple spaces may be legit for indention in some situations.

Usage

start_comments_with_space(pd, force_one = FALSE)

Arguments

pd

A parse table.

force_one

Whether or not to force one space or allow multiple spaces after the regex "^#+'*".