Skip to content

always use explicit arguments - #137

Merged
rafapereirabr merged 2 commits into
mainfrom
dev
Nov 1, 2026
Merged

rafapereirabr merged 2 commits into
mainfrom
dev

Conversation

@rafapereirabr

Copy link
Copy Markdown
Collaborator

No description provided.

rafapereirabr and others added 2 commits November 1, 2026 15:46
Adds a CLAUDE.md rule that R function calls never use positional
arguments, and applies it to the code and tests this branch added:
every call names its arguments (values passed through ... stay
unnamed), long calls are split one argument per line, and long
test_that() headers use desc = and code = on their own lines. The
string_to_seconds() mock in test-get_trip_duration.R now uses the
real argument name. set_min_speed() docs are rewrapped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rafapereirabr
rafapereirabr merged commit 105690e into main Nov 1, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant