Skip to content

Commit

Permalink
Set stringsAsFactors to FALSE in create_a11ytable
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-dray committed Nov 9, 2023
1 parent c3bfc0d commit e5f9e22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/a11ytable.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ create_a11ytable <- function(
sheet_type = unlist(sheet_types),
sheet_title = unlist(sheet_titles),
blank_cells = unlist(blank_cells),
source = unlist(sources)
source = unlist(sources),
stringsAsFactors = FALSE # because default is TRUE prior to R v4
)

x[["table"]] <- tables
Expand Down

0 comments on commit e5f9e22

Please sign in to comment.