Skip to content

Commit

Permalink
Updated example to better illustrate example in helpfile
Browse files Browse the repository at this point in the history
  • Loading branch information
fontikar committed Aug 15, 2024
1 parent 39333c9 commit 7513c25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/read_excel.R
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ NULL
#' read_excel(datasets, col_types = "text")
#'
#' # Specify some col_types and guess others
#' read_excel(datasets, col_types = rep("guess", 11))
#' read_excel(readxl_example("deaths.xlsx"), skip = 4, n_max = 10, col_names = TRUE,
#' col_types = c("text", "text", "guess", "guess", "guess", "guess"))
#'
#' # Accomodate a column with disparate types via col_type = "list"
#' df <- read_excel(readxl_example("clippy.xlsx"), col_types = c("text", "list"))
Expand Down
Binary file modified inst/extdata/deaths.xls
Binary file not shown.

0 comments on commit 7513c25

Please sign in to comment.