From db73743f2cfeea735d30e66235f646340bf4334d Mon Sep 17 00:00:00 2001 From: Jan Marvin Garbuszus Date: Thu, 20 Jul 2023 06:24:06 +0200 Subject: [PATCH] address comments --- R/class-comment.R | 5 +---- R/class-workbook.R | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/R/class-comment.R b/R/class-comment.R index 41235bc7f..9b23ee8dd 100644 --- a/R/class-comment.R +++ b/R/class-comment.R @@ -172,12 +172,11 @@ create_comment <- function(text, } #' Internal comment functions -#' +#' #' Users are advised to use [wb_add_comment()] and [wb_remove_comment()] #' @name comment_internal NULL -#' @name write_comment #' @rdname comment_internal #' @param wb A workbook object #' @param sheet A vector of names or indices of worksheets @@ -341,8 +340,6 @@ write_comment <- function( invisible(wb) } - -#' @name remove_comment #' @rdname comment_internal #' @param gridExpand If `TRUE`, all data in rectangle min(rows):max(rows) X min(cols):max(cols) #' will be removed. diff --git a/R/class-workbook.R b/R/class-workbook.R index af7cabd54..0f282cd87 100644 --- a/R/class-workbook.R +++ b/R/class-workbook.R @@ -3594,7 +3594,7 @@ wbWorkbook <- R6::R6Class( rows <- ddims[[2]] cols <- ddims[[1]] - + sheet <- private$get_sheet_index(sheet) self$worksheets[[sheet]]$unmerge_cells( rows = rows,