Skip to content

Commit

Permalink
leave out scoped names when cloning
Browse files Browse the repository at this point in the history
  • Loading branch information
spoltier committed Mar 12, 2024
1 parent bf847c9 commit 74ebb4a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Binary file modified inst/java/XLConnect-3.0.0-SNAPSHOT.jar
Binary file not shown.
1 change: 0 additions & 1 deletion inst/unitTests/runit.workbook.cloneSheet.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ test.workbook.cloneSheet <- function() {
# Check cloning of worksheet (*.xls)
checkNoException(cloneSheet(wb.xls, sheet = "Test1", name = "Clone1"))
checkNoException(readWorksheet(wb.xls, sheet = "Clone1"))
checkNoException(readNamedRegion(wb.xls, 'testName', worksheetScope = 'Clone1'))

# Check cloning of worksheet (*.xlsx)
checkNoException(cloneSheet(wb.xlsx, sheet = "Test1", name = "Clone1"))
Expand Down
4 changes: 4 additions & 0 deletions man/cloneSheet-methods.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ Clones (copies) a worksheet in a \code{\linkS4class{workbook}}.
is the name of an already existing worksheet.}
}

\details{
The cloning operation does not handle any worksheet-scoped named ranges present on the original \code{sheet}.
}

\author{
Martin Studer\cr
Mirai Solutions GmbH \url{https://mirai-solutions.ch}
Expand Down

0 comments on commit 74ebb4a

Please sign in to comment.