Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Nov 21, 2024
1 parent 2eeaa7e commit f66fc2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/find_formula.R
Original file line number Diff line number Diff line change
Expand Up @@ -2001,7 +2001,7 @@ find_formula.model_fit <- function(x, verbose = TRUE, ...) {
make.names(bad_name),
"` instead of `",
bad_name,
"`) and re-fit the model." # nolint
"`) and fit the model again." # nolint
))
}
return(FALSE)
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-backticks.R
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ withr::with_environment(
list(conditional = c("Petal.Length", "a m", "Sepal.Length"))
)
expect_identical(
find_variables(m),
find_variables(m, verbose = FALSE),
list(
response = "Sepal Width",
conditional = c("Petal.Length", "a m", "Sepal.Length")
)
)
expect_identical(
find_terms(m),
find_terms(m) verbose = FALSE),

Check warning on line 79 in tests/testthat/test-backticks.R

View workflow job for this annotation

GitHub Actions / lint-changed-files / lint-changed-files

file=tests/testthat/test-backticks.R,line=79,col=21,[error] unexpected symbol
list(
response = "Sepal Width",
conditional = c("Petal.Length", "a m", "log(Sepal.Length)")
Expand Down

0 comments on commit f66fc2d

Please sign in to comment.