Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove wb_get_sheet_name #240

Merged
merged 5 commits into from
Jun 20, 2022
Merged

remove wb_get_sheet_name #240

merged 5 commits into from
Jun 20, 2022

Conversation

JanMarvin
Copy link
Owner

There is no real need for this function

@@ -3613,7 +3613,7 @@ wbWorkbook <- R6::R6Class(
ref1 = paste0("$", cols[1]),
ref2 = paste0("$", cols[2]),
name = "_xlnm.Print_Titles",
sheet = names(self)[[sheet]],
sheet = self$get_sheet_names()[[sheet]],
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wild guess, but maybe RGui was picking this up?

#' @param index Sheet name index
#' @return The sheet index
#' @export
wb_get_sheet_name = function(wb, index = NULL) {
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need a deprecated for this, @jmbarbone ?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I gave up. No need to clean this up right now

@JanMarvin JanMarvin merged commit 6778576 into main Jun 20, 2022
@JanMarvin JanMarvin deleted the rm_wb_get_sheet_names branch June 20, 2022 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant