posit-dev / posit-dev/air

Put a space after a comma?

Open
#330 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
446
Forks
32
Avg merge
16h 48m
Merged PRs (30d)
1

Description

Air formats

mtcars[, ]

to

mtcars[,]

It conflicts lintr's commas linter.
https://lintr.r-lib.org/reference/commas_linter.html

Found in eitsupi/neo-r-polars#330

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the formatting of mtcars[, ] and compare it with the output mtcars[,]. Read the linked lintr commas linter documentation to understand the conflicting expectation; done means Air's formatting behavior is compatible with that linter rule.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.