Skip to content
New issue

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

Add examples to documentation: Part-6 (o-p) #1664

Merged
merged 10 commits into from
Oct 11, 2022
Merged

Conversation

IndrajeetPatil
Copy link
Collaborator

Part of #1492

R/paste_linter.R Outdated
#' )
#'
#' lint(
#' text = "paste0(rep('*', 10L), collapse='')",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's use collapse = '' to be closer to the style guide

(I guess that means maybe we should switch to using " in the code too? WDYT?)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, yes, that's a good point.

I have changed this particular example here, but I will make a separate PR to change all the existing examples to make sure that they all follow the style guide.

@codecov-commenter
Copy link

codecov-commenter commented Oct 11, 2022

Codecov Report

Merging #1664 (9a8a454) into main (ab8b77d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1664   +/-   ##
=======================================
  Coverage   98.70%   98.70%           
=======================================
  Files         102      102           
  Lines        4474     4474           
=======================================
  Hits         4416     4416           
  Misses         58       58           
Impacted Files Coverage Δ
R/assignment_linter.R 100.00% <ø> (ø)
R/brace_linter.R 100.00% <ø> (ø)
R/empty_assignment_linter.R 100.00% <ø> (ø)
R/function_return_linter.R 100.00% <ø> (ø)
R/infix_spaces_linter.R 100.00% <ø> (ø)
R/object_name_linters.R 100.00% <ø> (ø)
R/object_usage_linter.R 94.88% <ø> (ø)
R/outer_negation_linter.R 100.00% <ø> (ø)
R/package_hooks_linter.R 100.00% <ø> (ø)
R/paren_body_linter.R 100.00% <ø> (ø)
... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@IndrajeetPatil IndrajeetPatil merged commit 86a7e25 into main Oct 11, 2022
@IndrajeetPatil IndrajeetPatil deleted the 1492_examples_o branch October 11, 2022 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants