Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/compat-lifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
Code
foreign_caller_env()
Output
<environment: 0x11296c7d8>
<environment: 0x561033fd6cf8>

2 changes: 1 addition & 1 deletion tests/testthat/_snaps/compat-purrr.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
negate()
Output
function(...) !.p(...)
<environment: 0x1371d6510>
<environment: 0x561032f6ce30>

10 changes: 10 additions & 0 deletions tests/testthat/_snaps/show_source.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# `set_show_source_hooks()` snapshot test

Code
set_show_source_hooks()

# `set_show_source_source_hook()` snapshot test

Code
set_show_source_source_hook()

62 changes: 62 additions & 0 deletions tests/testthat/_snaps/styles.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# `keep_empty()` snapshot test

Code
keep_empty()
Output
function(x) {
ret <- rep_along(x, "")
update <- which(is.na(x) | x != "")
ret[update] <- fun(x[update])
ret
}
<environment: 0x56103b006540>

# `pillar_na()` snapshot test

Code
pillar_na()
Output
[1] "NA"

# `has_color()` snapshot test

Code
has_color()
Output
[1] FALSE

# `crayon_underline()` snapshot test

Code
crayon_underline()
Output
character(0)

# `crayon_italic()` snapshot test

Code
crayon_italic()
Output
character(0)

# `crayon_red()` snapshot test

Code
crayon_red()
Output
character(0)

# `crayon_yellow()` snapshot test

Code
crayon_yellow()
Output
character(0)

# `crayon_bold()` snapshot test

Code
crayon_bold()
Output
character(0)

7 changes: 7 additions & 0 deletions tests/testthat/_snaps/tbl-format-footer.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# `format_footer_advice()` snapshot test

Code
format_footer_advice()
Output
NULL

# tbl_format_footer() results

Code
Expand Down
7 changes: 7 additions & 0 deletions tests/testthat/_snaps/tbl-format.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# `wrap()` snapshot test

Code
wrap()
Output
[1] ""

# format() reacts on cli.num_colors option

Code
Expand Down
7 changes: 7 additions & 0 deletions tests/testthat/_snaps/tbl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# `new_tbl()` snapshot test

Code
new_tbl()
Output
# A data frame: 0 x 0

28 changes: 28 additions & 0 deletions tests/testthat/_snaps/utils.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# `cat_line()` snapshot test

Code
cat_line()
Output


# `get_ellipsis()` snapshot test

Code
get_ellipsis()
Output
[1] "~"

# `is_latex_output()` snapshot test

Code
is_latex_output()
Output
[1] FALSE

# `superdigit_sep_default()` snapshot test

Code
superdigit_sep_default()
Output
[1] ": "