Skip to content

Commit

Permalink
style: one line function divided in more lines
Browse files Browse the repository at this point in the history
  • Loading branch information
averissimo committed Jan 17, 2024
1 parent 1eb4ac5 commit 80bddf9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/testthat/test-write.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
data_to_save <- function() minimal_table(cols = c("e", "b", "x")) %>% rename_with(toupper) %>% as_tibble()
data_to_save <- function() {
minimal_table(cols = c("e", "b", "x")) %>%
rename_with(toupper) %>%
as_tibble()
}

test_that("xportr_write: exported data can be saved to a file", {
skip_if_not_installed("withr")
Expand Down

0 comments on commit 80bddf9

Please sign in to comment.