Skip to content

Commit f832b54

Browse files
committed
lintr fixes
1 parent d7c91dc commit f832b54

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tests/testthat/test-code_dependency.R

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ testthat::test_that("get_code_dependency warns if binding doesn't exist in a cod
2424
})
2525

2626

27-
testthat::test_that("get_code_dependency extracts code of a parent binding but only those evaluated before coocurence", {
27+
testthat::test_that(
28+
"get_code_dependency extracts code of a parent binding but only those evaluated before coocurence", {
2829
q <- c(
2930
"a <- 1",
3031
"b <- a",
@@ -85,7 +86,8 @@ testthat::test_that("@linksto tag indicate affected object if object is assigned
8586
})
8687

8788

88-
testthat::test_that("get_code_dependency can extract the code when function creates an object which is used only on rhs", {
89+
testthat::test_that(
90+
"get_code_dependency can extract the code when function creates an object which is used only on rhs", {
8991
q <- c(
9092
"data(iris)",
9193
"iris2 <- head(iris)"
@@ -183,7 +185,8 @@ testthat::test_that(
183185
)
184186

185187
testthat::test_that(
186-
"lines affecting parent evaluated after co-occurrence are not included in get_code_dependency output when using @linksto",
188+
"lines affecting parent evaluated after co-occurrence are not included in get_code_dependency output
189+
when using @linksto",
187190
{
188191
q <- c(
189192
"a <- 1 ",

0 commit comments

Comments
 (0)