From 08c6db02e10afb45f31579c5b4c8c4ea2dcdbb3b Mon Sep 17 00:00:00 2001 From: Jan Marvin Garbuszus Date: Sat, 2 Dec 2023 11:03:46 +0100 Subject: [PATCH] [ignore_error] Ignore error returned a worksheet (#865) * Begin new development * [ignore_error] return a wbWorkbook --- DESCRIPTION | 2 +- NEWS.md | 11 +++++++++++ R/class-workbook.R | 1 + 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 5cf0cc2dc..d4835ad47 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: openxlsx2 Title: Read, Write and Edit 'xlsx' Files -Version: 1.2 +Version: 1.2.0.9000 Language: en-US Authors@R: c( person("Jordan Mark", "Barbone", email = "jmbarbone@gmail.com", role = "aut", comment = c(ORCID = "0000-0001-9788-3628")), diff --git a/NEWS.md b/NEWS.md index e77c84c99..f6a1c72d1 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,13 @@ +# openxlsx2 (development version) + +## Fixes + +* `wb_add_ignore_error()` now returns a `wbWorkbook` + + +*************************************************************************** + + # openxlsx2 1.2 ## New features @@ -14,6 +24,7 @@ * Options `openxlsx2.maxWidth` and `openxlsx2.minWidth` are now respected as documented when setting column widths with `wb_set_col_widths()`. [847](https://github.com/JanMarvin/openxlsx2/issues/847) + *************************************************************************** diff --git a/R/class-workbook.R b/R/class-workbook.R index 92000d503..788af6f04 100644 --- a/R/class-workbook.R +++ b/R/class-workbook.R @@ -7355,6 +7355,7 @@ wbWorkbook <- R6::R6Class( twoDigitTextYear = two_digit_text_year, unlockedFormula = unlocked_formula ) + invisible(self) }, #' @description add sheetview