Skip to content

Commit c65eedc

Browse files
committed
chore: fix some annoying formatting
1 parent b47dbce commit c65eedc

File tree

1 file changed

+4
-96
lines changed

1 file changed

+4
-96
lines changed

tests/testthat/test-standardize_models.R

Lines changed: 4 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -82,103 +82,11 @@ test_that("transformations", {
8282
ignore_attr = TRUE
8383
)
8484

85+
# fmt: skip
8586
d <- data.frame(
86-
time = as.factor(c(
87-
1,
88-
2,
89-
3,
90-
4,
91-
5,
92-
1,
93-
2,
94-
3,
95-
4,
96-
5,
97-
1,
98-
2,
99-
3,
100-
4,
101-
5,
102-
1,
103-
2,
104-
3,
105-
4,
106-
5,
107-
1,
108-
2,
109-
3,
110-
4,
111-
5,
112-
1,
113-
2,
114-
3,
115-
4,
116-
5
117-
)),
118-
group = c(
119-
1,
120-
1,
121-
1,
122-
1,
123-
1,
124-
2,
125-
2,
126-
2,
127-
2,
128-
2,
129-
1,
130-
1,
131-
1,
132-
1,
133-
1,
134-
2,
135-
2,
136-
2,
137-
2,
138-
2,
139-
1,
140-
1,
141-
1,
142-
1,
143-
1,
144-
2,
145-
2,
146-
2,
147-
2,
148-
2
149-
),
150-
sum = c(
151-
0,
152-
5,
153-
10,
154-
15,
155-
20,
156-
0,
157-
20,
158-
25,
159-
45,
160-
50,
161-
0,
162-
5,
163-
10,
164-
15,
165-
20,
166-
0,
167-
20,
168-
25,
169-
45,
170-
50,
171-
0,
172-
5,
173-
10,
174-
15,
175-
20,
176-
0,
177-
20,
178-
25,
179-
45,
180-
50
181-
) # nolint
87+
time = factor(rep(c("1", "2", "3", "4", "5"), 6)),
88+
group = rep(rep(c(1, 2), 3), each = 5L),
89+
sum = rep(c(0, 5, 10, 15, 20, 0, 20, 25, 45, 50), 3)
18290
)
18391
m <- lm(log(sum + 1) ~ as.numeric(time) * group, data = d)
18492

0 commit comments

Comments
 (0)