paren_body_linter | R Documentation |
Check that there is a space between right parenthesis and a body expression.
paren_body_linter()
default, readability, style
linters for a complete list of linters available in lintr.
# will produce lints
lint(
text = "function(x)x + 1",
linters = paren_body_linter()
)
# okay
lint(
text = "function(x) x + 1",
linters = paren_body_linter()
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.