Skip to content

Commit

Permalink
Add 'UNIX' snapshot for file_size() deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
Moohan committed Nov 18, 2024
1 parent 5ffb027 commit 98028cf
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tests/testthat/_snaps/UNIX/file_size.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,24 @@
1 airquality.xls Excel 26 kB
2 bod.xlsx Excel 5 kB

# file_size is deprecated

Code
file_size(test_path("files"))
Condition
Warning:
`file_size()` was deprecated in phsmethods 1.1.0.
i We think it is redundant, but if you still have a need for this function, please get in touch.
Output
# A tibble: 8 x 2
name size
<chr> <chr>
1 airquality.xls Excel 26 kB
2 bod.xlsx Excel 5 kB
3 iris.csv CSV 4 kB
4 mtcars.sav SPSS 4 kB
5 plant-growth.rds RDS 316 B
6 puromycin.txt Text 418 B
7 stackloss.fst FST 897 B
8 swiss.tsv TSV 1 kB

0 comments on commit 98028cf

Please sign in to comment.