check correct usage of `LENGTH`/`length` in C code

Open
#6,877 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Quiet
Tech stack
c
Domain
data

Research direction

Review the more than 200 C-code uses of LENGTH() and compare them with the lowercase length usage mentioned in the issue. Identify only obvious fixes suitable for the patch release, verify the rationale for each change, and file a follow-up for any broader review that is not completed.

Written by the indexing model from the issue text.

Description

code-quality consistency
          Are any of the other >200 places we use `LENGTH()` worth changing too? (maybe glance through now if anything looks like an obvious fix to put in the patch release, and file a follow-up to go through more carefully in the future)

Originally posted by @MichaelChirico in https://github.com/Rdatatable/data.table/pull/6875#discussion_r2004836969

Dominant language
R
Stars
3.9k
Forks
1.1k
Avg merge
14h 4m
Merged PRs (30d)
4

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 Rdatatable/data.table

All issues in Rdatatable/data.table

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.