dput(openxlsx::read.xlsx("MergedCell_Example.xlsx", fillMergedCells = TRUE)) (see attached file below) would give the following output (if stringsAsFactors = FALSE and check.names = FALSE are used when creating the data frame):
structure(list(Hello = "A", World = 1, World = 2, World = 3), .Names = c("Hello", "World", "World", "World"), row.names = c(NA, -1L), class = "data.frame")
Actual Behavior
Error in read.xlsx.default("MergedCell_Example.xlsx", fillMergedCells = TRUE) : Not implemented
Expected Behavior
dput(openxlsx::read.xlsx("MergedCell_Example.xlsx", fillMergedCells = TRUE))
(see attached file below) would give the following output (if stringsAsFactors = FALSE and check.names = FALSE are used when creating the data frame):structure(list(Hello = "A", World = 1, World = 2, World = 3), .Names = c("Hello", "World", "World", "World"), row.names = c(NA, -1L), class = "data.frame")
Actual Behavior
Error in read.xlsx.default("MergedCell_Example.xlsx", fillMergedCells = TRUE) : Not implemented
Steps to Reproduce the Problem
Put MergedCell_Example.xlsx in your working directory.
Execute
dput(openxlsx::read.xlsx("MergedCell_Example.xlsx", fillMergedCells = TRUE))
sessionInfo()