Skip to content

Commit 7229ea1

Browse files
billdenneyclaude
andcommitted
style: fix hanging indent in helper-fixtures.R
lintr's indentation_linter flagged three continuation lines that were indented one space too many (29 instead of 28, and 30 instead of 29). Corrected to align exactly with the opening parenthesis of each call. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent d12da5e commit 7229ea1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/testthat/helper-fixtures.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Minimal fixture CT table for unit tests — does not load package data
22
make_ct_fixture <- function(n_terms = 5L,
3-
valid_from = as.Date("2024-03-29"),
4-
valid_to = as.Date(NA)) {
3+
valid_from = as.Date("2024-03-29"),
4+
valid_to = as.Date(NA)) {
55
data.frame(
66
codelist_code = "C66731",
77
codelist_name = "SEX",
@@ -21,8 +21,8 @@ make_ct_fixture <- function(n_terms = 5L,
2121
# Fixture with two CT versions: an old row closed out and a new replacement
2222
make_versioned_ct_fixture <- function() {
2323
old_row <- make_ct_fixture(n_terms = 2L, valid_from = as.Date("2023-09-29"),
24-
valid_to = as.Date("2024-03-28"))
24+
valid_to = as.Date("2024-03-28"))
2525
new_row <- make_ct_fixture(n_terms = 3L, valid_from = as.Date("2024-03-29"),
26-
valid_to = as.Date(NA))
26+
valid_to = as.Date(NA))
2727
rbind(old_row, new_row)
2828
}

0 commit comments

Comments
 (0)