From b403887444b663d503f672b383323d6c1923f36c Mon Sep 17 00:00:00 2001 From: James McMahon Date: Mon, 18 Nov 2024 15:22:00 +0000 Subject: [PATCH] Add 'Windows' snapshot for `file_size()` deprecation --- tests/testthat/_snaps/windows/file_size.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/tests/testthat/_snaps/windows/file_size.md b/tests/testthat/_snaps/windows/file_size.md index bb84b21..a475cb3 100644 --- a/tests/testthat/_snaps/windows/file_size.md +++ b/tests/testthat/_snaps/windows/file_size.md @@ -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 + + 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 442 B + 7 stackloss.fst FST 897 B + 8 swiss.tsv TSV 1 kB +