Skip to content

Commit

Permalink
fixes for R 3.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
JanMarvin committed Aug 10, 2023
1 parent e9b947a commit 5a29bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/wb_load.R
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ wb_load <- function(
} else if (sheets$typ[i] == "worksheet") {
content_type <- read_xml(ContentTypesXML)
override <- xml_attr(content_type, "Types", "Override")
overrideAttr <- as.data.frame(do.call("rbind", override))
overrideAttr <- as.data.frame(do.call("rbind", override), stringsAsFactors = FALSE)
xmls <- basename(unlist(overrideAttr$PartName))
drawings <- grep("drawing", xmls, value = TRUE)
wb$add_worksheet(sheets$name[i], visible = is_visible[i], has_drawing = !is.na(drawings[i]))
Expand Down

0 comments on commit 5a29bcb

Please sign in to comment.