Parallelise styling

Open
#277 19 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
r

Research direction

Start by tracing the style_pkg() functions and the pre-commit hook behavior. Review related issue #320 for the caching context. Done means styling is parallelised to improve speed while parallelism is disabled for the pre-commit hook.

Written by the indexing model from the issue text.

Description

Complexity: High Priority: Medium Status: Postponed Type: Infrastructure

Functions like style_pkg() could be parallelised well, at least in principle - and speed up styling much.

For pre-commit hook, we should probably disable this.


Edit: a related issue is caching of results to the end of improving speed. See #320.

Dominant language
R
Stars
773
Forks
74
PR merge metrics
No merged PRs in 30d

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.

More from r-lib/styler

All issues in r-lib/styler

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.