We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following should be allowed (ref: https://style.tidyverse.org/functions.html#long-lines-1 doesn't mention R6):
R6Class("MyClass", public = list( param = NULL, initialize = function( my_long_parameter = getOption("default_long_parameter", 1)) { self$param <- my_long_parameter } ) )
But it's currently re-styled (style_text() output):
style_text()
R6Class("MyClass", public = list( param = NULL, initialize = function(my_long_parameter = getOption("default_long_parameter", 1)) { self$param <- my_long_parameter } ) )
Which of course creates an over-full line.
The text was updated successfully, but these errors were encountered:
Seems like detection of double indention is based on the absolute indention of the formals, instead of the relative...
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The following should be allowed (ref: https://style.tidyverse.org/functions.html#long-lines-1 doesn't mention R6):
But it's currently re-styled (
style_text()
output):Which of course creates an over-full line.
The text was updated successfully, but these errors were encountered: