From b4653dcf50537d81a28d14d8e2c718954c1b9ebf Mon Sep 17 00:00:00 2001
From: JanMarvin
completely empty
# erase empty rows from dataset
-wb_to_df(file, sheet = 1, skip_empty_rows = TRUE) |> tail()
+wb_to_df(file, sheet = 1, skip_empty_rows = TRUE) %>% tail()
#> Var1 Var2 NA Var3 Var4 Var5 Var6 Var7 Var8
#> 6 FALSE 2 NA <NA> #NUM! <NA> <NA> 2 17:24:53
#> 7 FALSE 3 NA 1.56 e <NA> <NA> <NA> <NA>
diff --git a/dev/pkgdown.yml b/dev/pkgdown.yml
index fcf95224a..54fa1b4b5 100644
--- a/dev/pkgdown.yml
+++ b/dev/pkgdown.yml
@@ -9,7 +9,7 @@ articles:
openxlsx2_style_manual: openxlsx2_style_manual.html
openxlsx2: openxlsx2.html
Update-from-openxlsx: Update-from-openxlsx.html
-last_built: 2024-12-16T19:26Z
+last_built: 2024-12-17T16:06Z
urls:
reference: https://janmarvin.github.io/openxlsx2/reference
article: https://janmarvin.github.io/openxlsx2/articles
diff --git a/dev/reference/wbWorkbook.html b/dev/reference/wbWorkbook.html
index b1c1ae3d8..8d0fa62ad 100644
--- a/dev/reference/wbWorkbook.html
+++ b/dev/reference/wbWorkbook.html
@@ -233,6 +233,10 @@ Public fieldsExamples add_data_table(
x = as.data.frame(USPersonalExpenditure),
row_names = TRUE,
- total_row = c(text = "Total", "none", "sum", "sum", "sum", "SUM")
+ total_row = c(text = "Total", "none", "sum", "sum", "sum", "SUM"),
+ stringsAsFactors = FALSE
)
+#> Warning: unused arguments (strings_as_factors)