Skip to content

Commit

Permalink
fix: let the package be used with R < 4
Browse files Browse the repository at this point in the history
see #551
  • Loading branch information
davidgohel committed Feb 8, 2024
1 parent dbb27fa commit ededfc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: officer
Type: Package
Title: Manipulation of Microsoft Word and PowerPoint Documents
Version: 0.6.4
Version: 0.6.5.001
Authors@R: c(
person("David", "Gohel", role = c("aut", "cre"), email = "david.gohel@ardata.fr"),
person("Stefan", "Moog", role = "aut", email = 'moogs@gmx.de'),
Expand Down
2 changes: 1 addition & 1 deletion R/docx_comments.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ docx_comments <- function(x) {
), "id"
)

comment_text_runs <- lapply(comment_ids, \(id) {
comment_text_runs <- lapply(comment_ids, function(id) {
xml_find_all(
x$doc_obj$get(),
paste0(
Expand Down

0 comments on commit ededfc0

Please sign in to comment.