Skip to content

Commit 9903efd

Browse files
committed
style: styler (GHA)
1 parent 9b72411 commit 9903efd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

R/patch.R

+8-8
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,21 @@
2828
#'
2929
#' # On numeric vectors:
3030
#' approx_equal(
31-
#' c(1, 2 , 3, NA),
31+
#' c(1, 2, 3, NA),
3232
#' c(1, 2 + 1e-10, NA, NA),
3333
#' na_equal = TRUE,
3434
#' abs_tol = 1e-8
3535
#' )
3636
#'
3737
#' # On tibbles:
3838
#' tbl1 <- tibble(
39-
#' a = 1:5,
40-
#' b = list(1:5, 1:4, 1:3, 1:2, 1:1) %>% lapply(as.numeric),
41-
#' c = tibble(
42-
#' c1 = 1:5
43-
#' ),
44-
#' d = matrix(1:10, 5, 2)
45-
#' )
39+
#' a = 1:5,
40+
#' b = list(1:5, 1:4, 1:3, 1:2, 1:1) %>% lapply(as.numeric),
41+
#' c = tibble(
42+
#' c1 = 1:5
43+
#' ),
44+
#' d = matrix(1:10, 5, 2)
45+
#' )
4646
#' tbl2 <- tbl1
4747
#' tbl2$a[[2]] <- tbl1$a[[2]] + 1e-10
4848
#' tbl2$b[[3]][[1]] <- tbl1$b[[3]][[1]] + 1e-10

0 commit comments

Comments
 (0)